Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.529/1.529, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001292/0.001292, allocations: 188.8 kB / 366.7 MB, free: 1.656 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.339/1.339, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0007604/0.0007606, allocations: 84.5 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.591e-05, allocations: 8 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5698/0.5698, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.7591, allocations: 146.9 MB / 1.117 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.7594, allocations: 87.95 kB / 1.117 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03419/0.7936, allocations: 14.15 MB / 1.131 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7936, allocations: 0 / 1.131 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.3e-05/0.7937, allocations: 23.94 kB / 1.131 GB, free: 5.004 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001105/0.7948, allocations: 0.8262 MB / 1.131 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.7948, allocations: 8.031 kB / 1.131 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.795, allocations: 90.97 kB / 1.132 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000663/0.7956, allocations: 444.1 kB / 1.132 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-05/0.7957, allocations: 51.02 kB / 1.132 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.7958, allocations: 39.98 kB / 1.132 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005551/0.7964, allocations: 318.5 kB / 1.132 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007538/0.7971, allocations: 0.526 MB / 1.133 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.7971, allocations: 8 kB / 1.133 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.7972, allocations: 3.984 kB / 1.133 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.7972, allocations: 16 kB / 1.133 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.7995, allocations: 2.534 MB / 1.135 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.7999, allocations: 239.7 kB / 1.136 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.8001, allocations: 133.4 kB / 1.136 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.8001, allocations: 9.672 kB / 1.136 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.8004, allocations: 199.2 kB / 1.136 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 1.894e-06/0.8005, allocations: 0 / 1.136 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.0005127/0.801, allocations: 312.4 kB / 1.136 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.801, allocations: 81.11 kB / 1.136 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.8016, allocations: 0.5331 MB / 1.137 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.8016, allocations: 33.7 kB / 1.137 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.8019, allocations: 368.4 kB / 1.137 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.802, allocations: 90.86 kB / 1.137 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.802, allocations: 0 / 1.137 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8022, allocations: 374.8 kB / 1.138 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.8024, allocations: 113.5 kB / 1.138 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.8027, allocations: 311.3 kB / 1.138 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.8029, allocations: 132.7 kB / 1.138 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.8029, allocations: 5.969 kB / 1.138 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000626/0.8035, allocations: 447.3 kB / 1.139 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.8036, allocations: 13.05 kB / 1.139 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.8036, allocations: 4 kB / 1.139 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.8036, allocations: 15.94 kB / 1.139 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.8039, allocations: 71.78 kB / 1.139 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.8039, allocations: 15.92 kB / 1.139 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.8041, allocations: 28.53 kB / 1.139 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.8042, allocations: 32.3 kB / 1.139 GB, free: 12.21 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,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.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001322/0.8043, allocations: 138.1 kB / 1.139 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.8044, allocations: 65.91 kB / 1.139 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000633/0.805, allocations: 375.6 kB / 1.139 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.805, allocations: 8 kB / 1.139 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8051, allocations: 7.938 kB / 1.139 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.8051, allocations: 3.984 kB / 1.139 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.8064, allocations: 0.9555 MB / 1.14 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.8064, allocations: 0 / 1.14 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.8065, allocations: 19.98 kB / 1.14 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.8065, allocations: 7.938 kB / 1.14 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.8065, allocations: 8 kB / 1.14 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.8065, allocations: 7 kB / 1.14 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.8065, allocations: 3.75 kB / 1.14 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.8071, allocations: 447.3 kB / 1.141 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.8072, allocations: 148.1 kB / 1.141 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.8073, allocations: 4 kB / 1.141 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.8075, allocations: 7.984 kB / 1.141 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.8076, allocations: 51.92 kB / 1.141 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.8076, allocations: 16 kB / 1.141 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004231/0.808, allocations: 374.9 kB / 1.141 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8081, allocations: 0 / 1.141 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004864/0.8085, allocations: 103.9 kB / 1.141 GB, free: 9.414 MB / 0.7448 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 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,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.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0009288/0.8095, allocations: 411.3 kB / 1.142 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005221/0.81, allocations: 346.5 kB / 1.142 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.81, allocations: 0 / 1.142 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.8102, allocations: 163.8 kB / 1.142 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.8107, allocations: 75.52 kB / 1.142 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.8119, allocations: 0.7613 MB / 1.143 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.8124, allocations: 0.9457 MB / 1.144 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002244/0.8127, allocations: 79.75 kB / 1.144 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.8128, allocations: 43.42 kB / 1.144 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of SimCode: time 2.61e-07/0.8128, allocations: 0 / 1.144 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of Templates: time 0.01036/0.8231, allocations: 5.066 MB / 1.149 GB, free: 1.75 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)