Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.788/1.788, allocations: 288.2 MB / 303.2 MB, free: 8.227 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.001311/0.001311, allocations: 185.6 kB / 371.8 MB, free: 10.26 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.671/1.671, allocations: 205.4 MB / 0.6305 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009681/0.0009681, allocations: 89.09 kB / 0.7439 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004057, allocations: 10.91 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2087, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.687/0.8957, allocations: 147.6 MB / 1.124 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.896, allocations: 100.9 kB / 1.124 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03416/0.9301, allocations: 13.97 MB / 1.137 GB, free: 28.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9302, allocations: 3.844 kB / 1.137 GB, free: 28.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.758e-05/0.9302, allocations: 15.56 kB / 1.137 GB, free: 28.09 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001904/0.9322, allocations: 0.9171 MB / 1.138 GB, free: 27.35 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.9322, allocations: 15.55 kB / 1.138 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/0.9324, allocations: 93.61 kB / 1.138 GB, free: 27.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.9326, allocations: 69.98 kB / 1.138 GB, free: 27.26 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000815/0.9334, allocations: 477.2 kB / 1.139 GB, free: 26.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.9335, allocations: 48.62 kB / 1.139 GB, free: 26.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.695e-05/0.9336, allocations: 55.27 kB / 1.139 GB, free: 26.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.9347, allocations: 0.5666 MB / 1.14 GB, free: 26.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.9347, allocations: 0 / 1.14 GB, free: 26.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.9348, allocations: 24.73 kB / 1.14 GB, free: 26.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.9348, allocations: 11.5 kB / 1.14 GB, free: 26.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000954/0.9358, allocations: 466.7 kB / 1.14 GB, free: 26.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.9386, allocations: 1.543 MB / 1.142 GB, free: 25.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.9396, allocations: 0.5089 MB / 1.142 GB, free: 25.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/0.9397, allocations: 11.94 kB / 1.142 GB, free: 25.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006929/0.9404, allocations: 318.8 kB / 1.142 GB, free: 25.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 3.967e-06/0.9404, allocations: 0 / 1.142 GB, free: 25.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.00155/0.942, allocations: 0.6868 MB / 1.143 GB, free: 25.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.623e-05/0.9421, allocations: 118.8 kB / 1.143 GB, free: 25.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007134/0.9428, allocations: 467.3 kB / 1.144 GB, free: 25.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.9429, allocations: 54.66 kB / 1.144 GB, free: 25.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.9433, allocations: 260.6 kB / 1.144 GB, free: 25.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.9435, allocations: 150.8 kB / 1.144 GB, free: 24.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.9435, allocations: 12.41 kB / 1.144 GB, free: 24.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002481/0.9438, allocations: 371 kB / 1.144 GB, free: 24.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.9443, allocations: 200.2 kB / 1.145 GB, free: 24.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.9448, allocations: 343 kB / 1.145 GB, free: 24.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/0.9453, allocations: 228.5 kB / 1.145 GB, free: 24.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.9453, allocations: 0 / 1.145 GB, free: 24.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001205/0.9466, allocations: 0.6305 MB / 1.146 GB, free: 24.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.9466, allocations: 37.27 kB / 1.146 GB, free: 24.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.9467, allocations: 0 / 1.146 GB, free: 24.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/0.9467, allocations: 15.92 kB / 1.146 GB, free: 24.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.9471, allocations: 89.69 kB / 1.146 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.9471, allocations: 3.844 kB / 1.146 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.9476, allocations: 83.98 kB / 1.146 GB, free: 24.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.9477, allocations: 29.8 kB / 1.146 GB, free: 24.11 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * 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.0004305/0.9481, allocations: 267.7 kB / 1.146 GB, free: 23.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.9483, allocations: 50.11 kB / 1.146 GB, free: 23.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.9494, allocations: 0.5972 MB / 1.147 GB, free: 23.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.9494, allocations: 7.656 kB / 1.147 GB, free: 23.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.9494, allocations: 3.953 kB / 1.147 GB, free: 23.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.9494, allocations: 7.984 kB / 1.147 GB, free: 23.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.9516, allocations: 1.38 MB / 1.148 GB, free: 23.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.9517, allocations: 0 / 1.148 GB, free: 23.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.9519, allocations: 62.03 kB / 1.148 GB, free: 23.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.9519, allocations: 0 / 1.148 GB, free: 23.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.952, allocations: 18.48 kB / 1.148 GB, free: 23.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.952, allocations: 0 / 1.148 GB, free: 23.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.952, allocations: 0 / 1.148 GB, free: 23.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000978/0.953, allocations: 0.6466 MB / 1.149 GB, free: 22.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.9531, allocations: 146.8 kB / 1.149 GB, free: 22.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.783e-05/0.9532, allocations: 22.81 kB / 1.149 GB, free: 22.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.9536, allocations: 61.5 kB / 1.149 GB, free: 22.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.9538, allocations: 92.48 kB / 1.149 GB, free: 22.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.9539, allocations: 27.33 kB / 1.149 GB, free: 22.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003651/0.9542, allocations: 337 kB / 1.15 GB, free: 22.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9543, allocations: 0 / 1.15 GB, free: 22.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006527/0.9549, allocations: 156.2 kB / 1.15 GB, free: 22.59 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.002784/0.9577, allocations: 1.824 MB / 1.152 GB, free: 21.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.9589, allocations: 0.5969 MB / 1.152 GB, free: 21.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9589, allocations: 0 / 1.152 GB, free: 21.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004805/0.9594, allocations: 291.3 kB / 1.152 GB, free: 21.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.96, allocations: 88.53 kB / 1.153 GB, free: 21.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0061/0.9661, allocations: 4.382 MB / 1.157 GB, free: 18.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.9667, allocations: 0.9031 MB / 1.158 GB, free: 17.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003575/0.9671, allocations: 92.56 kB / 1.158 GB, free: 17.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.9674, allocations: 214.9 kB / 1.158 GB, free: 17.66 MB / 0.698 GB Notification: Performance of SimCode: time 1.332e-06/0.9674, allocations: 0 / 1.158 GB, free: 17.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.9976, allocations: 12.39 MB / 1.17 GB, free: 5.461 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/0.9979, allocations: 260.4 kB / 1.17 GB, free: 5.105 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/3.269, allocations: 0 / 1.17 GB, free: 5.105 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)