Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009362/0.0009363, allocations: 176 kB / 327.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.4 MB / 0.5785 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007681/0.0007682, allocations: 90.91 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003842, allocations: 12.81 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1909, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.3602, allocations: 140.9 MB / 1.039 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.3605, allocations: 91.95 kB / 1.039 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0387/0.3993, allocations: 15.51 MB / 1.054 GB, free: 2.906 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3993, allocations: 0 / 1.054 GB, free: 2.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.007e-05/0.3994, allocations: 20 kB / 1.054 GB, free: 2.887 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001974/0.4014, allocations: 0.9854 MB / 1.055 GB, free: 1.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4014, allocations: 12.02 kB / 1.055 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/0.4018, allocations: 95.81 kB / 1.055 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009506/0.4028, allocations: 484.8 kB / 1.056 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.4029, allocations: 83.52 kB / 1.056 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.403, allocations: 60.38 kB / 1.056 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.4042, allocations: 0.6761 MB / 1.056 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.4043, allocations: 7.875 kB / 1.056 GB, free: 336 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.054e-05/0.4043, allocations: 24 kB / 1.056 GB, free: 312 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.4044, allocations: 12 kB / 1.056 GB, free: 300 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4448/0.8491, allocations: 456.2 kB / 1.057 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.8521, allocations: 2.709 MB / 1.059 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.8527, allocations: 291.5 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.853, allocations: 159.6 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.853, allocations: 10.16 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003796/0.8534, allocations: 217.3 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=38): time 3.657e-06/0.8534, allocations: 0 / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.0009391/0.8544, allocations: 479.4 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.8544, allocations: 86.27 kB / 1.061 GB, free: 142.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/0.8551, allocations: 0.6817 MB / 1.061 GB, free: 142.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.8552, allocations: 46.64 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.8554, allocations: 386.3 kB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.8555, allocations: 96.55 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.8555, allocations: 15.69 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.8556, allocations: 384.1 kB / 1.062 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.8559, allocations: 163 kB / 1.062 GB, free: 141.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.8564, allocations: 380 kB / 1.063 GB, free: 141.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005989/0.857, allocations: 465.4 kB / 1.063 GB, free: 141.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.857, allocations: 0 / 1.063 GB, free: 141.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008855/0.8579, allocations: 0.5799 MB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.8579, allocations: 5.812 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.8579, allocations: 6.344 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.8579, allocations: 12.47 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.8582, allocations: 82.88 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.8583, allocations: 11.06 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.8586, allocations: 70.84 kB / 1.064 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.8586, allocations: 27.41 kB / 1.064 GB, free: 141 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002928/0.8589, allocations: 274.8 kB / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.859, allocations: 68.11 kB / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007996/0.8598, allocations: 436.2 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.8598, allocations: 3.531 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.8598, allocations: 0.5 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.8598, allocations: 4.875 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.8613, allocations: 1.066 MB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8613, allocations: 1.672 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.8615, allocations: 42.09 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.8615, allocations: 0.6094 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.8615, allocations: 14.5 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.8615, allocations: 0 / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8615, allocations: 5.938 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.8622, allocations: 0.4884 MB / 1.066 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.8623, allocations: 143.7 kB / 1.066 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.8623, allocations: 11.72 kB / 1.066 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.8626, allocations: 34.84 kB / 1.066 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.8627, allocations: 59.94 kB / 1.067 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.8628, allocations: 18.36 kB / 1.067 GB, free: 140.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004884/0.8633, allocations: 449.9 kB / 1.067 GB, free: 140.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8633, allocations: 0 / 1.067 GB, free: 140.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005086/0.8638, allocations: 120 kB / 1.067 GB, free: 140.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 (nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001029/0.8648, allocations: 488.9 kB / 1.068 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009282/0.8658, allocations: 427.3 kB / 1.068 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8658, allocations: 0.7188 kB / 1.068 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.8662, allocations: 183.4 kB / 1.068 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006153/0.8668, allocations: 89.98 kB / 1.068 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.869, allocations: 1.35 MB / 1.07 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.8696, allocations: 0.948 MB / 1.07 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003159/0.8699, allocations: 86.31 kB / 1.071 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.8701, allocations: 53.72 kB / 1.071 GB, free: 138.5 MB / 0.698 GB Notification: Performance of SimCode: time 6.12e-07/0.8701, allocations: 0 / 1.071 GB, free: 138.5 MB / 0.698 GB Notification: Performance of Templates: time 0.01416/0.8843, allocations: 6.034 MB / 1.077 GB, free: 138.1 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)