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.7748/0.7748, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009765/0.0009766, allocations: 183 kB / 187.3 MB, free: 11.89 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.498/1.498, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.000899/0.000899, allocations: 100.3 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001965/0.001965, allocations: 276 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.648e-05/4.659e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4827, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.341/5.824, allocations: 2.202 GB / 2.966 GB, free: 118.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/5.824, allocations: 96.56 kB / 2.966 GB, free: 118.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 10.01/15.83, allocations: 2.338 GB / 5.304 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.475e-06/15.83, allocations: 0 / 5.304 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.001306/15.83, allocations: 175.8 kB / 5.305 GB, free: 14.22 MB / 0.7917 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.02736/15.86, allocations: 6.217 MB / 5.311 GB, free: 7.91 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 8.281e-05/15.86, allocations: 11.97 kB / 5.311 GB, free: 7.898 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01863/15.88, allocations: 2.305 MB / 5.313 GB, free: 5.582 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8503/16.73, allocations: 7.654 MB / 5.32 GB, free: 63.08 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008711/16.73, allocations: 405.2 kB / 5.321 GB, free: 63.04 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002832/16.73, allocations: 481.5 kB / 5.321 GB, free: 63.04 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/16.75, allocations: 5.672 MB / 5.327 GB, free: 62.34 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001559/16.75, allocations: 17.45 kB / 5.327 GB, free: 62.34 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009307/16.75, allocations: 196 kB / 5.327 GB, free: 62.34 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/16.76, allocations: 182.5 kB / 5.327 GB, free: 62.33 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/16.77, allocations: 5.012 MB / 5.332 GB, free: 62.28 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 preOpt removeSimpleEquations (simulation): time 0.0599/16.83, allocations: 23.82 MB / 5.355 GB, free: 53.73 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008393/16.84, allocations: 4.179 MB / 5.359 GB, free: 53.2 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004078/16.84, allocations: 1.753 MB / 5.361 GB, free: 53.16 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 preOpt evalFunc (simulation): time 0.02618/16.87, allocations: 8.725 MB / 5.37 GB, free: 49.93 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005214/16.87, allocations: 2.1 MB / 5.372 GB, free: 49.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004761/16.88, allocations: 0.5026 MB / 5.372 GB, free: 49.72 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=322): time 2.802e-05/16.88, allocations: 0 / 5.372 GB, free: 49.72 MB / 0.7917 GB Notification: Performance of matching and sorting (n=326): time 0.03272/16.91, allocations: 9.036 MB / 5.381 GB, free: 48.12 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002418/16.91, allocations: 374.8 kB / 5.381 GB, free: 47.71 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01242/16.92, allocations: 4.417 MB / 5.386 GB, free: 47.36 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.001592/16.92, allocations: 113.4 kB / 5.386 GB, free: 47.32 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.003564/16.93, allocations: 2.749 MB / 5.388 GB, free: 46.62 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.002137/16.93, allocations: 1.095 MB / 5.39 GB, free: 45.92 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/16.93, allocations: 81.41 kB / 5.39 GB, free: 45.92 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002784/16.93, allocations: 453.8 kB / 5.39 GB, free: 45.61 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/16.93, allocations: 1.515 MB / 5.391 GB, free: 45.61 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003629/16.94, allocations: 2.578 MB / 5.394 GB, free: 44.45 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003422/16.94, allocations: 1.867 MB / 5.396 GB, free: 44.38 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-05/16.94, allocations: 3.781 kB / 5.396 GB, free: 44.38 MB / 0.7917 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01471/16.96, allocations: 5.284 MB / 5.401 GB, free: 43.92 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.00296/16.96, allocations: 11.54 MB / 5.412 GB, free: 31.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.945e-05/16.96, allocations: 29.73 kB / 5.412 GB, free: 31.95 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004532/16.96, allocations: 1.059 MB / 5.413 GB, free: 31.9 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005128/16.97, allocations: 0.886 MB / 5.414 GB, free: 31.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006263/16.97, allocations: 6.206 MB / 5.42 GB, free: 27.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/16.99, allocations: 491.9 kB / 5.421 GB, free: 27.16 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002157/16.99, allocations: 207.7 kB / 5.421 GB, free: 27.16 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/16.99, allocations: 5.062 kB / 5.421 GB, free: 27.16 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01429/17, allocations: 4.746 MB / 5.426 GB, free: 27.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/17, allocations: 23.09 kB / 5.426 GB, free: 27.02 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004228/17.01, allocations: 1.068 MB / 5.427 GB, free: 26.97 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00508/17.01, allocations: 0.8617 MB / 5.427 GB, free: 26.97 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00807/17.02, allocations: 6.224 MB / 5.434 GB, free: 38.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008335/17.03, allocations: 477 kB / 5.434 GB, free: 38.22 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/17.03, allocations: 193.8 kB / 5.434 GB, free: 38.22 MB / 0.8073 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.00224/17.03, allocations: 352.9 kB / 5.435 GB, free: 38.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002639/17.03, allocations: 0.5529 MB / 5.435 GB, free: 37.81 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0181/17.05, allocations: 5.593 MB / 5.441 GB, free: 37.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-05/17.05, allocations: 36.66 kB / 5.441 GB, free: 37.47 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/17.05, allocations: 5.5 kB / 5.441 GB, free: 37.47 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01533/17.07, allocations: 4.365 MB / 5.445 GB, free: 37.13 MB / 0.8073 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.0429/17.11, allocations: 10.89 MB / 5.455 GB, free: 36.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.899e-05/17.11, allocations: 9.672 kB / 5.455 GB, free: 36.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004193/17.12, allocations: 0.6366 MB / 5.456 GB, free: 36.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003582/17.12, allocations: 0.9202 MB / 5.457 GB, free: 36.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001112/17.12, allocations: 115 kB / 5.457 GB, free: 36.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/17.13, allocations: 12.56 MB / 5.469 GB, free: 25.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/17.13, allocations: 3.25 kB / 5.469 GB, free: 25.81 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02228/17.16, allocations: 7.091 MB / 5.476 GB, free: 24.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005635/17.16, allocations: 1.213 MB / 5.477 GB, free: 24.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002877/17.16, allocations: 78.78 kB / 5.478 GB, free: 24.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007199/17.17, allocations: 416.7 kB / 5.478 GB, free: 24.35 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001231/17.17, allocations: 286.6 kB / 5.478 GB, free: 24.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001047/17.17, allocations: 164.1 kB / 5.478 GB, free: 24.34 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.009789/17.18, allocations: 3.386 MB / 5.482 GB, free: 24.14 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.92e-07/17.18, allocations: 0 / 5.482 GB, free: 24.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.02049/17.2, allocations: 3.166 MB / 5.485 GB, free: 24.09 MB / 0.8073 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.01058/17.21, allocations: 4.038 MB / 5.489 GB, free: 23.03 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02277/17.24, allocations: 7.212 MB / 5.496 GB, free: 22.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/17.24, allocations: 16.2 kB / 5.496 GB, free: 22.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.006437/17.24, allocations: 2.858 MB / 5.499 GB, free: 21.65 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01745/17.26, allocations: 2.74 MB / 5.501 GB, free: 21.6 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02802/17.29, allocations: 9.513 MB / 5.511 GB, free: 19.37 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006999/17.3, allocations: 3.651 MB / 5.514 GB, free: 18.45 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.01482/17.31, allocations: 2.855 MB / 5.517 GB, free: 18.13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002457/17.31, allocations: 413.3 kB / 5.517 GB, free: 18.12 MB / 0.8073 GB Notification: Performance of SimCode: time 2.114e-06/17.31, allocations: 0 / 5.517 GB, free: 18.12 MB / 0.8073 GB Notification: Performance of Templates: time 0.9006/18.21, allocations: 160.6 MB / 5.674 GB, free: 85.19 MB / 0.823 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)