Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00157/0.00157, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7723/0.7723, allocations: 133.6 MB / 141.6 MB, free: 2.816 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.383/1.383, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.0008738/0.0008738, allocations: 100.2 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.508e-05/1.512e-05, allocations: 4 kB / 0.5535 GB, free: 9.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4698/0.4698, allocations: 82.31 MB / 0.6338 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.826/6.295, allocations: 2.204 GB / 2.837 GB, free: 105 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/6.296, allocations: 91.95 kB / 2.837 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 10.75/17.04, allocations: 2.33 GB / 5.167 GB, free: 52.25 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.653e-06/17.04, allocations: 0 / 5.167 GB, free: 52.25 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.001557/17.04, allocations: 180.3 kB / 5.167 GB, free: 52.22 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.02528/17.07, allocations: 6.241 MB / 5.174 GB, free: 49.4 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/17.07, allocations: 10.78 kB / 5.174 GB, free: 49.4 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/17.09, allocations: 2.308 MB / 5.176 GB, free: 49.01 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02888/17.11, allocations: 7.79 MB / 5.183 GB, free: 48.01 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005793/17.12, allocations: 231.5 kB / 5.184 GB, free: 47.97 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002711/17.12, allocations: 280 kB / 5.184 GB, free: 47.97 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01402/17.13, allocations: 4.772 MB / 5.189 GB, free: 47.95 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/17.15, allocations: 5.007 MB / 5.193 GB, free: 47.27 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002784/17.15, allocations: 10.12 kB / 5.193 GB, free: 47.27 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001654/17.15, allocations: 7.438 kB / 5.193 GB, free: 47.27 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/17.15, allocations: 185.6 kB / 5.194 GB, free: 47.26 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.05296/17.21, allocations: 23.01 MB / 5.216 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008903/17.22, allocations: 3.808 MB / 5.22 GB, free: 38.35 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004556/17.22, allocations: 1.805 MB / 5.222 GB, free: 38.32 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.02442/17.24, allocations: 8.536 MB / 5.23 GB, free: 35.01 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003913/17.25, allocations: 2.03 MB / 5.232 GB, free: 34.89 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003946/17.25, allocations: 406.5 kB / 5.232 GB, free: 34.77 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=322): time 1.735e-05/17.25, allocations: 0 / 5.232 GB, free: 34.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=326): time 0.03677/17.29, allocations: 9.786 MB / 5.242 GB, free: 33.08 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/17.29, allocations: 368.6 kB / 5.242 GB, free: 32.67 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/17.3, allocations: 3.879 MB / 5.246 GB, free: 32.33 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001489/17.3, allocations: 47.38 kB / 5.246 GB, free: 32.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.004159/17.31, allocations: 2.784 MB / 5.249 GB, free: 31.41 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002196/17.31, allocations: 1.054 MB / 5.25 GB, free: 30.71 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009982/17.31, allocations: 3.219 kB / 5.25 GB, free: 30.71 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0004121/17.31, allocations: 457.5 kB / 5.25 GB, free: 30.4 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003469/17.31, allocations: 1.519 MB / 5.252 GB, free: 30.39 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004114/17.32, allocations: 2.55 MB / 5.254 GB, free: 29.25 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007131/17.33, allocations: 2.19 MB / 5.256 GB, free: 29.18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.734e-05/17.33, allocations: 6.75 kB / 5.256 GB, free: 29.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01912/17.34, allocations: 5.385 MB / 5.262 GB, free: 28.73 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.002768/17.35, allocations: 11.36 MB / 5.273 GB, free: 16.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.83e-05/17.35, allocations: 21.69 kB / 5.273 GB, free: 16.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003689/17.35, allocations: 0.962 MB / 5.274 GB, free: 16.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00509/17.36, allocations: 0.8881 MB / 5.275 GB, free: 16.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00698/17.36, allocations: 6.24 MB / 5.281 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009453/17.37, allocations: 411.5 kB / 5.281 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002176/17.37, allocations: 205.6 kB / 5.281 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/17.37, allocations: 3.5 kB / 5.281 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01883/17.39, allocations: 4.652 MB / 5.286 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/17.39, allocations: 23.62 kB / 5.286 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003502/17.4, allocations: 0.98 MB / 5.287 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004751/17.4, allocations: 0.8618 MB / 5.288 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007801/17.41, allocations: 6.247 MB / 5.294 GB, free: 23.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007926/17.42, allocations: 377.8 kB / 5.294 GB, free: 22.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/17.42, allocations: 200.3 kB / 5.294 GB, free: 22.96 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.002896/17.42, allocations: 220.2 kB / 5.294 GB, free: 22.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003167/17.43, allocations: 0.5256 MB / 5.295 GB, free: 22.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02702/17.45, allocations: 5.564 MB / 5.3 GB, free: 22.15 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001086/17.45, allocations: 36.09 kB / 5.3 GB, free: 22.15 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.977e-05/17.45, allocations: 5.312 kB / 5.3 GB, free: 22.15 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02063/17.47, allocations: 4.409 MB / 5.305 GB, free: 21.77 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.03964/17.51, allocations: 9.891 MB / 5.314 GB, free: 21.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/17.51, allocations: 7.375 kB / 5.314 GB, free: 21.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003974/17.52, allocations: 0.6336 MB / 5.315 GB, free: 21.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002933/17.52, allocations: 0.8542 MB / 5.316 GB, free: 20.9 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001192/17.52, allocations: 81.34 kB / 5.316 GB, free: 20.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/17.53, allocations: 12.25 MB / 5.328 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/17.53, allocations: 3.531 kB / 5.328 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0228/17.56, allocations: 7.085 MB / 5.335 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007185/17.56, allocations: 1.173 MB / 5.336 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003274/17.57, allocations: 20.61 kB / 5.336 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007253/17.57, allocations: 355.8 kB / 5.336 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001237/17.58, allocations: 294.4 kB / 5.337 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001123/17.58, allocations: 167 kB / 5.337 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.008993/17.59, allocations: 2.902 MB / 5.34 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.061e-06/17.59, allocations: 0 / 5.34 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.02463/17.61, allocations: 2.939 MB / 5.342 GB, free: 8.938 MB / 0.7761 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.01019/17.62, allocations: 3.897 MB / 5.346 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01678/17.64, allocations: 6.819 MB / 5.353 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-05/17.64, allocations: 6.109 kB / 5.353 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.005489/17.64, allocations: 2.763 MB / 5.356 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01532/17.66, allocations: 2.424 MB / 5.358 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03424/17.69, allocations: 9.286 MB / 5.367 GB, free: 208 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01212/17.71, allocations: 3.752 MB / 5.371 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.01883/17.72, allocations: 2.718 MB / 5.373 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/17.73, allocations: 404.8 kB / 5.374 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of SimCode: time 1.362e-06/17.73, allocations: 0 / 5.374 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of Templates: time 0.9602/18.69, allocations: 131.3 MB / 5.502 GB, free: 94.91 MB / 0.8073 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)