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.001456/0.001456, allocations: 168.8 kB / 12.72 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7765/0.7765, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.49/1.49, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.0009564/0.0009565, allocations: 92.8 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.138e-05, allocations: 3.406 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.155, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.961/6.116, allocations: 2.204 GB / 2.845 GB, free: 239.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004011/6.116, allocations: 90.19 kB / 2.845 GB, free: 239.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 10.59/16.71, allocations: 2.342 GB / 5.187 GB, free: 25.41 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.124e-06/16.71, allocations: 0 / 5.187 GB, free: 25.41 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.001561/16.71, allocations: 178.7 kB / 5.187 GB, free: 25.37 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.02357/16.74, allocations: 6.245 MB / 5.193 GB, free: 22.39 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/16.74, allocations: 9.688 kB / 5.193 GB, free: 22.39 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003326/16.74, allocations: 0.607 MB / 5.194 GB, free: 22.33 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/16.76, allocations: 2.31 MB / 5.196 GB, free: 21.85 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02635/16.78, allocations: 7.791 MB / 5.203 GB, free: 20.56 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007154/16.78, allocations: 408.3 kB / 5.204 GB, free: 20.51 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002567/16.78, allocations: 473.4 kB / 5.204 GB, free: 20.51 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02048/16.81, allocations: 5.674 MB / 5.21 GB, free: 19.76 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004568/16.81, allocations: 8.469 kB / 5.21 GB, free: 19.76 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002995/16.81, allocations: 199.1 kB / 5.21 GB, free: 19.75 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004202/16.81, allocations: 187 kB / 5.21 GB, free: 19.74 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01653/16.83, allocations: 5.009 MB / 5.215 GB, free: 19.65 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.05238/16.88, allocations: 23.84 MB / 5.238 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008066/16.89, allocations: 4.185 MB / 5.242 GB, free: 9.461 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003555/16.89, allocations: 1.748 MB / 5.244 GB, free: 9.422 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.02265/16.91, allocations: 8.724 MB / 5.253 GB, free: 5.984 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00463/16.92, allocations: 2.099 MB / 5.255 GB, free: 5.852 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005006/16.92, allocations: 0.4918 MB / 5.255 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=322): time 3.098e-05/16.92, allocations: 0 / 5.255 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of matching and sorting (n=326): time 0.03191/16.95, allocations: 9.063 MB / 5.264 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/16.95, allocations: 377.7 kB / 5.264 GB, free: 3.492 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01187/16.97, allocations: 4.465 MB / 5.269 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001405/16.97, allocations: 109.5 kB / 5.269 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.004157/16.97, allocations: 2.768 MB / 5.272 GB, free: 268 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002553/16.97, allocations: 1.094 MB / 5.273 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/16.98, allocations: 78.31 kB / 5.273 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004503/16.98, allocations: 458.7 kB / 5.273 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004019/16.98, allocations: 1.514 MB / 5.275 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005214/16.99, allocations: 2.571 MB / 5.277 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004583/16.99, allocations: 1.866 MB / 5.279 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.745e-05/16.99, allocations: 4 kB / 5.279 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01847/17.01, allocations: 5.288 MB / 5.284 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.00586/17.01, allocations: 11.57 MB / 5.295 GB, free: 8.391 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.958e-05/17.01, allocations: 24 kB / 5.296 GB, free: 8.367 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005067/17.02, allocations: 1.065 MB / 5.297 GB, free: 7.512 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005118/17.02, allocations: 0.8805 MB / 5.297 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007968/17.03, allocations: 6.221 MB / 5.303 GB, free: 468 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008366/17.04, allocations: 484.2 kB / 5.304 GB, free: 88 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.748/17.79, allocations: 209.8 kB / 5.304 GB, free: 63.35 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/17.79, allocations: 5.844 kB / 5.304 GB, free: 63.35 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01389/17.8, allocations: 4.748 MB / 5.309 GB, free: 63.21 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.58e-05/17.8, allocations: 22.19 kB / 5.309 GB, free: 63.21 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004785/17.81, allocations: 1.055 MB / 5.31 GB, free: 63.16 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004675/17.81, allocations: 0.8625 MB / 5.311 GB, free: 63.16 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006611/17.82, allocations: 6.219 MB / 5.317 GB, free: 58.51 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00776/17.83, allocations: 468.7 kB / 5.317 GB, free: 58.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009017/17.83, allocations: 199.7 kB / 5.317 GB, free: 58.5 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.001498/17.83, allocations: 346.2 kB / 5.318 GB, free: 58.39 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002033/17.83, allocations: 0.5551 MB / 5.318 GB, free: 58.39 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01859/17.85, allocations: 5.598 MB / 5.324 GB, free: 58.11 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.726e-05/17.85, allocations: 40.53 kB / 5.324 GB, free: 58.11 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.22e-05/17.85, allocations: 5.047 kB / 5.324 GB, free: 58.11 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01456/17.87, allocations: 4.361 MB / 5.328 GB, free: 57.77 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.0317/17.9, allocations: 10.91 MB / 5.339 GB, free: 57.03 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/17.9, allocations: 5.219 kB / 5.339 GB, free: 57.03 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003598/17.9, allocations: 0.6353 MB / 5.339 GB, free: 57.03 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003246/17.9, allocations: 0.9248 MB / 5.34 GB, free: 56.95 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007594/17.9, allocations: 113.5 kB / 5.34 GB, free: 56.95 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00886/17.91, allocations: 12.55 MB / 5.353 GB, free: 46.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/17.91, allocations: 6.875 kB / 5.353 GB, free: 46.57 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/17.93, allocations: 7.105 MB / 5.36 GB, free: 45.79 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00425/17.93, allocations: 1.214 MB / 5.361 GB, free: 45.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001744/17.93, allocations: 82.03 kB / 5.361 GB, free: 45.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005533/17.94, allocations: 421.2 kB / 5.361 GB, free: 45.53 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006219/17.94, allocations: 278.1 kB / 5.361 GB, free: 45.53 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004398/17.94, allocations: 167.5 kB / 5.362 GB, free: 45.53 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.006494/17.95, allocations: 3.423 MB / 5.365 GB, free: 45.28 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2e-07/17.95, allocations: 0.5625 kB / 5.365 GB, free: 45.28 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01646/17.96, allocations: 3.167 MB / 5.368 GB, free: 45.28 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.0233/17.99, allocations: 11.87 MB / 5.38 GB, free: 42.57 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01585/18, allocations: 7.225 MB / 5.387 GB, free: 42.01 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/18, allocations: 4.594 kB / 5.387 GB, free: 42.01 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004537/18.01, allocations: 2.863 MB / 5.39 GB, free: 41.21 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01637/18.02, allocations: 2.742 MB / 5.392 GB, free: 41.17 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04432/18.07, allocations: 11.2 MB / 5.403 GB, free: 38.96 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008567/18.08, allocations: 3.644 MB / 5.407 GB, free: 38.14 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.01779/18.1, allocations: 2.855 MB / 5.409 GB, free: 38.08 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006866/18.1, allocations: 2.653 MB / 5.412 GB, free: 38.08 MB / 0.7917 GB Notification: Performance of SimCode: time 1.272e-06/18.1, allocations: 0 / 5.412 GB, free: 38.08 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.132/19.23, allocations: 217.7 MB / 5.625 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/19.23, allocations: 251.2 kB / 5.625 GB, free: 102.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/30.13, allocations: 0 / 5.625 GB, free: 102.2 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)