Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.847/0.847, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 170.9 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 426.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008396/0.0008397, allocations: 90.36 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001718/0.001718, allocations: 266 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005356/0.0005357, allocations: 20 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4413, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.372/5.813, allocations: 2.382 GB / 3.121 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003773/5.813, allocations: 99.95 kB / 3.121 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.438/14.25, allocations: 2.314 GB / 5.436 GB, free: 57.06 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.525e-06/14.25, allocations: 0 / 5.436 GB, free: 57.06 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.001153/14.25, allocations: 175 kB / 5.436 GB, free: 57.06 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: 1169 * Number of variables: 1169 Notification: Performance of Generate backend data structure: time 0.02549/14.28, allocations: 7.521 MB / 5.443 GB, free: 54.53 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/14.28, allocations: 9 kB / 5.443 GB, free: 54.53 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01428/14.29, allocations: 2.309 MB / 5.445 GB, free: 54.14 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02041/14.31, allocations: 7.664 MB / 5.453 GB, free: 52.92 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006087/14.31, allocations: 416.7 kB / 5.453 GB, free: 52.88 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002069/14.32, allocations: 479.6 kB / 5.454 GB, free: 52.87 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/14.33, allocations: 5.938 MB / 5.46 GB, free: 52.17 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/14.33, allocations: 16.97 kB / 5.46 GB, free: 52.16 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008375/14.33, allocations: 196.3 kB / 5.46 GB, free: 52.16 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/14.33, allocations: 179.3 kB / 5.46 GB, free: 52.15 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/14.34, allocations: 5.454 MB / 5.465 GB, free: 52.11 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.04244/14.39, allocations: 23.55 MB / 5.488 GB, free: 43.15 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009178/14.39, allocations: 4.535 MB / 5.493 GB, free: 42.61 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004385/14.4, allocations: 1.993 MB / 5.495 GB, free: 42.58 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.01987/14.42, allocations: 9.861 MB / 5.504 GB, free: 39.25 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004633/14.42, allocations: 2.258 MB / 5.506 GB, free: 39.12 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003552/14.43, allocations: 0.6076 MB / 5.507 GB, free: 38.98 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=316): time 1.805e-05/14.43, allocations: 0 / 5.507 GB, free: 38.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=320): time 0.0465/14.47, allocations: 13.03 MB / 5.52 GB, free: 35.96 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/14.47, allocations: 373.8 kB / 5.52 GB, free: 35.55 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009455/14.48, allocations: 4.791 MB / 5.525 GB, free: 35.17 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0009458/14.48, allocations: 112.6 kB / 5.525 GB, free: 35.14 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002733/14.49, allocations: 2.752 MB / 5.528 GB, free: 34.32 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001436/14.49, allocations: 1.075 MB / 5.529 GB, free: 33.64 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005614/14.49, allocations: 72.38 kB / 5.529 GB, free: 33.64 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002433/14.49, allocations: 460.4 kB / 5.529 GB, free: 33.32 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004375/14.49, allocations: 1.69 MB / 5.531 GB, free: 33.32 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004897/14.5, allocations: 2.778 MB / 5.533 GB, free: 32.15 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008764/14.51, allocations: 4.292 MB / 5.538 GB, free: 31.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.656e-05/14.51, allocations: 8.156 kB / 5.538 GB, free: 31.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01592/14.52, allocations: 5.665 MB / 5.543 GB, free: 30.74 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004781/14.52, allocations: 0.834 MB / 5.544 GB, free: 29.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-05/14.52, allocations: 31.66 kB / 5.544 GB, free: 29.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004486/14.53, allocations: 1.157 MB / 5.545 GB, free: 29.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003864/14.53, allocations: 0.8397 MB / 5.546 GB, free: 29.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006542/14.54, allocations: 6.416 MB / 5.552 GB, free: 25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008712/14.55, allocations: 490.2 kB / 5.553 GB, free: 24.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/14.55, allocations: 210.1 kB / 5.553 GB, free: 24.96 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/14.55, allocations: 3.625 kB / 5.553 GB, free: 24.96 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01725/14.57, allocations: 5.107 MB / 5.558 GB, free: 24.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/14.57, allocations: 24.44 kB / 5.558 GB, free: 24.81 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004536/14.57, allocations: 1.179 MB / 5.559 GB, free: 24.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003913/14.58, allocations: 0.8176 MB / 5.56 GB, free: 24.76 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006755/14.58, allocations: 6.419 MB / 5.566 GB, free: 20.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006366/14.59, allocations: 459.8 kB / 5.567 GB, free: 20.03 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000948/14.59, allocations: 200.7 kB / 5.567 GB, free: 20.03 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 110 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition3,$PRE.timTab.nextTimeEvent,$whenCondition2,$whenCondition1,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 (432): * Single equations (assignments): 424 * 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 {1 4,2 19,1 4,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00471/14.59, allocations: 1.572 MB / 5.568 GB, free: 19.83 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002356/14.6, allocations: 0.5508 MB / 5.569 GB, free: 19.54 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/14.61, allocations: 5.822 MB / 5.575 GB, free: 18.74 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-05/14.61, allocations: 39.88 kB / 5.575 GB, free: 18.74 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.724e-05/14.61, allocations: 2.125 kB / 5.575 GB, free: 18.74 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01145/14.63, allocations: 4.624 MB / 5.579 GB, free: 17.93 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 postOpt removeSimpleEquations (simulation): time 0.03335/14.66, allocations: 11.45 MB / 5.59 GB, free: 16.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-05/14.66, allocations: 3.406 kB / 5.59 GB, free: 16.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003512/14.66, allocations: 0.6381 MB / 5.591 GB, free: 16.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00311/14.67, allocations: 0.8977 MB / 5.592 GB, free: 16.45 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007018/14.67, allocations: 113.4 kB / 5.592 GB, free: 16.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/14.68, allocations: 12.02 MB / 5.604 GB, free: 22.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/14.68, allocations: 7.938 kB / 5.604 GB, free: 22.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02426/14.7, allocations: 8.033 MB / 5.612 GB, free: 20.72 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004298/14.71, allocations: 1.135 MB / 5.613 GB, free: 20.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002353/14.71, allocations: 76.75 kB / 5.613 GB, free: 20.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005926/14.71, allocations: 424.9 kB / 5.613 GB, free: 20.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009347/14.71, allocations: 272.6 kB / 5.613 GB, free: 20.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008651/14.72, allocations: 161.8 kB / 5.614 GB, free: 20.28 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.008329/14.72, allocations: 3.227 MB / 5.617 GB, free: 20.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.61e-07/14.72, allocations: 0 / 5.617 GB, free: 20.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01642/14.74, allocations: 3.024 MB / 5.62 GB, free: 19.93 MB / 0.7761 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,hysteresis.y,tesConHea.y,tesEvaPum.y,heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn,weaDat.conTimMin.tNext,weaDat.conTim.tNext,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 293 * 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%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {1 4,2 19,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009029/14.75, allocations: 3.936 MB / 5.623 GB, free: 18.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02016/14.77, allocations: 7.546 MB / 5.631 GB, free: 17.69 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/14.77, allocations: 6.438 kB / 5.631 GB, free: 17.69 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.006348/14.78, allocations: 2.954 MB / 5.634 GB, free: 16.81 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01877/14.79, allocations: 2.757 MB / 5.636 GB, free: 16.66 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03126/14.83, allocations: 13.8 MB / 5.65 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005765/14.83, allocations: 3.475 MB / 5.653 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.01046/14.84, allocations: 1.931 MB / 5.655 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002052/14.84, allocations: 0.4959 MB / 5.656 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/14.84, allocations: 0 / 5.656 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of Templates: time 0.7017/15.55, allocations: 143.9 MB / 5.796 GB, free: 75.95 MB / 0.8073 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)