Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001255/0.001255, allocations: 176.6 kB / 366.7 MB, free: 1.648 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.657/1.657, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0009461/0.0009462, allocations: 87.14 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.406e-05/2.424e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7208/0.7209, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2194/0.9404, allocations: 147.9 MB / 1.118 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.9407, allocations: 97.25 kB / 1.118 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03718/0.9779, allocations: 13.78 MB / 1.131 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9779, allocations: 0 / 1.131 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.844e-05/0.978, allocations: 16 kB / 1.131 GB, free: 4.484 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001829/0.9798, allocations: 0.8475 MB / 1.132 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.9799, allocations: 12.03 kB / 1.132 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002848/0.9802, allocations: 75.14 kB / 1.132 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/0.9811, allocations: 468.6 kB / 1.133 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.9812, allocations: 24 kB / 1.133 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.9813, allocations: 35.98 kB / 1.133 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000793/0.9821, allocations: 390.5 kB / 1.133 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.983, allocations: 481.9 kB / 1.134 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.983, allocations: 3.953 kB / 1.134 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.9831, allocations: 13.86 kB / 1.134 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.9831, allocations: 15.94 kB / 1.134 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.9857, allocations: 1.45 MB / 1.135 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/0.9864, allocations: 432.6 kB / 1.135 GB, free: 100 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.9867, allocations: 203 kB / 1.136 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.752e-05/0.9868, allocations: 12.47 kB / 1.136 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004894/0.9873, allocations: 269.9 kB / 1.136 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=63): time 2.895e-06/0.9873, allocations: 0 / 1.136 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=63): time 0.000797/0.9881, allocations: 430.5 kB / 1.136 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.9882, allocations: 115.4 kB / 1.136 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.9887, allocations: 440.8 kB / 1.137 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.535e-05/0.9888, allocations: 45.69 kB / 1.137 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.989, allocations: 249.1 kB / 1.137 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.9892, allocations: 150 kB / 1.137 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.9892, allocations: 0 / 1.137 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9894, allocations: 376.5 kB / 1.138 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.9897, allocations: 161.5 kB / 1.138 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.9901, allocations: 286.5 kB / 1.138 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.9904, allocations: 160.5 kB / 1.138 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9904, allocations: 0 / 1.138 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008668/0.9913, allocations: 0.5073 MB / 1.139 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.9913, allocations: 33.7 kB / 1.139 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.9914, allocations: 0 / 1.139 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.9914, allocations: 8 kB / 1.139 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.9918, allocations: 87.77 kB / 1.139 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.9918, allocations: 4 kB / 1.139 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.9922, allocations: 79.88 kB / 1.139 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/0.9923, allocations: 20 kB / 1.139 GB, free: 12.41 MB / 0.7448 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 () * 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.0001823/0.9925, allocations: 162.4 kB / 1.139 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006561/0.9931, allocations: 422.4 kB / 1.139 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.9932, allocations: 47.44 kB / 1.14 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008992/0.9941, allocations: 0.5071 MB / 1.14 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.9942, allocations: 8 kB / 1.14 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9942, allocations: 0 / 1.14 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.9942, allocations: 9.766 kB / 1.14 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.9961, allocations: 1.212 MB / 1.141 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.9961, allocations: 0 / 1.141 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.9964, allocations: 63.91 kB / 1.141 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.9964, allocations: 0 / 1.141 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.9965, allocations: 7.984 kB / 1.141 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.9965, allocations: 4 kB / 1.141 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.9965, allocations: 1.812 kB / 1.141 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/0.9973, allocations: 0.5654 MB / 1.142 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.9974, allocations: 140.5 kB / 1.142 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.9975, allocations: 4 kB / 1.142 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.9979, allocations: 51.94 kB / 1.142 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.9981, allocations: 92.42 kB / 1.142 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/0.9981, allocations: 23.98 kB / 1.142 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003458/0.9985, allocations: 318.9 kB / 1.142 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.874e-06/0.9985, allocations: 0 / 1.142 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005625/0.9991, allocations: 135.8 kB / 1.143 GB, free: 8.566 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: 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) * 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.002416/1.002, allocations: 1.599 MB / 1.144 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00079/1.002, allocations: 0.5211 MB / 1.145 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.002, allocations: 0 / 1.145 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003579/1.003, allocations: 246 kB / 1.145 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/1.003, allocations: 74.95 kB / 1.145 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/1.005, allocations: 0.8683 MB / 1.146 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/1.006, allocations: 0.9087 MB / 1.147 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000323/1.006, allocations: 101.1 kB / 1.147 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/1.006, allocations: 213.3 kB / 1.147 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of SimCode: time 4.4e-07/1.006, allocations: 0 / 1.147 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03885/1.045, allocations: 11.7 MB / 1.158 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/1.045, allocations: 211.6 kB / 1.159 GB, free: 8.34 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.522, allocations: 0 / 1.159 GB, free: 8.34 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)