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-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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007202/0.007202, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.734/0.734, allocations: 135.2 MB / 151 MB, free: 13.83 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.462/1.462, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.0009887/0.0009886, allocations: 98.12 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004172, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4385, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.144/5.582, allocations: 2.204 GB / 2.854 GB, free: 17.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/5.583, allocations: 105.1 kB / 2.854 GB, free: 17.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.109/14.69, allocations: 2.348 GB / 5.202 GB, free: 41.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.554e-06/14.69, allocations: 0 / 5.202 GB, free: 41.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.001281/14.69, allocations: 179.8 kB / 5.202 GB, free: 41.53 MB / 0.7761 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.02673/14.72, allocations: 7.682 MB / 5.21 GB, free: 38.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/14.72, allocations: 10.81 kB / 5.21 GB, free: 38.01 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002715/14.72, allocations: 0.6135 MB / 5.211 GB, free: 37.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/14.74, allocations: 2.321 MB / 5.213 GB, free: 37.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0231/14.76, allocations: 7.848 MB / 5.221 GB, free: 36.17 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005759/14.76, allocations: 406.9 kB / 5.221 GB, free: 36.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002032/14.76, allocations: 485.5 kB / 5.221 GB, free: 36.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/14.78, allocations: 5.935 MB / 5.227 GB, free: 35.36 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/14.78, allocations: 7.625 kB / 5.227 GB, free: 35.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008499/14.78, allocations: 198.7 kB / 5.227 GB, free: 35.36 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/14.78, allocations: 185.4 kB / 5.228 GB, free: 35.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/14.79, allocations: 5.485 MB / 5.233 GB, free: 35.23 MB / 0.7761 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.04582/14.84, allocations: 23.83 MB / 5.256 GB, free: 25.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/14.85, allocations: 4.609 MB / 5.261 GB, free: 25.03 MB / 0.7761 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.02937/14.88, allocations: 8.693 MB / 5.269 GB, free: 21.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008548/14.89, allocations: 2.315 MB / 5.271 GB, free: 21.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004573/14.9, allocations: 0.5051 MB / 5.272 GB, free: 21.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=322): time 1.978e-05/14.9, allocations: 0 / 5.272 GB, free: 21.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=326): time 0.08988/14.99, allocations: 14.16 MB / 5.286 GB, free: 18.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/14.99, allocations: 371 kB / 5.286 GB, free: 18.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00898/15, allocations: 4.519 MB / 5.291 GB, free: 17.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001245/15, allocations: 108.4 kB / 5.291 GB, free: 17.61 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003056/15, allocations: 2.773 MB / 5.293 GB, free: 16.78 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001662/15, allocations: 1.093 MB / 5.294 GB, free: 16.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/15, allocations: 73.06 kB / 5.294 GB, free: 16.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001887/15, allocations: 455.9 kB / 5.295 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004296/15.01, allocations: 1.748 MB / 5.297 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004797/15.01, allocations: 2.807 MB / 5.299 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004631/15.02, allocations: 2.088 MB / 5.301 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/15.02, allocations: 7.156 kB / 5.301 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01678/15.03, allocations: 5.798 MB / 5.307 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001653/15.04, allocations: 11.57 MB / 5.318 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/15.04, allocations: 22.72 kB / 5.318 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005032/15.04, allocations: 1.177 MB / 5.32 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004709/15.04, allocations: 0.8792 MB / 5.32 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007557/15.05, allocations: 6.444 MB / 5.327 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007239/15.06, allocations: 0.4905 MB / 5.327 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009599/15.06, allocations: 208.8 kB / 5.327 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/15.06, allocations: 3.031 kB / 5.327 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0161/15.08, allocations: 5.249 MB / 5.332 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.698e-05/15.08, allocations: 24 kB / 5.333 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005331/15.08, allocations: 1.164 MB / 5.334 GB, free: 9.309 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004716/15.09, allocations: 0.8687 MB / 5.334 GB, free: 8.621 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007855/15.1, allocations: 6.455 MB / 5.341 GB, free: 2.637 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007145/15.1, allocations: 476 kB / 5.341 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009929/15.1, allocations: 193.8 kB / 5.341 GB, free: 2.113 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 () * Number of clocked 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 {(2,100.0%) 4} * Non-linear torn systems: 5 {2 19,1 4,1 4,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004737/15.11, allocations: 1.588 MB / 5.343 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002197/15.11, allocations: 0.5518 MB / 5.344 GB, free: 132 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02291/15.13, allocations: 6.079 MB / 5.349 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.15e-05/15.13, allocations: 39.19 kB / 5.349 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/15.13, allocations: 5.359 kB / 5.349 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01983/15.15, allocations: 4.82 MB / 5.354 GB, free: 7.051 MB / 0.8073 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.6311/15.78, allocations: 10.88 MB / 5.365 GB, free: 74.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/15.78, allocations: 2.375 kB / 5.365 GB, free: 74.01 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004812/15.79, allocations: 0.6474 MB / 5.365 GB, free: 74.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004265/15.79, allocations: 0.9793 MB / 5.366 GB, free: 73.93 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009262/15.79, allocations: 120.1 kB / 5.367 GB, free: 73.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009963/15.8, allocations: 12.65 MB / 5.379 GB, free: 63.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/15.8, allocations: 2.625 kB / 5.379 GB, free: 63.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02025/15.82, allocations: 7.704 MB / 5.386 GB, free: 62.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004886/15.83, allocations: 1.203 MB / 5.388 GB, free: 62.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002048/15.83, allocations: 86.48 kB / 5.388 GB, free: 62.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006904/15.84, allocations: 421.1 kB / 5.388 GB, free: 62.79 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/15.84, allocations: 283.9 kB / 5.388 GB, free: 62.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009426/15.84, allocations: 164.9 kB / 5.389 GB, free: 62.78 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.01147/15.85, allocations: 3.478 MB / 5.392 GB, free: 62.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.533e-06/15.85, allocations: 0 / 5.392 GB, free: 62.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.02266/15.88, allocations: 3.166 MB / 5.395 GB, free: 62.57 MB / 0.8073 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,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (322): * Single equations (assignments): 297 * 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%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {1 4,1 4,1 3,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.03746/15.91, allocations: 12.55 MB / 5.407 GB, free: 60.19 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02782/15.94, allocations: 7.743 MB / 5.415 GB, free: 59.65 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.261e-05/15.94, allocations: 7.219 kB / 5.415 GB, free: 59.65 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.009442/15.95, allocations: 3.06 MB / 5.418 GB, free: 58.86 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01667/15.97, allocations: 2.741 MB / 5.42 GB, free: 58.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05761/16.02, allocations: 34.25 MB / 5.454 GB, free: 34.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005765/16.03, allocations: 3.623 MB / 5.457 GB, free: 33.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.01054/16.04, allocations: 1.994 MB / 5.459 GB, free: 33.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006309/16.05, allocations: 2.737 MB / 5.462 GB, free: 33.45 MB / 0.8073 GB Notification: Performance of SimCode: time 1.001e-06/16.05, allocations: 0 / 5.462 GB, free: 33.45 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4149/16.46, allocations: 203.1 MB / 5.66 GB, free: 10 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/16.46, allocations: 261.3 kB / 5.661 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/28.08, allocations: 0 / 5.661 GB, free: 9.648 MB / 0.8542 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)