Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 249.5 MB / 257 MB, free: 6.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009796/0.0009795, allocations: 180.9 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.3 MB / 0.5671 GB, free: 15.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009974/0.0009974, allocations: 91.19 kB / 0.6714 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.877e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2125, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7354/0.948, allocations: 141.6 MB / 1.024 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.9484, allocations: 99.55 kB / 1.024 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03659/0.985, allocations: 13.78 MB / 1.037 GB, free: 488 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.372e-06/0.985, allocations: 7.938 kB / 1.037 GB, free: 480 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.112e-05/0.9851, allocations: 12 kB / 1.037 GB, free: 468 kB / 0.6511 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.001763/0.9869, allocations: 0.8448 MB / 1.038 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.9869, allocations: 8.031 kB / 1.038 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.9872, allocations: 75.14 kB / 1.038 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008564/0.9881, allocations: 464.5 kB / 1.039 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.9881, allocations: 19.56 kB / 1.039 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.9883, allocations: 39.98 kB / 1.039 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007689/0.989, allocations: 390.7 kB / 1.039 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008342/0.9899, allocations: 490.5 kB / 1.039 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.9899, allocations: 4 kB / 1.039 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.99, allocations: 3.984 kB / 1.039 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.99, allocations: 12 kB / 1.039 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.9924, allocations: 1.455 MB / 1.041 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/0.9931, allocations: 427.2 kB / 1.041 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.9934, allocations: 196 kB / 1.041 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.835e-05/0.9935, allocations: 12.55 kB / 1.041 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004704/0.9939, allocations: 289.8 kB / 1.042 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=63): time 3.537e-06/0.994, allocations: 0 / 1.042 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.0008034/0.9948, allocations: 421.1 kB / 1.042 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.9949, allocations: 120 kB / 1.042 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.9954, allocations: 442.2 kB / 1.043 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/0.9955, allocations: 44.69 kB / 1.043 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.9957, allocations: 250 kB / 1.043 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.9959, allocations: 154.1 kB / 1.043 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.9959, allocations: 4 kB / 1.043 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.996, allocations: 366 kB / 1.043 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.9964, allocations: 161.6 kB / 1.044 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.9967, allocations: 291 kB / 1.044 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.997, allocations: 165.9 kB / 1.044 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.997, allocations: 0 / 1.044 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000831/0.9979, allocations: 0.4969 MB / 1.045 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.9979, allocations: 33.7 kB / 1.045 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.9979, allocations: 3.938 kB / 1.045 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.998, allocations: 11.95 kB / 1.045 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.9984, allocations: 90.44 kB / 1.045 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.9984, allocations: 8 kB / 1.045 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.9988, allocations: 63.69 kB / 1.045 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.9989, allocations: 29.94 kB / 1.045 GB, free: 10.16 MB / 0.6667 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.0001801/0.9991, allocations: 152.7 kB / 1.045 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006358/0.9997, allocations: 425.2 kB / 1.045 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/0.9998, allocations: 55.3 kB / 1.045 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008865/1.001, allocations: 0.5038 MB / 1.046 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/1.001, allocations: 8 kB / 1.046 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.001, allocations: 0 / 1.046 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/1.001, allocations: 3.984 kB / 1.046 GB, free: 9.227 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/1.003, allocations: 1.204 MB / 1.047 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.003, allocations: 0 / 1.047 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/1.003, allocations: 62.66 kB / 1.047 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/1.003, allocations: 4 kB / 1.047 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/1.003, allocations: 3.984 kB / 1.047 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/1.003, allocations: 4 kB / 1.047 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.003, allocations: 0 / 1.047 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/1.004, allocations: 0.5678 MB / 1.048 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/1.004, allocations: 145.6 kB / 1.048 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.804e-05/1.004, allocations: 4 kB / 1.048 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/1.004, allocations: 54.56 kB / 1.048 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/1.005, allocations: 90.05 kB / 1.048 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.791e-05/1.005, allocations: 23.3 kB / 1.048 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003456/1.005, allocations: 314.4 kB / 1.048 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.7e-07/1.005, allocations: 0 / 1.048 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000608/1.006, allocations: 131.7 kB / 1.048 GB, free: 7.078 MB / 0.6667 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.002338/1.008, allocations: 1.611 MB / 1.05 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008794/1.009, allocations: 0.517 MB / 1.05 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.009, allocations: 0 / 1.05 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003541/1.009, allocations: 254.9 kB / 1.051 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/1.01, allocations: 69.36 kB / 1.051 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/1.012, allocations: 0.8626 MB / 1.052 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/1.012, allocations: 0.908 MB / 1.053 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003157/1.012, allocations: 92.5 kB / 1.053 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/1.013, allocations: 211.8 kB / 1.053 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of SimCode: time 4.61e-07/1.013, allocations: 0 / 1.053 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/1.048, allocations: 11.72 MB / 1.064 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/1.048, allocations: 214.5 kB / 1.064 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/3.171, allocations: 0 / 1.064 GB, free: 7.254 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)