Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",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.601/1.601, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001019/0.00102, allocations: 184.2 kB / 371.6 MB, free: 3.32 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.758/1.758, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008291/0.0008291, allocations: 94.34 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.194e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2256, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7296/0.9553, allocations: 146.6 MB / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.9556, allocations: 91.91 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03245/0.988, allocations: 14.25 MB / 1.137 GB, free: 30.76 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9881, allocations: 0 / 1.137 GB, free: 30.76 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.201e-05/0.9882, allocations: 12 kB / 1.137 GB, free: 30.75 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001509/0.9897, allocations: 0.8339 MB / 1.138 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.9897, allocations: 8.031 kB / 1.138 GB, free: 29.98 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.9899, allocations: 93.34 kB / 1.138 GB, free: 29.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.9901, allocations: 87.69 kB / 1.138 GB, free: 29.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008283/0.991, allocations: 452.2 kB / 1.139 GB, free: 29.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/0.991, allocations: 43.06 kB / 1.139 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/0.9911, allocations: 59.19 kB / 1.139 GB, free: 29.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009649/0.9921, allocations: 0.5918 MB / 1.139 GB, free: 28.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.9921, allocations: 3.938 kB / 1.139 GB, free: 28.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.9922, allocations: 24.11 kB / 1.139 GB, free: 28.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.9922, allocations: 15.95 kB / 1.139 GB, free: 28.94 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.9928, allocations: 369.7 kB / 1.14 GB, free: 28.71 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.9954, allocations: 2.558 MB / 1.142 GB, free: 26.65 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.9959, allocations: 269.1 kB / 1.142 GB, free: 26.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.9961, allocations: 142.9 kB / 1.142 GB, free: 26.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.9962, allocations: 4.844 kB / 1.142 GB, free: 26.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003391/0.9965, allocations: 214.9 kB / 1.143 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 2.535e-06/0.9965, allocations: 0 / 1.143 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.0005988/0.9971, allocations: 347.7 kB / 1.143 GB, free: 25.99 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.9972, allocations: 86.45 kB / 1.143 GB, free: 25.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000683/0.9979, allocations: 0.5761 MB / 1.144 GB, free: 25.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.9979, allocations: 46.02 kB / 1.144 GB, free: 25.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.9982, allocations: 363.1 kB / 1.144 GB, free: 25.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.9983, allocations: 92.22 kB / 1.144 GB, free: 25.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.9984, allocations: 16.12 kB / 1.144 GB, free: 25.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.9985, allocations: 375.9 kB / 1.145 GB, free: 24.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.9987, allocations: 125.1 kB / 1.145 GB, free: 24.76 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.9991, allocations: 329.9 kB / 1.145 GB, free: 24.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.9993, allocations: 144.5 kB / 1.145 GB, free: 24.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.9994, allocations: 0 / 1.145 GB, free: 24.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007566/1, allocations: 0.5071 MB / 1.146 GB, free: 23.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1, allocations: 11.95 kB / 1.146 GB, free: 23.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1, allocations: 9.828 kB / 1.146 GB, free: 23.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/1, allocations: 8 kB / 1.146 GB, free: 23.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/1, allocations: 73.16 kB / 1.146 GB, free: 23.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/1, allocations: 17.11 kB / 1.146 GB, free: 23.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/1.001, allocations: 48.72 kB / 1.146 GB, free: 23.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/1.001, allocations: 32.52 kB / 1.146 GB, free: 23.8 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: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0001302/1.001, allocations: 165.6 kB / 1.146 GB, free: 23.65 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.605e-05/1.001, allocations: 60.52 kB / 1.146 GB, free: 23.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006264/1.002, allocations: 406.8 kB / 1.146 GB, free: 23.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.002, allocations: 8 kB / 1.146 GB, free: 23.33 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.002, allocations: 0 / 1.146 GB, free: 23.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/1.002, allocations: 2.344 kB / 1.146 GB, free: 23.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/1.003, allocations: 1.056 MB / 1.147 GB, free: 22.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.003, allocations: 0 / 1.147 GB, free: 22.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/1.003, allocations: 27.77 kB / 1.147 GB, free: 22.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/1.003, allocations: 8.844 kB / 1.147 GB, free: 22.58 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/1.003, allocations: 5.25 kB / 1.147 GB, free: 22.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/1.003, allocations: 5.797 kB / 1.147 GB, free: 22.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.003, allocations: 0.8906 kB / 1.147 GB, free: 22.58 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/1.004, allocations: 477.9 kB / 1.148 GB, free: 22.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/1.004, allocations: 150.4 kB / 1.148 GB, free: 22.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/1.004, allocations: 9.406 kB / 1.148 GB, free: 22.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/1.004, allocations: 18.47 kB / 1.148 GB, free: 22.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.004, allocations: 49.19 kB / 1.148 GB, free: 22.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/1.004, allocations: 18.05 kB / 1.148 GB, free: 22 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004313/1.005, allocations: 421.5 kB / 1.149 GB, free: 21.72 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.41e-07/1.005, allocations: 0 / 1.149 GB, free: 21.72 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005139/1.005, allocations: 125 kB / 1.149 GB, free: 21.62 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: 37 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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.001716/1.007, allocations: 1.339 MB / 1.15 GB, free: 20.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005917/1.008, allocations: 374.3 kB / 1.15 GB, free: 20.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.008, allocations: 0 / 1.15 GB, free: 20.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/1.008, allocations: 175.3 kB / 1.15 GB, free: 20.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/1.008, allocations: 82.22 kB / 1.151 GB, free: 20.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/1.01, allocations: 0.9525 MB / 1.152 GB, free: 19.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/1.011, allocations: 0.9505 MB / 1.152 GB, free: 18.49 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002679/1.011, allocations: 78.23 kB / 1.153 GB, free: 18.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/1.011, allocations: 252 kB / 1.153 GB, free: 18.39 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.011, allocations: 0 / 1.153 GB, free: 18.39 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/1.039, allocations: 12.15 MB / 1.165 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/1.039, allocations: 206.6 kB / 1.165 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.289, allocations: 0 / 1.165 GB, free: 10.73 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)