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.409/1.409, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 180.7 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009276/0.0009274, allocations: 106.3 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 9.875 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2603, allocations: 106.4 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.4565, allocations: 141.4 MB / 1.038 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.4568, allocations: 95.94 kB / 1.038 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03739/0.4942, allocations: 13.99 MB / 1.052 GB, free: 4.078 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.035e-06/0.4942, allocations: 7.938 kB / 1.052 GB, free: 4.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.335e-05/0.4943, allocations: 16 kB / 1.052 GB, free: 4.055 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.001679/0.496, allocations: 0.9096 MB / 1.053 GB, free: 3.078 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.496, allocations: 8.031 kB / 1.053 GB, free: 3.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.4962, allocations: 90.52 kB / 1.053 GB, free: 2.973 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.4963, allocations: 75.14 kB / 1.053 GB, free: 2.898 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008115/0.4971, allocations: 473.8 kB / 1.054 GB, free: 2.395 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/0.4972, allocations: 48.98 kB / 1.054 GB, free: 2.348 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.331e-05/0.4973, allocations: 60 kB / 1.054 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.4984, allocations: 0.566 MB / 1.054 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.4985, allocations: 0 / 1.054 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.4985, allocations: 23.98 kB / 1.054 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.4986, allocations: 15.94 kB / 1.054 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009562/0.4995, allocations: 475.7 kB / 1.055 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.522/1.022, allocations: 1.539 MB / 1.056 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/1.023, allocations: 0.5067 MB / 1.057 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/1.023, allocations: 7.906 kB / 1.057 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006608/1.023, allocations: 317.3 kB / 1.057 GB, free: 144 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 4.498e-06/1.023, allocations: 0 / 1.057 GB, free: 144 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.001437/1.025, allocations: 0.688 MB / 1.058 GB, free: 144 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/1.025, allocations: 120 kB / 1.058 GB, free: 143.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/1.026, allocations: 465.2 kB / 1.058 GB, free: 143.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.087e-05/1.026, allocations: 55.97 kB / 1.058 GB, free: 143.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/1.026, allocations: 252.8 kB / 1.058 GB, free: 143.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/1.026, allocations: 156.5 kB / 1.059 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/1.026, allocations: 13.75 kB / 1.059 GB, free: 143.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.026, allocations: 368.2 kB / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/1.027, allocations: 212.7 kB / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/1.027, allocations: 334.1 kB / 1.06 GB, free: 143.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/1.027, allocations: 227.5 kB / 1.06 GB, free: 143.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.027, allocations: 1.203 kB / 1.06 GB, free: 143.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001069/1.029, allocations: 0.6312 MB / 1.06 GB, free: 143 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/1.029, allocations: 31.61 kB / 1.06 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.029, allocations: 2.969 kB / 1.06 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.029, allocations: 5.656 kB / 1.06 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/1.029, allocations: 91 kB / 1.06 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.029, allocations: 5.719 kB / 1.06 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/1.029, allocations: 82.98 kB / 1.061 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/1.03, allocations: 25.22 kB / 1.061 GB, free: 142.9 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.0003515/1.03, allocations: 269.6 kB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/1.03, allocations: 60.86 kB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/1.031, allocations: 0.5876 MB / 1.061 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/1.031, allocations: 8.938 kB / 1.061 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.031, allocations: 6.797 kB / 1.061 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.031, allocations: 3.328 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/1.033, allocations: 1.373 MB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/1.033, allocations: 0.8125 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/1.034, allocations: 61.72 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/1.034, allocations: 6.25 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/1.034, allocations: 23.02 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.034, allocations: 3 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.034, allocations: 1.672 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/1.035, allocations: 0.6392 MB / 1.064 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/1.035, allocations: 147.7 kB / 1.064 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.612e-05/1.035, allocations: 18.34 kB / 1.064 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/1.036, allocations: 65.42 kB / 1.064 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/1.036, allocations: 92.36 kB / 1.064 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/1.036, allocations: 21.64 kB / 1.064 GB, free: 142.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003969/1.036, allocations: 334.1 kB / 1.064 GB, free: 142 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/1.036, allocations: 2.969 kB / 1.064 GB, free: 142 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006052/1.037, allocations: 154.8 kB / 1.064 GB, free: 142 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.00302/1.04, allocations: 1.827 MB / 1.066 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001445/1.041, allocations: 0.5987 MB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.041, allocations: 1.812 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006403/1.042, allocations: 295.3 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/1.043, allocations: 82.67 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006506/1.049, allocations: 4.382 MB / 1.071 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/1.05, allocations: 0.9029 MB / 1.072 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004468/1.05, allocations: 89.42 kB / 1.072 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/1.051, allocations: 215.4 kB / 1.073 GB, free: 138.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/1.051, allocations: 0.7188 kB / 1.073 GB, free: 138.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/1.083, allocations: 12.38 MB / 1.085 GB, free: 137.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/1.084, allocations: 262.8 kB / 1.085 GB, free: 136.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/3.688, allocations: 0 / 1.085 GB, free: 136.8 MB / 0.698 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)