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.634/1.634, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001471/0.001471, allocations: 173 kB / 377.1 MB, free: 1.531 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.611/1.611, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.001035/0.001035, allocations: 98.11 kB / 0.7509 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003738, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2956, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8517/1.147, allocations: 147.6 MB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.148, allocations: 94.86 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03857/1.186, allocations: 14.4 MB / 1.147 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.679e-06/1.186, allocations: 0 / 1.147 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.018e-05/1.186, allocations: 23.94 kB / 1.147 GB, free: 18.52 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.001374/1.188, allocations: 0.92 MB / 1.148 GB, free: 17.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.188, allocations: 16.02 kB / 1.148 GB, free: 17.6 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/1.188, allocations: 95.73 kB / 1.148 GB, free: 17.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/1.188, allocations: 87.72 kB / 1.148 GB, free: 17.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/1.189, allocations: 443.7 kB / 1.148 GB, free: 17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.054e-05/1.189, allocations: 75.92 kB / 1.148 GB, free: 16.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/1.189, allocations: 57.3 kB / 1.148 GB, free: 16.87 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008671/1.19, allocations: 0.6075 MB / 1.149 GB, free: 16.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/1.19, allocations: 1.031 kB / 1.149 GB, free: 16.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/1.19, allocations: 25.69 kB / 1.149 GB, free: 16.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/1.19, allocations: 12 kB / 1.149 GB, free: 16.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005912/1.19, allocations: 381.5 kB / 1.149 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/1.193, allocations: 2.641 MB / 1.152 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/1.193, allocations: 277.1 kB / 1.152 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/1.193, allocations: 288 / 1.152 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003845/1.194, allocations: 209.2 kB / 1.152 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=38): time 2.835e-06/1.194, allocations: 0 / 1.152 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38): time 0.0008142/1.195, allocations: 459.4 kB / 1.153 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/1.195, allocations: 82.33 kB / 1.153 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006716/1.195, allocations: 0.5802 MB / 1.154 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/1.195, allocations: 42.88 kB / 1.154 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/1.196, allocations: 367.5 kB / 1.154 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/1.196, allocations: 91.45 kB / 1.154 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/1.196, allocations: 12 kB / 1.154 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.196, allocations: 380 kB / 1.154 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/1.196, allocations: 136.7 kB / 1.155 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/1.196, allocations: 326.2 kB / 1.155 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/1.197, allocations: 146.2 kB / 1.155 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.197, allocations: 4 kB / 1.155 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000741/1.197, allocations: 0.5171 MB / 1.155 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.197, allocations: 8 kB / 1.155 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.197, allocations: 6 kB / 1.155 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/1.198, allocations: 12 kB / 1.156 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/1.198, allocations: 82.45 kB / 1.156 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/1.198, allocations: 8 kB / 1.156 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/1.198, allocations: 43.48 kB / 1.156 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/1.198, allocations: 30.36 kB / 1.156 GB, free: 9.883 MB / 0.7292 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 () * Number of clocked 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.0003508/1.198, allocations: 263 kB / 1.156 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-05/1.199, allocations: 72.23 kB / 1.156 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007826/1.199, allocations: 412.6 kB / 1.156 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/1.199, allocations: 7.938 kB / 1.156 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.199, allocations: 0 / 1.156 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/1.199, allocations: 1.5 kB / 1.156 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/1.201, allocations: 1.06 MB / 1.157 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.201, allocations: 0 / 1.157 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/1.201, allocations: 24.16 kB / 1.157 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/1.201, allocations: 0.9375 kB / 1.157 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/1.201, allocations: 11.84 kB / 1.157 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.201, allocations: 4 kB / 1.157 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.201, allocations: 5.578 kB / 1.157 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/1.202, allocations: 488.2 kB / 1.158 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/1.202, allocations: 139.6 kB / 1.158 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/1.202, allocations: 13.78 kB / 1.158 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/1.202, allocations: 15.52 kB / 1.158 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.202, allocations: 46.23 kB / 1.158 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/1.202, allocations: 19.33 kB / 1.158 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004466/1.203, allocations: 418.4 kB / 1.159 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.203, allocations: 0 / 1.159 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005531/1.203, allocations: 131.2 kB / 1.159 GB, free: 7.062 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 (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) * Number of clocked states: 0 () * 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.002108/1.205, allocations: 1.386 MB / 1.16 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006788/1.206, allocations: 386.9 kB / 1.16 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.206, allocations: 4.188 kB / 1.16 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/1.206, allocations: 180.8 kB / 1.161 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/1.207, allocations: 84.86 kB / 1.161 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/1.212, allocations: 7.206 MB / 1.168 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/1.213, allocations: 0.9446 MB / 1.169 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002886/1.213, allocations: 83.36 kB / 1.169 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/1.214, allocations: 243.3 kB / 1.169 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/1.214, allocations: 0 / 1.169 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/1.243, allocations: 12.02 MB / 1.181 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/1.243, allocations: 229.4 kB / 1.181 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/3.84, allocations: 4.062 kB / 1.181 GB, free: 1.008 MB / 0.7448 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)