Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8282/0.8282, allocations: 130.7 MB / 138.7 MB, free: 3.512 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.5 MB / 391.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008881/0.0008878, allocations: 94.38 kB / 473.9 MB, free: 4.492 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.539e-05/1.542e-05, allocations: 0 / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4406, allocations: 81.57 MB / 0.6282 GB, free: 42.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.643/6.084, allocations: 2.203 GB / 2.831 GB, free: 87.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/6.084, allocations: 92.58 kB / 2.832 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 10.63/16.71, allocations: 2.33 GB / 5.161 GB, free: 44.66 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.284e-06/16.71, allocations: 0 / 5.161 GB, free: 44.66 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.001511/16.71, allocations: 176 kB / 5.162 GB, free: 44.63 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.02752/16.74, allocations: 6.245 MB / 5.168 GB, free: 41.79 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/16.74, allocations: 9.75 kB / 5.168 GB, free: 41.79 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01864/16.76, allocations: 2.303 MB / 5.17 GB, free: 41.32 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02601/16.79, allocations: 7.792 MB / 5.177 GB, free: 40.27 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004253/16.79, allocations: 229.6 kB / 5.178 GB, free: 40.23 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001918/16.79, allocations: 289.2 kB / 5.178 GB, free: 40.23 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01052/16.8, allocations: 4.766 MB / 5.183 GB, free: 40.21 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/16.81, allocations: 5.003 MB / 5.188 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/16.81, allocations: 18.78 kB / 5.188 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005464/16.81, allocations: 10.33 kB / 5.188 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001823/16.81, allocations: 185.6 kB / 5.188 GB, free: 39.49 MB / 0.7605 GB Warning: The model contains alias variables with conflicting start and/or 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.04967/16.86, allocations: 23.01 MB / 5.21 GB, free: 30.52 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007088/16.87, allocations: 3.797 MB / 5.214 GB, free: 30.44 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00286/16.87, allocations: 1.811 MB / 5.216 GB, free: 30.41 MB / 0.7605 GB Warning: The model contains alias variables with conflicting start and/or 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.0211/16.89, allocations: 8.536 MB / 5.224 GB, free: 27.08 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003524/16.9, allocations: 2.034 MB / 5.226 GB, free: 26.95 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003673/16.9, allocations: 399.9 kB / 5.226 GB, free: 26.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=322): time 8.926e-06/16.9, allocations: 0 / 5.226 GB, free: 26.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=326): time 0.03467/16.93, allocations: 9.781 MB / 5.236 GB, free: 25.06 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/16.93, allocations: 373.1 kB / 5.236 GB, free: 24.65 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008228/16.94, allocations: 3.875 MB / 5.24 GB, free: 24.31 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001246/16.94, allocations: 43.12 kB / 5.24 GB, free: 24.28 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00297/16.95, allocations: 2.803 MB / 5.243 GB, free: 23.38 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/16.95, allocations: 1.05 MB / 5.244 GB, free: 22.68 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/16.95, allocations: 0 / 5.244 GB, free: 22.68 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001938/16.95, allocations: 455.6 kB / 5.244 GB, free: 22.37 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/16.95, allocations: 1.526 MB / 5.246 GB, free: 22.36 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002747/16.95, allocations: 2.554 MB / 5.248 GB, free: 21.18 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005533/16.96, allocations: 2.179 MB / 5.25 GB, free: 21.09 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/16.96, allocations: 6.406 kB / 5.25 GB, free: 21.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01572/16.97, allocations: 5.384 MB / 5.256 GB, free: 20.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.002409/16.98, allocations: 11.36 MB / 5.267 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-05/16.98, allocations: 22.59 kB / 5.267 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/16.98, allocations: 0.9614 MB / 5.268 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004475/16.99, allocations: 0.882 MB / 5.269 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006529/16.99, allocations: 6.236 MB / 5.275 GB, free: 19.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008319/17, allocations: 410.3 kB / 5.275 GB, free: 19.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/17, allocations: 209.9 kB / 5.275 GB, free: 19.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/17, allocations: 2.25 kB / 5.275 GB, free: 19.68 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01304/17.01, allocations: 4.651 MB / 5.28 GB, free: 19.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.264e-05/17.01, allocations: 26.94 kB / 5.28 GB, free: 19.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002982/17.02, allocations: 0.9805 MB / 5.281 GB, free: 19.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003814/17.02, allocations: 0.8633 MB / 5.282 GB, free: 19.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008021/17.03, allocations: 6.232 MB / 5.288 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007706/17.04, allocations: 380.4 kB / 5.288 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/17.04, allocations: 199.6 kB / 5.288 GB, free: 14.52 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumHeaPum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumHeaPumSou.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition1,$PRE.timTab.nextTimeEvent,$whenCondition3,$whenCondition2,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (437): * Single equations (assignments): 429 * 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 {(1,100.0%) 5} * Non-linear torn systems: 5 {2 19,1 4,1 4,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002384/17.04, allocations: 228.7 kB / 5.289 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002568/17.04, allocations: 0.5288 MB / 5.289 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01937/17.06, allocations: 5.547 MB / 5.294 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-05/17.06, allocations: 41.09 kB / 5.294 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/17.06, allocations: 6.688 kB / 5.294 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01437/17.08, allocations: 4.419 MB / 5.299 GB, free: 13.2 MB / 0.7761 GB Warning: The model contains alias variables with conflicting start and/or 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.03078/17.11, allocations: 9.887 MB / 5.308 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/17.11, allocations: 3.938 kB / 5.308 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003213/17.11, allocations: 0.6344 MB / 5.309 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/17.11, allocations: 0.8575 MB / 5.31 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004385/17.11, allocations: 78.62 kB / 5.31 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/17.12, allocations: 12.26 MB / 5.322 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/17.12, allocations: 0 / 5.322 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/17.14, allocations: 7.089 MB / 5.329 GB, free: 412 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004779/17.15, allocations: 1.169 MB / 5.33 GB, free: 15.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002142/17.15, allocations: 26.03 kB / 5.33 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006731/17.16, allocations: 358.2 kB / 5.33 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008594/17.16, allocations: 283.3 kB / 5.331 GB, free: 15 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005896/17.16, allocations: 165.9 kB / 5.331 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.006658/17.16, allocations: 2.904 MB / 5.334 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.31e-07/17.16, allocations: 0 / 5.334 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01853/17.18, allocations: 2.94 MB / 5.337 GB, free: 9.453 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,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,weaDat.conTim.tNext,weaDat.conTimMin.tNext,heaPum.temPro.hysLow.y,hysteresis.y,heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysHig.y,tesConHea.y,tesEvaPum.y,heaPum.com.isOn,timTab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (321): * Single equations (assignments): 296 * 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%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {2 19,1 4,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009329/17.19, allocations: 3.92 MB / 5.34 GB, free: 6.254 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.7605/17.95, allocations: 6.82 MB / 5.347 GB, free: 73.48 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.433e-05/17.95, allocations: 0.7812 kB / 5.347 GB, free: 73.48 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.007285/17.96, allocations: 2.758 MB / 5.35 GB, free: 72.79 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01668/17.98, allocations: 2.414 MB / 5.352 GB, free: 72.77 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02441/18, allocations: 9.288 MB / 5.361 GB, free: 70.72 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003981/18.01, allocations: 3.636 MB / 5.365 GB, free: 69.91 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.01531/18.02, allocations: 2.714 MB / 5.367 GB, free: 69.86 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/18.02, allocations: 401.8 kB / 5.368 GB, free: 69.86 MB / 0.7917 GB Notification: Performance of SimCode: time 1.062e-06/18.02, allocations: 0 / 5.368 GB, free: 69.86 MB / 0.7917 GB Notification: Performance of Templates: time 0.2406/18.26, allocations: 131.2 MB / 5.496 GB, free: 61.62 MB / 0.7917 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)