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 4.0.0+maint.om/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.889/0.889, allocations: 143.4 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 185 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.0008955/0.0008955, allocations: 95.61 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 283.5 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004323, allocations: 11.88 kB / 0.6929 GB, free: 59.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1624, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.825/4.987, allocations: 2.202 GB / 2.975 GB, free: 163.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003872/4.987, allocations: 105 kB / 2.975 GB, free: 163 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.036/13.02, allocations: 2.345 GB / 5.32 GB, free: 34.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.144e-06/13.02, allocations: 0 / 5.32 GB, free: 34.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0007618/13.02, allocations: 181.9 kB / 5.321 GB, free: 34.61 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.0242/13.05, allocations: 7.63 MB / 5.328 GB, free: 31.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/13.05, allocations: 13.7 kB / 5.328 GB, free: 31.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/13.06, allocations: 2.308 MB / 5.33 GB, free: 30.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01906/13.08, allocations: 7.726 MB / 5.338 GB, free: 28.15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/13.08, allocations: 403.3 kB / 5.338 GB, free: 27.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/13.08, allocations: 485.3 kB / 5.339 GB, free: 27.58 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/13.1, allocations: 5.937 MB / 5.344 GB, free: 23.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/13.1, allocations: 15.83 kB / 5.345 GB, free: 23.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008837/13.1, allocations: 196.4 kB / 5.345 GB, free: 23.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001717/13.1, allocations: 183.7 kB / 5.345 GB, free: 23.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/13.11, allocations: 5.482 MB / 5.35 GB, free: 19.41 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.04044/13.15, allocations: 23.81 MB / 5.373 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009709/13.16, allocations: 4.603 MB / 5.378 GB, free: 6.379 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 preOpt evalFunc (simulation): time 0.4602/13.62, allocations: 8.675 MB / 5.386 GB, free: 61.62 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005174/13.63, allocations: 2.317 MB / 5.389 GB, free: 61.49 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003022/13.63, allocations: 0.4962 MB / 5.389 GB, free: 61.49 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=322): time 8.325e-06/13.63, allocations: 0 / 5.389 GB, free: 61.49 MB / 0.7917 GB Notification: Performance of matching and sorting (n=326): time 0.05714/13.69, allocations: 14.16 MB / 5.403 GB, free: 59.48 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/13.69, allocations: 368.5 kB / 5.403 GB, free: 59.07 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006962/13.7, allocations: 4.475 MB / 5.408 GB, free: 58.74 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0008801/13.7, allocations: 110.2 kB / 5.408 GB, free: 58.71 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002299/13.7, allocations: 2.766 MB / 5.411 GB, free: 58.11 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/13.7, allocations: 1.093 MB / 5.412 GB, free: 57.55 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/13.7, allocations: 73.72 kB / 5.412 GB, free: 57.55 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001697/13.7, allocations: 458.8 kB / 5.412 GB, free: 57.25 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004104/13.71, allocations: 1.742 MB / 5.414 GB, free: 57.24 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004483/13.71, allocations: 2.816 MB / 5.417 GB, free: 56.09 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004379/13.72, allocations: 2.084 MB / 5.419 GB, free: 56.04 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/13.72, allocations: 7.438 kB / 5.419 GB, free: 56.04 MB / 0.7917 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01593/13.73, allocations: 5.788 MB / 5.424 GB, free: 55.59 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001862/13.73, allocations: 11.54 MB / 5.436 GB, free: 43.61 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.895e-05/13.73, allocations: 24.81 kB / 5.436 GB, free: 43.61 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004939/13.74, allocations: 1.161 MB / 5.437 GB, free: 43.56 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/13.74, allocations: 0.8806 MB / 5.438 GB, free: 43.56 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006344/13.75, allocations: 6.456 MB / 5.444 GB, free: 38.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006684/13.76, allocations: 495.7 kB / 5.444 GB, free: 38.84 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000475/13.76, allocations: 210.2 kB / 5.445 GB, free: 38.84 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/13.76, allocations: 4.812 kB / 5.445 GB, free: 38.84 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01442/13.77, allocations: 5.239 MB / 5.45 GB, free: 38.69 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.881e-05/13.77, allocations: 24.56 kB / 5.45 GB, free: 38.69 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004819/13.78, allocations: 1.178 MB / 5.451 GB, free: 38.64 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/13.78, allocations: 0.8643 MB / 5.452 GB, free: 38.64 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006582/13.79, allocations: 6.45 MB / 5.458 GB, free: 33.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007016/13.79, allocations: 476.4 kB / 5.458 GB, free: 33.93 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007684/13.79, allocations: 199.8 kB / 5.459 GB, free: 33.93 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.004236/13.8, allocations: 1.577 MB / 5.46 GB, free: 33.74 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/13.8, allocations: 0.5511 MB / 5.461 GB, free: 33.45 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01963/13.82, allocations: 6.069 MB / 5.467 GB, free: 33.12 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.527e-05/13.82, allocations: 40.36 kB / 5.467 GB, free: 33.12 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/13.82, allocations: 2.75 kB / 5.467 GB, free: 33.12 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01617/13.84, allocations: 4.827 MB / 5.471 GB, free: 32.79 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.02408/13.86, allocations: 10.88 MB / 5.482 GB, free: 32.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/13.86, allocations: 3.844 kB / 5.482 GB, free: 32.04 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003554/13.86, allocations: 0.6434 MB / 5.483 GB, free: 32.04 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003459/13.87, allocations: 0.9834 MB / 5.484 GB, free: 31.95 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005664/13.87, allocations: 114.3 kB / 5.484 GB, free: 31.95 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009834/13.88, allocations: 12.66 MB / 5.496 GB, free: 37.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/13.88, allocations: 3.375 kB / 5.496 GB, free: 37.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/13.89, allocations: 7.695 MB / 5.504 GB, free: 36.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003615/13.9, allocations: 1.202 MB / 5.505 GB, free: 36.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001335/13.9, allocations: 76.44 kB / 5.505 GB, free: 36.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004749/13.9, allocations: 425.2 kB / 5.505 GB, free: 36.14 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004957/13.9, allocations: 287.1 kB / 5.506 GB, free: 36.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003701/13.91, allocations: 168 kB / 5.506 GB, free: 36.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.005417/13.91, allocations: 3.437 MB / 5.509 GB, free: 35.96 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.21e-07/13.91, allocations: 2.625 kB / 5.509 GB, free: 35.96 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01184/13.92, allocations: 3.165 MB / 5.512 GB, free: 35.96 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.006668/13.93, allocations: 4.078 MB / 5.516 GB, free: 35.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01847/13.95, allocations: 7.745 MB / 5.524 GB, free: 34.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/13.95, allocations: 7.594 kB / 5.524 GB, free: 34.48 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.005651/13.95, allocations: 3.073 MB / 5.527 GB, free: 33.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0111/13.96, allocations: 2.741 MB / 5.529 GB, free: 33.64 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02301/13.99, allocations: 13.9 MB / 5.543 GB, free: 27.75 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007009/13.99, allocations: 3.652 MB / 5.546 GB, free: 26.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.01375/14.01, allocations: 1.989 MB / 5.548 GB, free: 26.58 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002299/14.01, allocations: 0.5031 MB / 5.549 GB, free: 26.57 MB / 0.8073 GB Notification: Performance of SimCode: time 9.42e-07/14.01, allocations: 0 / 5.549 GB, free: 26.57 MB / 0.8073 GB Notification: Performance of Templates: time 0.2471/14.26, allocations: 146.2 MB / 5.692 GB, free: 4 kB / 0.8386 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)