Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 293 MB / 309 MB, free: 4.793 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009516/0.0009519, allocations: 180 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 0.6383 GB, free: 8.238 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008153/0.000815, allocations: 94.34 kB / 0.7527 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004154/0.0004155, allocations: 15.98 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2951, allocations: 116.4 MB / 0.9904 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8013/1.096, allocations: 146.6 MB / 1.134 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/1.097, allocations: 93.97 kB / 1.134 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04602/1.143, allocations: 17.28 MB / 1.151 GB, free: 16.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.713e-06/1.143, allocations: 0 / 1.151 GB, free: 16.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.976e-05/1.143, allocations: 16 kB / 1.151 GB, free: 16.7 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001958/1.145, allocations: 1.016 MB / 1.152 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.145, allocations: 8.031 kB / 1.152 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002958/1.145, allocations: 97.41 kB / 1.152 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009739/1.146, allocations: 0.5245 MB / 1.152 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.055e-05/1.146, allocations: 80.56 kB / 1.152 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/1.147, allocations: 56.97 kB / 1.152 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/1.147, allocations: 0.5379 MB / 1.153 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/1.147, allocations: 7.922 kB / 1.153 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/1.147, allocations: 24.75 kB / 1.153 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/1.148, allocations: 12 kB / 1.153 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/1.148, allocations: 349 kB / 1.153 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/1.15, allocations: 2.065 MB / 1.155 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/1.151, allocations: 301.7 kB / 1.156 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/1.151, allocations: 148.4 kB / 1.156 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/1.151, allocations: 11.69 kB / 1.156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/1.152, allocations: 216.3 kB / 1.156 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 2.465e-06/1.152, allocations: 0 / 1.156 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.0008504/1.152, allocations: 471.8 kB / 1.156 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/1.153, allocations: 112.1 kB / 1.156 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/1.154, allocations: 0.7584 MB / 1.157 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/1.154, allocations: 43.16 kB / 1.157 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/1.154, allocations: 380.9 kB / 1.158 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/1.154, allocations: 112.7 kB / 1.158 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/1.154, allocations: 8 kB / 1.158 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.955e-05/1.154, allocations: 324 kB / 1.158 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/1.154, allocations: 140.5 kB / 1.158 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/1.155, allocations: 312.9 kB / 1.158 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/1.155, allocations: 366.8 kB / 1.159 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.155, allocations: 0 / 1.159 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007493/1.156, allocations: 0.5048 MB / 1.159 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.156, allocations: 4 kB / 1.159 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.156, allocations: 8 kB / 1.159 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/1.156, allocations: 4 kB / 1.159 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/1.156, allocations: 73.91 kB / 1.159 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.156, allocations: 5.359 kB / 1.159 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/1.156, allocations: 65.08 kB / 1.159 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/1.157, allocations: 21.36 kB / 1.159 GB, free: 8.125 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,staBy.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,cheMinFlo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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.0003564/1.157, allocations: 284.1 kB / 1.16 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/1.157, allocations: 79 kB / 1.16 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/1.158, allocations: 437.8 kB / 1.16 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.158, allocations: 8 kB / 1.16 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.158, allocations: 1.75 kB / 1.16 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.158, allocations: 0 / 1.16 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/1.159, allocations: 1.107 MB / 1.161 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.159, allocations: 0 / 1.161 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/1.159, allocations: 31.92 kB / 1.161 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.159, allocations: 4 kB / 1.161 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/1.159, allocations: 7.984 kB / 1.161 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.159, allocations: 4 kB / 1.161 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.159, allocations: 1.781 kB / 1.161 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/1.16, allocations: 0.5069 MB / 1.162 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/1.16, allocations: 156.1 kB / 1.162 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/1.16, allocations: 12 kB / 1.162 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/1.16, allocations: 21.98 kB / 1.162 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.16, allocations: 52.36 kB / 1.162 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/1.16, allocations: 23.86 kB / 1.162 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005813/1.161, allocations: 0.5029 MB / 1.163 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.161, allocations: 4 kB / 1.163 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005513/1.162, allocations: 128 kB / 1.163 GB, free: 4.699 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,staBy.active,pumOn.newActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001114/1.163, allocations: 480.1 kB / 1.163 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006632/1.163, allocations: 388.7 kB / 1.164 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.163, allocations: 0 / 1.164 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002573/1.164, allocations: 183.5 kB / 1.164 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/1.164, allocations: 122.2 kB / 1.164 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/1.166, allocations: 1.401 MB / 1.165 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/1.167, allocations: 0.9579 MB / 1.166 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003284/1.167, allocations: 96.28 kB / 1.166 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/1.167, allocations: 59.41 kB / 1.166 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.167, allocations: 0 / 1.166 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of Templates: time 0.01547/1.183, allocations: 6.879 MB / 1.173 GB, free: 10.34 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)