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.001215/0.001215, allocations: 174.6 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.7191/0.7191, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.417/1.417, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.0008296/0.0008298, allocations: 93.77 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.918e-05, allocations: 3.75 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1362, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.232/6.369, allocations: 2.204 GB / 2.845 GB, free: 191 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/6.369, allocations: 97.27 kB / 2.845 GB, free: 191 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.879/16.25, allocations: 2.342 GB / 5.187 GB, free: 28.21 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.993e-06/16.25, allocations: 0 / 5.187 GB, free: 28.21 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.001226/16.25, allocations: 182.9 kB / 5.187 GB, free: 28.17 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.02497/16.27, allocations: 6.239 MB / 5.193 GB, free: 25.18 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/16.27, allocations: 11.22 kB / 5.193 GB, free: 25.18 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002704/16.28, allocations: 0.6067 MB / 5.194 GB, free: 25.12 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/16.29, allocations: 2.316 MB / 5.196 GB, free: 24.64 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02409/16.32, allocations: 7.787 MB / 5.203 GB, free: 21.79 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000751/16.32, allocations: 405.4 kB / 5.204 GB, free: 21.54 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002923/16.32, allocations: 492.3 kB / 5.204 GB, free: 21.21 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/16.33, allocations: 5.659 MB / 5.21 GB, free: 17.17 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/16.33, allocations: 7.938 kB / 5.21 GB, free: 17.16 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000726/16.33, allocations: 196.9 kB / 5.21 GB, free: 17.12 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/16.33, allocations: 187.6 kB / 5.21 GB, free: 16.94 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009024/16.34, allocations: 5.008 MB / 5.215 GB, free: 12.6 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.05185/16.4, allocations: 23.84 MB / 5.238 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.74/17.14, allocations: 4.183 MB / 5.242 GB, free: 57.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004934/17.14, allocations: 1.749 MB / 5.244 GB, free: 57.14 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 preOpt evalFunc (simulation): time 0.02473/17.17, allocations: 8.704 MB / 5.253 GB, free: 54.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004562/17.17, allocations: 2.11 MB / 5.255 GB, free: 53.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004239/17.17, allocations: 0.4967 MB / 5.255 GB, free: 53.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=322): time 1.275e-05/17.17, allocations: 3.781 kB / 5.255 GB, free: 53.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=326): time 0.03254/17.21, allocations: 9.049 MB / 5.264 GB, free: 52.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002565/17.21, allocations: 378.1 kB / 5.264 GB, free: 52.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01242/17.22, allocations: 4.464 MB / 5.269 GB, free: 51.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001396/17.22, allocations: 107.6 kB / 5.269 GB, free: 51.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003102/17.22, allocations: 2.771 MB / 5.272 GB, free: 51.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001991/17.23, allocations: 1.095 MB / 5.273 GB, free: 50.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/17.23, allocations: 79.39 kB / 5.273 GB, free: 50.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002511/17.23, allocations: 456.1 kB / 5.273 GB, free: 50.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002735/17.23, allocations: 1.508 MB / 5.275 GB, free: 50.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/17.23, allocations: 2.575 MB / 5.277 GB, free: 49.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003215/17.24, allocations: 1.866 MB / 5.279 GB, free: 49.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/17.24, allocations: 6.688 kB / 5.279 GB, free: 49.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01531/17.25, allocations: 5.289 MB / 5.284 GB, free: 48.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002484/17.25, allocations: 11.58 MB / 5.295 GB, free: 36.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.799e-05/17.25, allocations: 22.47 kB / 5.296 GB, free: 36.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004431/17.26, allocations: 1.057 MB / 5.297 GB, free: 36.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00489/17.26, allocations: 0.8783 MB / 5.297 GB, free: 36.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006138/17.27, allocations: 6.22 MB / 5.303 GB, free: 31.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008898/17.28, allocations: 493.3 kB / 5.304 GB, free: 31.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/17.28, allocations: 209.5 kB / 5.304 GB, free: 31.89 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/17.28, allocations: 3.156 kB / 5.304 GB, free: 31.89 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01213/17.29, allocations: 4.742 MB / 5.309 GB, free: 31.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.982e-05/17.29, allocations: 26.75 kB / 5.309 GB, free: 31.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004085/17.3, allocations: 1.078 MB / 5.31 GB, free: 31.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004611/17.3, allocations: 0.8642 MB / 5.311 GB, free: 31.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/17.31, allocations: 6.216 MB / 5.317 GB, free: 26.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008141/17.31, allocations: 465.9 kB / 5.317 GB, free: 26.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001392/17.32, allocations: 198.1 kB / 5.317 GB, free: 26.97 MB / 0.7761 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.001562/17.32, allocations: 349.3 kB / 5.318 GB, free: 26.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002324/17.32, allocations: 0.5596 MB / 5.318 GB, free: 26.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/17.34, allocations: 5.601 MB / 5.324 GB, free: 26.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.034e-05/17.34, allocations: 45.78 kB / 5.324 GB, free: 26.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.831e-05/17.34, allocations: 6.453 kB / 5.324 GB, free: 26.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01475/17.35, allocations: 4.356 MB / 5.328 GB, free: 25.91 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.03304/17.39, allocations: 10.91 MB / 5.339 GB, free: 25.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-05/17.39, allocations: 3.312 kB / 5.339 GB, free: 25.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003926/17.39, allocations: 0.6349 MB / 5.339 GB, free: 25.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003199/17.39, allocations: 0.9243 MB / 5.34 GB, free: 25.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008665/17.39, allocations: 116.4 kB / 5.34 GB, free: 25.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/17.4, allocations: 12.55 MB / 5.353 GB, free: 30.62 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/17.4, allocations: 0.6562 kB / 5.353 GB, free: 30.62 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/17.42, allocations: 7.122 MB / 5.36 GB, free: 29.53 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004711/17.42, allocations: 1.204 MB / 5.361 GB, free: 29.13 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002035/17.43, allocations: 82.19 kB / 5.361 GB, free: 29.13 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00585/17.43, allocations: 417.3 kB / 5.361 GB, free: 29.12 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006223/17.43, allocations: 284 kB / 5.361 GB, free: 29.12 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004487/17.43, allocations: 162.5 kB / 5.362 GB, free: 29.12 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.006682/17.44, allocations: 3.426 MB / 5.365 GB, free: 28.88 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.71e-07/17.44, allocations: 2.625 kB / 5.365 GB, free: 28.88 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01543/17.46, allocations: 3.163 MB / 5.368 GB, free: 28.88 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.02323/17.48, allocations: 11.9 MB / 5.38 GB, free: 26.14 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01572/17.5, allocations: 7.206 MB / 5.387 GB, free: 25.57 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/17.5, allocations: 3.094 kB / 5.387 GB, free: 25.57 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004847/17.5, allocations: 2.867 MB / 5.39 GB, free: 24.77 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01519/17.52, allocations: 2.742 MB / 5.392 GB, free: 24.72 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03255/17.55, allocations: 11.21 MB / 5.403 GB, free: 22.45 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003426/17.55, allocations: 3.637 MB / 5.407 GB, free: 21.62 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.01211/17.56, allocations: 2.851 MB / 5.409 GB, free: 21.33 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004485/17.57, allocations: 2.657 MB / 5.412 GB, free: 21.32 MB / 0.7917 GB Notification: Performance of SimCode: time 1.453e-06/17.57, allocations: 0 / 5.412 GB, free: 21.32 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.785/19.35, allocations: 218.5 MB / 5.625 GB, free: 76.05 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/19.35, allocations: 233.2 kB / 5.626 GB, free: 75.75 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/30.67, allocations: 2.625 kB / 5.626 GB, free: 75.75 MB / 0.823 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)