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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.0016/0.0016, allocations: 176.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.745/1.745, 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.0009578/0.0009575, allocations: 92.41 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.796e-05/2.796e-05, allocations: 8 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.649/0.6491, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2076/0.8567, allocations: 146.9 MB / 1.117 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.857, allocations: 87.95 kB / 1.117 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03866/0.8957, allocations: 14.14 MB / 1.131 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8958, allocations: 0 / 1.131 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.638e-05/0.8959, allocations: 20 kB / 1.131 GB, free: 4.926 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.001753/0.8976, allocations: 0.8338 MB / 1.132 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.8977, allocations: 11.59 kB / 1.132 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.8979, allocations: 83.06 kB / 1.132 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008487/0.8988, allocations: 448.2 kB / 1.132 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.899, allocations: 58.94 kB / 1.132 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.8991, allocations: 32 kB / 1.132 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006587/0.8997, allocations: 322.5 kB / 1.132 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/0.9006, allocations: 0.5338 MB / 1.133 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.9007, allocations: 0 / 1.133 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.737e-05/0.9007, allocations: 10.62 kB / 1.133 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.9007, allocations: 12 kB / 1.133 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/0.9036, allocations: 2.541 MB / 1.135 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.904, allocations: 249.9 kB / 1.136 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.9042, allocations: 125.4 kB / 1.136 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.9042, allocations: 4.281 kB / 1.136 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.9046, allocations: 199.2 kB / 1.136 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 3.156e-06/0.9046, allocations: 4 kB / 1.136 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.000597/0.9052, allocations: 308.4 kB / 1.136 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.9053, allocations: 85.11 kB / 1.136 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000701/0.906, allocations: 0.5292 MB / 1.137 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.9061, allocations: 33.7 kB / 1.137 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.9064, allocations: 364.4 kB / 1.137 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/0.9065, allocations: 90.86 kB / 1.137 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.9065, allocations: 0 / 1.137 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.9067, allocations: 374.8 kB / 1.138 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.9069, allocations: 117.5 kB / 1.138 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.9072, allocations: 307.3 kB / 1.138 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.9075, allocations: 128.7 kB / 1.138 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.9075, allocations: 4 kB / 1.138 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007041/0.9082, allocations: 450.8 kB / 1.139 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.9082, allocations: 12.73 kB / 1.139 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.9082, allocations: 8 kB / 1.139 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.9083, allocations: 12.72 kB / 1.139 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.9086, allocations: 75.78 kB / 1.139 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.9086, allocations: 19.98 kB / 1.139 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.9089, allocations: 23.78 kB / 1.139 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.9089, allocations: 31.98 kB / 1.139 GB, free: 12.13 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.0001609/0.9091, allocations: 144.7 kB / 1.139 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004929/0.9096, allocations: 317.9 kB / 1.139 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.931e-05/0.9097, allocations: 71.19 kB / 1.139 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007156/0.9104, allocations: 375.6 kB / 1.14 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.9104, allocations: 4 kB / 1.14 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.9104, allocations: 0 / 1.14 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.9105, allocations: 3.984 kB / 1.14 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.9121, allocations: 0.9556 MB / 1.141 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.9122, allocations: 0 / 1.141 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.9123, allocations: 26.92 kB / 1.141 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.9123, allocations: 4 kB / 1.141 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.9123, allocations: 7.984 kB / 1.141 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9123, allocations: 0 / 1.141 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.9123, allocations: 0 / 1.141 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.913, allocations: 451.2 kB / 1.141 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.9131, allocations: 146.2 kB / 1.141 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.9132, allocations: 11.98 kB / 1.141 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.9134, allocations: 7.984 kB / 1.141 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.9135, allocations: 43.94 kB / 1.141 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.9136, allocations: 15.98 kB / 1.141 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005407/0.9141, allocations: 374.9 kB / 1.142 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9141, allocations: 0 / 1.142 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006486/0.9148, allocations: 103.9 kB / 1.142 GB, free: 9.012 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.001957/0.9167, allocations: 1.295 MB / 1.143 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006501/0.9174, allocations: 346.3 kB / 1.143 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.9174, allocations: 0.5625 kB / 1.143 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.9177, allocations: 167.8 kB / 1.144 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.9182, allocations: 78.02 kB / 1.144 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.9202, allocations: 0.8913 MB / 1.145 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.9208, allocations: 0.9419 MB / 1.145 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002755/0.9211, allocations: 81.3 kB / 1.146 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.9214, allocations: 239.3 kB / 1.146 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/0.9214, allocations: 0 / 1.146 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.9575, allocations: 11.23 MB / 1.157 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.9577, allocations: 179.1 kB / 1.157 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.304/3.262, allocations: 3.938 kB / 1.157 GB, free: 9.797 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)