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.84/1.84, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001889/0.001889, allocations: 185 kB / 377.1 MB, free: 1.52 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.815/1.815, allocations: 205.4 MB / 0.6366 GB, free: 8.531 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.000907/0.0009072, allocations: 93.58 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.0004459, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2972, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8456/1.143, allocations: 148.6 MB / 1.134 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/1.143, allocations: 100.9 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04138/1.185, allocations: 13.99 MB / 1.147 GB, free: 18.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.454e-06/1.185, allocations: 0 / 1.147 GB, free: 18.47 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.242e-05/1.185, allocations: 16 kB / 1.147 GB, free: 18.46 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.001617/1.186, allocations: 0.92 MB / 1.148 GB, free: 17.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.186, allocations: 8.828 kB / 1.148 GB, free: 17.55 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/1.187, allocations: 90.66 kB / 1.148 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/1.187, allocations: 71.44 kB / 1.148 GB, free: 17.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008134/1.187, allocations: 480.8 kB / 1.149 GB, free: 16.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/1.188, allocations: 46.55 kB / 1.149 GB, free: 16.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/1.188, allocations: 58.33 kB / 1.149 GB, free: 16.85 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/1.189, allocations: 0.5602 MB / 1.149 GB, free: 16.37 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/1.189, allocations: 4 kB / 1.149 GB, free: 16.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/1.189, allocations: 21.41 kB / 1.15 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/1.189, allocations: 13.03 kB / 1.15 GB, free: 16.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008912/1.19, allocations: 467.3 kB / 1.15 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/1.192, allocations: 1.557 MB / 1.151 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/1.193, allocations: 0.4981 MB / 1.152 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/1.193, allocations: 9.688 kB / 1.152 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006063/1.194, allocations: 315 kB / 1.152 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.647e-06/1.194, allocations: 1.594 kB / 1.152 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001378/1.195, allocations: 0.6902 MB / 1.153 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/1.195, allocations: 126.2 kB / 1.153 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/1.196, allocations: 458.7 kB / 1.154 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/1.196, allocations: 59.44 kB / 1.154 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/1.196, allocations: 253.4 kB / 1.154 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/1.196, allocations: 150.2 kB / 1.154 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/1.196, allocations: 16 kB / 1.154 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.197, allocations: 365.8 kB / 1.154 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/1.197, allocations: 205.3 kB / 1.155 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/1.197, allocations: 336.3 kB / 1.155 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/1.198, allocations: 230.4 kB / 1.155 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.198, allocations: 0 / 1.155 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001018/1.199, allocations: 0.635 MB / 1.156 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/1.199, allocations: 35.2 kB / 1.156 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.199, allocations: 0 / 1.156 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/1.199, allocations: 11.95 kB / 1.156 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/1.199, allocations: 86.42 kB / 1.156 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/1.199, allocations: 7.938 kB / 1.156 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/1.2, allocations: 92.09 kB / 1.156 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/1.2, allocations: 21.5 kB / 1.156 GB, free: 10.44 MB / 0.7292 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.0004851/1.2, allocations: 268.1 kB / 1.156 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.404e-05/1.2, allocations: 49.03 kB / 1.156 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/1.202, allocations: 0.5941 MB / 1.157 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/1.202, allocations: 8 kB / 1.157 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.202, allocations: 3.953 kB / 1.157 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.202, allocations: 3.328 kB / 1.157 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/1.204, allocations: 1.394 MB / 1.158 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.204, allocations: 0 / 1.158 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/1.204, allocations: 61.31 kB / 1.158 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/1.204, allocations: 0 / 1.158 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/1.204, allocations: 16.52 kB / 1.158 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.204, allocations: 4 kB / 1.158 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.204, allocations: 0 / 1.158 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008948/1.205, allocations: 0.6484 MB / 1.159 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/1.205, allocations: 148.3 kB / 1.159 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/1.205, allocations: 19.94 kB / 1.159 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/1.206, allocations: 63.94 kB / 1.159 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/1.206, allocations: 93.64 kB / 1.159 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/1.206, allocations: 23.98 kB / 1.159 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003791/1.206, allocations: 331.1 kB / 1.16 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.206, allocations: 0 / 1.16 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000598/1.207, allocations: 155.9 kB / 1.16 GB, free: 6.828 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: 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.002859/1.21, allocations: 1.819 MB / 1.161 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001178/1.211, allocations: 0.6013 MB / 1.162 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.211, allocations: 64 / 1.162 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004518/1.211, allocations: 295.1 kB / 1.162 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/1.212, allocations: 83.98 kB / 1.162 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/1.217, allocations: 4.374 MB / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/1.217, allocations: 0.9087 MB / 1.168 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004028/1.218, allocations: 93.27 kB / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/1.218, allocations: 211.4 kB / 1.168 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/1.218, allocations: 0 / 1.168 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/1.249, allocations: 12.37 MB / 1.18 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/1.249, allocations: 261.6 kB / 1.18 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.636, allocations: 0 / 1.18 GB, free: 2.074 MB / 0.7448 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)