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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,fileNamePrefix="IDEAS_dev_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.01387/0.01388, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.144/1.144, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.322/2.322, 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.001122/0.001122, allocations: 93.19 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004562, allocations: 8 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5992/0.5997, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.361/9.961, allocations: 2.204 GB / 2.854 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/9.962, allocations: 105 kB / 2.854 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 14.64/24.6, allocations: 2.348 GB / 5.202 GB, free: 22.91 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.639e-06/24.6, allocations: 0 / 5.202 GB, free: 22.91 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.002243/24.61, allocations: 184 kB / 5.202 GB, free: 22.86 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.05049/24.66, allocations: 7.675 MB / 5.21 GB, free: 19.34 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 7.163e-05/24.66, allocations: 7.562 kB / 5.21 GB, free: 19.34 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004588/24.66, allocations: 0.6224 MB / 5.211 GB, free: 19.27 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02615/24.69, allocations: 2.316 MB / 5.213 GB, free: 18.79 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04155/24.73, allocations: 7.847 MB / 5.221 GB, free: 17.5 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009453/24.73, allocations: 403.3 kB / 5.221 GB, free: 17.45 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003357/24.73, allocations: 482 kB / 5.221 GB, free: 17.45 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03116/24.76, allocations: 5.935 MB / 5.227 GB, free: 16.69 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002776/24.77, allocations: 7.844 kB / 5.227 GB, free: 16.68 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002018/24.77, allocations: 194.4 kB / 5.227 GB, free: 16.68 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002947/24.77, allocations: 191.2 kB / 5.228 GB, free: 16.67 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02949/24.8, allocations: 5.473 MB / 5.233 GB, free: 16.56 MB / 0.7605 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.08409/24.88, allocations: 23.83 MB / 5.256 GB, free: 5.602 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02042/24.9, allocations: 4.601 MB / 5.261 GB, free: 1.996 MB / 0.7605 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.04259/24.94, allocations: 8.696 MB / 5.269 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01281/24.96, allocations: 2.319 MB / 5.271 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007385/24.96, allocations: 0.4948 MB / 5.272 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=322): time 2.093e-05/24.96, allocations: 0 / 5.272 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of matching and sorting (n=326): time 0.1245/25.09, allocations: 14.17 MB / 5.286 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002895/25.09, allocations: 368.7 kB / 5.286 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02199/25.11, allocations: 4.528 MB / 5.291 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.002566/25.11, allocations: 109.7 kB / 5.291 GB, free: 6.891 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.009342/25.12, allocations: 2.772 MB / 5.293 GB, free: 4.098 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.004123/25.13, allocations: 1.09 MB / 5.294 GB, free: 2.992 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/25.13, allocations: 79.06 kB / 5.294 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0008536/25.13, allocations: 458 kB / 5.295 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01086/25.14, allocations: 1.745 MB / 5.297 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.9949/26.14, allocations: 2.803 MB / 5.299 GB, free: 62.41 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/26.15, allocations: 2.077 MB / 5.301 GB, free: 62.36 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/26.15, allocations: 8.281 kB / 5.301 GB, free: 62.36 MB / 0.7917 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.04303/26.19, allocations: 5.801 MB / 5.307 GB, free: 62.19 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.003591/26.2, allocations: 11.58 MB / 5.318 GB, free: 50.21 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/26.2, allocations: 25.03 kB / 5.318 GB, free: 50.21 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00969/26.21, allocations: 1.154 MB / 5.319 GB, free: 50.17 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009838/26.22, allocations: 0.8863 MB / 5.32 GB, free: 50.17 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/26.23, allocations: 6.448 MB / 5.327 GB, free: 45.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01378/26.24, allocations: 495.2 kB / 5.327 GB, free: 45.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001963/26.24, allocations: 206.9 kB / 5.327 GB, free: 45.5 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/26.24, allocations: 7.453 kB / 5.327 GB, free: 45.5 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03545/26.28, allocations: 5.238 MB / 5.332 GB, free: 45.35 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002033/26.28, allocations: 23.38 kB / 5.332 GB, free: 45.35 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009747/26.29, allocations: 1.18 MB / 5.334 GB, free: 45.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008849/26.3, allocations: 0.8642 MB / 5.334 GB, free: 45.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/26.31, allocations: 6.459 MB / 5.341 GB, free: 40.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/26.32, allocations: 466.1 kB / 5.341 GB, free: 40.63 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001702/26.32, allocations: 199.6 kB / 5.341 GB, free: 40.63 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.007444/26.33, allocations: 1.592 MB / 5.343 GB, free: 40.44 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003443/26.34, allocations: 0.5597 MB / 5.344 GB, free: 40.44 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0288/26.36, allocations: 6.066 MB / 5.349 GB, free: 40.15 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.541e-05/26.36, allocations: 40.47 kB / 5.349 GB, free: 40.15 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.105e-05/26.36, allocations: 2.375 kB / 5.349 GB, free: 40.15 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02324/26.39, allocations: 4.82 MB / 5.354 GB, free: 39.82 MB / 0.7917 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.04257/26.43, allocations: 10.9 MB / 5.365 GB, free: 39.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-05/26.43, allocations: 5.594 kB / 5.365 GB, free: 39.08 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004437/26.44, allocations: 0.6478 MB / 5.365 GB, free: 39.08 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004185/26.44, allocations: 0.9767 MB / 5.366 GB, free: 39 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001137/26.44, allocations: 120.9 kB / 5.367 GB, free: 39 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/26.45, allocations: 12.65 MB / 5.379 GB, free: 28.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/26.45, allocations: 6.656 kB / 5.379 GB, free: 28.7 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02513/26.48, allocations: 7.707 MB / 5.386 GB, free: 27.82 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006086/26.48, allocations: 1.208 MB / 5.388 GB, free: 27.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002993/26.49, allocations: 82.73 kB / 5.388 GB, free: 27.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007902/26.49, allocations: 418.9 kB / 5.388 GB, free: 27.41 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001437/26.5, allocations: 282.8 kB / 5.388 GB, free: 27.41 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001222/26.5, allocations: 165.8 kB / 5.389 GB, free: 27.41 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.01134/26.51, allocations: 3.482 MB / 5.392 GB, free: 27.19 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.243e-06/26.51, allocations: 2.344 kB / 5.392 GB, free: 27.19 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.02192/26.53, allocations: 3.165 MB / 5.395 GB, free: 27.19 MB / 0.7917 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.03903/26.57, allocations: 12.54 MB / 5.407 GB, free: 24.5 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.02723/26.6, allocations: 7.747 MB / 5.415 GB, free: 23.95 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-05/26.6, allocations: 4.062 kB / 5.415 GB, free: 23.95 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.008362/26.61, allocations: 3.073 MB / 5.418 GB, free: 23.15 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01848/26.62, allocations: 2.734 MB / 5.42 GB, free: 23.12 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07306/26.7, allocations: 34.24 MB / 5.454 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01117/26.71, allocations: 3.627 MB / 5.457 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.02174/26.73, allocations: 1.989 MB / 5.459 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0146/26.75, allocations: 2.744 MB / 5.462 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of SimCode: time 4.929e-06/26.75, allocations: 0 / 5.462 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.311/28.06, allocations: 203.1 MB / 5.66 GB, free: 100.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00035/28.06, allocations: 268.5 kB / 5.661 GB, free: 100.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.4/47.46, allocations: 3.234 kB / 5.661 GB, free: 100.4 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)