Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 293 MB / 309 MB, free: 4.816 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 180.5 kB / 378.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.4 MB / 0.6383 GB, free: 9.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007657/0.0007658, allocations: 97.31 kB / 0.7527 GB, free: 62.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004047, allocations: 15.98 kB / 0.8768 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 116.4 MB / 0.9904 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.942/6.232, allocations: 2.413 GB / 3.403 GB, free: 161.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/6.232, allocations: 104 kB / 3.403 GB, free: 161.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.5/14.73, allocations: 2.314 GB / 5.718 GB, free: 47.12 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.076e-06/14.73, allocations: 0 / 5.718 GB, free: 47.12 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001336/14.73, allocations: 179.8 kB / 5.718 GB, free: 46.94 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1169 * Number of variables: 1169 Notification: Performance of Generate backend data structure: time 0.02702/14.76, allocations: 7.513 MB / 5.725 GB, free: 39.32 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/14.76, allocations: 8.031 kB / 5.725 GB, free: 39.31 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/14.78, allocations: 2.31 MB / 5.727 GB, free: 36.99 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02378/14.8, allocations: 7.662 MB / 5.735 GB, free: 29.25 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006658/14.8, allocations: 409.1 kB / 5.735 GB, free: 28.84 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002492/14.8, allocations: 483.9 kB / 5.736 GB, free: 28.37 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/14.82, allocations: 5.942 MB / 5.741 GB, free: 22.18 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003108/14.82, allocations: 11.84 kB / 5.741 GB, free: 22.17 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002017/14.82, allocations: 196 kB / 5.742 GB, free: 21.98 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001911/14.82, allocations: 184.7 kB / 5.742 GB, free: 21.8 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/14.84, allocations: 5.448 MB / 5.747 GB, free: 16.33 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05107/14.89, allocations: 23.56 MB / 5.77 GB, free: 7.734 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/14.9, allocations: 4.529 MB / 5.775 GB, free: 3.137 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005216/14.91, allocations: 1.996 MB / 5.777 GB, free: 1.129 MB / 1.026 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.02676/14.94, allocations: 9.857 MB / 5.786 GB, free: 6.688 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006087/14.94, allocations: 2.262 MB / 5.788 GB, free: 4.383 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004343/14.95, allocations: 0.6023 MB / 5.789 GB, free: 3.777 MB / 1.042 GB Notification: Performance of pre-optimization done (n=316): time 1.602e-05/14.95, allocations: 0 / 5.789 GB, free: 3.777 MB / 1.042 GB Notification: Performance of matching and sorting (n=320): time 0.697/15.64, allocations: 13.02 MB / 5.802 GB, free: 104.3 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/15.64, allocations: 371.7 kB / 5.802 GB, free: 103.9 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01478/15.66, allocations: 4.799 MB / 5.807 GB, free: 103.5 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001631/15.66, allocations: 109.8 kB / 5.807 GB, free: 103.5 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.004188/15.66, allocations: 2.753 MB / 5.81 GB, free: 102.9 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001768/15.67, allocations: 1.074 MB / 5.811 GB, free: 102.3 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/15.67, allocations: 77.75 kB / 5.811 GB, free: 102.3 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002833/15.67, allocations: 455.8 kB / 5.811 GB, free: 102 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004792/15.67, allocations: 1.688 MB / 5.813 GB, free: 102 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005291/15.68, allocations: 2.783 MB / 5.815 GB, free: 100.8 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009235/15.69, allocations: 4.287 MB / 5.82 GB, free: 99.9 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.28e-05/15.69, allocations: 9.406 kB / 5.82 GB, free: 99.9 MB / 1.042 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01674/15.7, allocations: 5.664 MB / 5.825 GB, free: 99.44 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000491/15.7, allocations: 0.8345 MB / 5.826 GB, free: 98.46 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.222e-05/15.7, allocations: 24.83 kB / 5.826 GB, free: 98.46 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004705/15.71, allocations: 1.157 MB / 5.827 GB, free: 98.41 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004712/15.71, allocations: 0.834 MB / 5.828 GB, free: 98.41 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006721/15.72, allocations: 6.421 MB / 5.834 GB, free: 93.71 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007012/15.73, allocations: 496.2 kB / 5.835 GB, free: 93.69 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/15.73, allocations: 201.7 kB / 5.835 GB, free: 93.69 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/15.73, allocations: 4.5 kB / 5.835 GB, free: 93.69 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0155/15.74, allocations: 5.11 MB / 5.84 GB, free: 93.54 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.327e-05/15.74, allocations: 23.69 kB / 5.84 GB, free: 93.54 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004491/15.75, allocations: 1.171 MB / 5.841 GB, free: 93.49 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004182/15.75, allocations: 0.8226 MB / 5.842 GB, free: 93.49 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006387/15.76, allocations: 6.422 MB / 5.848 GB, free: 88.79 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006908/15.77, allocations: 463 kB / 5.849 GB, free: 88.78 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/15.77, allocations: 199.8 kB / 5.849 GB, free: 88.78 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 110 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition3,$PRE.timTab.nextTimeEvent,$whenCondition2,$whenCondition1,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y,$PRE.hysteresis.y,hysteresis.y,and1.y,and2.y,$PRE.tesConHea.y,tesConHea.y,$PRE.tesEvaPum.y,tesEvaPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (432): * Single equations (assignments): 424 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 5 {1 4,2 19,1 4,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004857/15.77, allocations: 1.582 MB / 5.85 GB, free: 88.58 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001636/15.77, allocations: 0.5453 MB / 5.851 GB, free: 88.3 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/15.79, allocations: 5.817 MB / 5.857 GB, free: 87.52 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.951e-05/15.79, allocations: 38.66 kB / 5.857 GB, free: 87.52 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/15.79, allocations: 3.062 kB / 5.857 GB, free: 87.52 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01072/15.8, allocations: 4.636 MB / 5.861 GB, free: 86.71 MB / 1.042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02943/15.83, allocations: 11.43 MB / 5.872 GB, free: 85.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/15.83, allocations: 2.406 kB / 5.872 GB, free: 85.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/15.83, allocations: 0.6383 MB / 5.873 GB, free: 85.36 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/15.83, allocations: 0.9012 MB / 5.874 GB, free: 85.28 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000553/15.83, allocations: 119 kB / 5.874 GB, free: 85.28 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00828/15.84, allocations: 12.02 MB / 5.886 GB, free: 74.93 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/15.84, allocations: 3.281 kB / 5.886 GB, free: 74.93 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02517/15.87, allocations: 8.026 MB / 5.893 GB, free: 73.7 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004333/15.87, allocations: 1.141 MB / 5.895 GB, free: 73.31 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002393/15.87, allocations: 76.34 kB / 5.895 GB, free: 73.31 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006573/15.88, allocations: 424 kB / 5.895 GB, free: 73.3 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00123/15.88, allocations: 272 kB / 5.895 GB, free: 73.3 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00104/15.88, allocations: 166.7 kB / 5.895 GB, free: 73.3 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.008876/15.89, allocations: 3.22 MB / 5.899 GB, free: 73.12 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.21e-07/15.89, allocations: 0.8438 kB / 5.899 GB, free: 73.12 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.01747/15.91, allocations: 3.017 MB / 5.902 GB, free: 73.12 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,temRet.T,heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y,hysteresis.y,and1.y,and2.y,tesConHea.y,tesEvaPum.y) * Number of discrete states: 11 (timTab.nextTimeEvent,hysteresis.y,tesConHea.y,tesEvaPum.y,heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn,weaDat.conTimMin.tNext,weaDat.conTim.tNext,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 293 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {1 4,2 19,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009032/15.92, allocations: 3.937 MB / 5.905 GB, free: 72.08 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.02478/15.94, allocations: 7.548 MB / 5.913 GB, free: 71.52 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/15.94, allocations: 6.188 kB / 5.913 GB, free: 71.52 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.007117/15.95, allocations: 2.954 MB / 5.916 GB, free: 70.73 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01863/15.97, allocations: 2.736 MB / 5.918 GB, free: 70.69 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02896/16, allocations: 13.82 MB / 5.932 GB, free: 65.2 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006884/16.01, allocations: 3.469 MB / 5.935 GB, free: 64.32 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0115/16.02, allocations: 1.922 MB / 5.937 GB, free: 64.07 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00258/16.02, allocations: 0.4981 MB / 5.938 GB, free: 64.07 MB / 1.042 GB Notification: Performance of SimCode: time 1.423e-06/16.02, allocations: 0 / 5.938 GB, free: 64.07 MB / 1.042 GB Notification: Performance of Templates: time 0.2109/16.23, allocations: 143.8 MB / 6.078 GB, free: 51.96 MB / 1.042 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)