Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.539/1.539, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.0009869/0.000987, allocations: 172.8 kB / 366.7 MB, free: 1.633 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.517/1.517, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008483/0.0008481, allocations: 77.73 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.957e-05, allocations: 8 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5729/0.573, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.7531, allocations: 147.1 MB / 1.117 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.7533, allocations: 91.94 kB / 1.117 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0383/0.7917, allocations: 15.17 MB / 1.132 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7917, allocations: 0 / 1.132 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.922e-05/0.7918, allocations: 23.98 kB / 1.132 GB, free: 3.785 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.00148/0.7933, allocations: 0.8994 MB / 1.133 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.7933, allocations: 8.031 kB / 1.133 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.7935, allocations: 94.88 kB / 1.133 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/0.7942, allocations: 456.1 kB / 1.133 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.7943, allocations: 64.91 kB / 1.133 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.7944, allocations: 41.98 kB / 1.133 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006355/0.7951, allocations: 354.5 kB / 1.134 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008371/0.7959, allocations: 0.5612 MB / 1.134 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.7959, allocations: 11.89 kB / 1.134 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.796, allocations: 0 / 1.134 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.796, allocations: 16 kB / 1.134 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.7986, allocations: 2.588 MB / 1.137 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.7991, allocations: 247.1 kB / 1.137 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.7993, allocations: 128.8 kB / 1.137 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.7993, allocations: 7.984 kB / 1.137 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.7996, allocations: 183.4 kB / 1.137 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 1.994e-06/0.7996, allocations: 0 / 1.137 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.0005075/0.8001, allocations: 288.6 kB / 1.138 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.8002, allocations: 81.11 kB / 1.138 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006017/0.8008, allocations: 0.5459 MB / 1.138 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.8008, allocations: 41.7 kB / 1.138 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.8011, allocations: 396 kB / 1.139 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.8012, allocations: 90.86 kB / 1.139 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.8013, allocations: 0 / 1.139 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.8014, allocations: 386.7 kB / 1.139 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.8017, allocations: 127.3 kB / 1.139 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.802, allocations: 345.6 kB / 1.14 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.8023, allocations: 139 kB / 1.14 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.8023, allocations: 4 kB / 1.14 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007276/0.803, allocations: 476.4 kB / 1.14 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.803, allocations: 11.94 kB / 1.14 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.803, allocations: 4.938 kB / 1.14 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.8031, allocations: 12 kB / 1.14 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.8034, allocations: 84.3 kB / 1.14 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.8034, allocations: 8 kB / 1.14 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.8038, allocations: 59.66 kB / 1.14 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.8038, allocations: 31.92 kB / 1.14 GB, free: 10.64 MB / 0.7448 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 () * 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.0001451/0.804, allocations: 155.4 kB / 1.14 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.8041, allocations: 63.16 kB / 1.141 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006163/0.8047, allocations: 355.1 kB / 1.141 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.8047, allocations: 4 kB / 1.141 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8047, allocations: 3.938 kB / 1.141 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.8047, allocations: 4 kB / 1.141 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.806, allocations: 0.92 MB / 1.142 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.806, allocations: 1.406 kB / 1.142 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.8062, allocations: 35.91 kB / 1.142 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.8062, allocations: 4 kB / 1.142 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.8062, allocations: 3.984 kB / 1.142 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.8062, allocations: 4 kB / 1.142 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8062, allocations: 0 / 1.142 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005496/0.8068, allocations: 443.1 kB / 1.142 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.8069, allocations: 140.2 kB / 1.142 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.807, allocations: 8.031 kB / 1.142 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.8072, allocations: 23.97 kB / 1.142 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.8074, allocations: 55.91 kB / 1.142 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.8074, allocations: 20.61 kB / 1.142 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003944/0.8078, allocations: 387.1 kB / 1.143 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8078, allocations: 0 / 1.143 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005027/0.8083, allocations: 103.8 kB / 1.143 GB, free: 7.859 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: 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) * 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.0009149/0.8092, allocations: 424.2 kB / 1.143 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005526/0.8098, allocations: 354.2 kB / 1.144 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8098, allocations: 128 / 1.144 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.8101, allocations: 160.9 kB / 1.144 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.8105, allocations: 78.94 kB / 1.144 GB, free: 7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.812, allocations: 0.7923 MB / 1.145 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/0.8126, allocations: 0.9669 MB / 1.146 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002703/0.8129, allocations: 76.09 kB / 1.146 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.813, allocations: 51.41 kB / 1.146 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/0.813, allocations: 0 / 1.146 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.01148/0.8245, allocations: 5.338 MB / 1.151 GB, free: 15.86 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)