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.001171/0.001171, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8147/0.8147, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 221.3 MB / 400.4 MB, free: 5.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 82.38 kB / 483.3 MB, free: 5.816 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.408e-05, allocations: 7.297 kB / 0.56 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1532, allocations: 82.3 MB / 0.6404 GB, free: 7.836 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.348/6.501, allocations: 2.204 GB / 2.845 GB, free: 239 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/6.501, allocations: 90.77 kB / 2.845 GB, free: 239 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 10.18/16.68, allocations: 2.342 GB / 5.187 GB, free: 25.98 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.565e-06/16.68, allocations: 3.172 kB / 5.187 GB, free: 25.98 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.001543/16.68, allocations: 181.9 kB / 5.187 GB, free: 25.93 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.02589/16.7, allocations: 6.245 MB / 5.193 GB, free: 22.95 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.707e-05/16.7, allocations: 6.219 kB / 5.193 GB, free: 22.95 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01735/16.72, allocations: 2.313 MB / 5.195 GB, free: 22.47 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02706/16.75, allocations: 7.788 MB / 5.203 GB, free: 21.18 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006191/16.75, allocations: 406.2 kB / 5.203 GB, free: 21.14 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002403/16.75, allocations: 483.2 kB / 5.204 GB, free: 21.13 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/16.77, allocations: 5.663 MB / 5.209 GB, free: 20.39 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001398/16.77, allocations: 10.78 kB / 5.209 GB, free: 20.38 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008679/16.77, allocations: 204.7 kB / 5.209 GB, free: 20.38 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002358/16.77, allocations: 183.7 kB / 5.21 GB, free: 20.36 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/16.78, allocations: 5.002 MB / 5.214 GB, free: 20.28 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.06444/16.85, allocations: 23.83 MB / 5.238 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009318/16.85, allocations: 4.18 MB / 5.242 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003971/16.86, allocations: 1.756 MB / 5.243 GB, free: 10.06 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.02464/16.88, allocations: 8.722 MB / 5.252 GB, free: 6.625 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004863/16.89, allocations: 2.099 MB / 5.254 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004468/16.89, allocations: 0.5014 MB / 5.255 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=322): time 2.105e-05/16.89, allocations: 0 / 5.255 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of matching and sorting (n=326): time 0.03371/16.93, allocations: 9.057 MB / 5.263 GB, free: 4.539 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/16.93, allocations: 375.7 kB / 5.264 GB, free: 4.129 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01257/16.94, allocations: 4.462 MB / 5.268 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001416/16.94, allocations: 117.3 kB / 5.268 GB, free: 2.227 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.003272/16.94, allocations: 2.765 MB / 5.271 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.00212/16.95, allocations: 1.095 MB / 5.272 GB, free: 164 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/16.95, allocations: 78.69 kB / 5.272 GB, free: 148 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0004034/16.95, allocations: 452.5 kB / 5.273 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003051/16.95, allocations: 1.511 MB / 5.274 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003977/16.95, allocations: 2.582 MB / 5.276 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/16.96, allocations: 1.865 MB / 5.278 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/16.96, allocations: 8 kB / 5.278 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01465/16.97, allocations: 5.283 MB / 5.283 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.005508/16.98, allocations: 11.58 MB / 5.295 GB, free: 9.355 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.225e-05/16.98, allocations: 27.95 kB / 5.295 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005005/16.98, allocations: 1.058 MB / 5.296 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005027/16.99, allocations: 0.8838 MB / 5.297 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007561/17, allocations: 6.213 MB / 5.303 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008586/17, allocations: 488 kB / 5.303 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/17.01, allocations: 208.5 kB / 5.303 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/17.01, allocations: 4 kB / 5.303 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8174/17.82, allocations: 4.742 MB / 5.308 GB, free: 63.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/17.82, allocations: 26.66 kB / 5.308 GB, free: 63.12 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00453/17.83, allocations: 1.062 MB / 5.309 GB, free: 63.07 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00518/17.83, allocations: 0.8653 MB / 5.31 GB, free: 63.07 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007199/17.84, allocations: 6.215 MB / 5.316 GB, free: 58.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009009/17.85, allocations: 461.6 kB / 5.317 GB, free: 58.41 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001827/17.85, allocations: 200.5 kB / 5.317 GB, free: 58.41 MB / 0.7917 GB 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,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001764/17.85, allocations: 350 kB / 5.317 GB, free: 58.3 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002696/17.86, allocations: 0.5581 MB / 5.318 GB, free: 58.3 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02032/17.88, allocations: 5.6 MB / 5.323 GB, free: 58.02 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001188/17.88, allocations: 39.78 kB / 5.323 GB, free: 58.02 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.66e-05/17.88, allocations: 3.781 kB / 5.323 GB, free: 58.02 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01691/17.89, allocations: 4.363 MB / 5.327 GB, free: 57.68 MB / 0.7917 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.04337/17.94, allocations: 10.91 MB / 5.338 GB, free: 56.94 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.008e-05/17.94, allocations: 3.812 kB / 5.338 GB, free: 56.94 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004089/17.94, allocations: 0.6399 MB / 5.339 GB, free: 56.93 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003427/17.94, allocations: 0.9195 MB / 5.34 GB, free: 56.86 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001061/17.95, allocations: 116.1 kB / 5.34 GB, free: 56.86 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009491/17.96, allocations: 12.55 MB / 5.352 GB, free: 46.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/17.96, allocations: 3.406 kB / 5.352 GB, free: 46.48 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01808/17.97, allocations: 7.114 MB / 5.359 GB, free: 45.7 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00537/17.98, allocations: 1.204 MB / 5.36 GB, free: 45.47 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002398/17.98, allocations: 88.94 kB / 5.36 GB, free: 45.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006745/17.99, allocations: 417.8 kB / 5.36 GB, free: 45.46 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008687/17.99, allocations: 284.9 kB / 5.361 GB, free: 45.45 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006017/17.99, allocations: 165.5 kB / 5.361 GB, free: 45.45 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.008233/18, allocations: 3.421 MB / 5.364 GB, free: 45.21 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.01e-07/18, allocations: 0.5625 kB / 5.364 GB, free: 45.21 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.02885/18.03, allocations: 3.165 MB / 5.367 GB, free: 45.21 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.01425/18.04, allocations: 3.997 MB / 5.371 GB, free: 44.27 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.02038/18.06, allocations: 7.22 MB / 5.378 GB, free: 43.71 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/18.06, allocations: 6.375 kB / 5.378 GB, free: 43.71 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.006137/18.07, allocations: 2.862 MB / 5.381 GB, free: 42.91 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01831/18.09, allocations: 2.737 MB / 5.384 GB, free: 42.86 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03283/18.12, allocations: 9.559 MB / 5.393 GB, free: 40.75 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008712/18.13, allocations: 3.645 MB / 5.397 GB, free: 39.93 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.01839/18.15, allocations: 2.853 MB / 5.399 GB, free: 39.88 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0023/18.15, allocations: 414.2 kB / 5.4 GB, free: 39.88 MB / 0.7917 GB Notification: Performance of SimCode: time 2.535e-06/18.15, allocations: 0 / 5.4 GB, free: 39.88 MB / 0.7917 GB Notification: Performance of Templates: time 0.2632/18.41, allocations: 160.5 MB / 5.557 GB, free: 15.77 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)