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.559/1.559, allocations: 249.3 MB / 261.8 MB, free: 5.859 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.001266/0.001265, allocations: 182.1 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.1 MB / 0.572 GB, free: 10.68 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.0008842/0.0008842, allocations: 82.52 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.52e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1975, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7378/0.9353, allocations: 141.3 MB / 1.03 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.9357, allocations: 92.56 kB / 1.03 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03852/0.9742, allocations: 13.95 MB / 1.044 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9742, allocations: 3.938 kB / 1.044 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.481e-05/0.9743, allocations: 12 kB / 1.044 GB, free: 13.73 MB / 0.6667 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.001456/0.9758, allocations: 0.8476 MB / 1.044 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.9758, allocations: 16.03 kB / 1.044 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.976, allocations: 92.69 kB / 1.045 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.9761, allocations: 75.09 kB / 1.045 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008124/0.9769, allocations: 465.7 kB / 1.045 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.977, allocations: 45 kB / 1.045 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/0.9771, allocations: 54.36 kB / 1.045 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009188/0.978, allocations: 0.536 MB / 1.046 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.978, allocations: 4 kB / 1.046 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.9781, allocations: 22.25 kB / 1.046 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.9781, allocations: 12 kB / 1.046 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006946/0.9788, allocations: 417.2 kB / 1.046 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.9812, allocations: 1.549 MB / 1.048 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.9819, allocations: 472.1 kB / 1.048 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.9822, allocations: 217.1 kB / 1.048 GB, free: 9.941 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.9823, allocations: 16.42 kB / 1.048 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004845/0.9828, allocations: 290.7 kB / 1.049 GB, free: 9.703 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=63): time 2.926e-06/0.9828, allocations: 0 / 1.049 GB, free: 9.703 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.0008308/0.9836, allocations: 461.6 kB / 1.049 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.9837, allocations: 115.8 kB / 1.049 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.9843, allocations: 466.6 kB / 1.05 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.781e-05/0.9843, allocations: 55.58 kB / 1.05 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.9845, allocations: 252.6 kB / 1.05 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.9847, allocations: 165.1 kB / 1.05 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.9847, allocations: 14.5 kB / 1.05 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002117/0.9849, allocations: 362.9 kB / 1.05 GB, free: 8.156 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.9853, allocations: 177.7 kB / 1.051 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.9857, allocations: 307.3 kB / 1.051 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.9861, allocations: 208.6 kB / 1.051 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9861, allocations: 0 / 1.051 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009088/0.987, allocations: 0.5839 MB / 1.052 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.9871, allocations: 33.7 kB / 1.052 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9871, allocations: 0 / 1.052 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.9871, allocations: 8 kB / 1.052 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.9875, allocations: 87.5 kB / 1.052 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.9875, allocations: 4 kB / 1.052 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.9879, allocations: 81.39 kB / 1.052 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.988, allocations: 31.55 kB / 1.052 GB, free: 6.957 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.0001933/0.9882, allocations: 179.5 kB / 1.052 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.9883, allocations: 59.28 kB / 1.052 GB, free: 6.742 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009459/0.9892, allocations: 0.5384 MB / 1.053 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.9893, allocations: 4 kB / 1.053 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.9893, allocations: 4 kB / 1.053 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.9893, allocations: 3.984 kB / 1.053 GB, free: 6.34 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.9913, allocations: 1.332 MB / 1.054 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.9913, allocations: 4 kB / 1.054 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.9916, allocations: 62.91 kB / 1.054 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.9916, allocations: 4 kB / 1.054 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.9916, allocations: 15.05 kB / 1.054 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.9916, allocations: 0 / 1.054 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9916, allocations: 0 / 1.054 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/0.9924, allocations: 0.6058 MB / 1.055 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.9926, allocations: 144.2 kB / 1.055 GB, free: 4.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/0.9927, allocations: 14.12 kB / 1.055 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.9931, allocations: 65.88 kB / 1.055 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.9933, allocations: 89.3 kB / 1.055 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.9933, allocations: 27.11 kB / 1.055 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003812/0.9937, allocations: 328.8 kB / 1.055 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9937, allocations: 0 / 1.055 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006221/0.9944, allocations: 154.2 kB / 1.055 GB, free: 4.035 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.002478/0.9968, allocations: 1.698 MB / 1.057 GB, free: 2.609 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009607/0.9978, allocations: 0.5498 MB / 1.058 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9978, allocations: 0 / 1.058 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.9982, allocations: 264 kB / 1.058 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.9987, allocations: 85.09 kB / 1.058 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/1.001, allocations: 0.9337 MB / 1.059 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/1.001, allocations: 0.9069 MB / 1.06 GB, free: 232 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003235/1.001, allocations: 88.58 kB / 1.06 GB, free: 140 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/1.002, allocations: 212.8 kB / 1.06 GB, free: 68 kB / 0.6667 GB Notification: Performance of SimCode: time 9.41e-07/1.002, allocations: 0 / 1.06 GB, free: 68 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/1.029, allocations: 12.43 MB / 1.072 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/1.03, allocations: 238.8 kB / 1.072 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.341, allocations: 0 / 1.072 GB, free: 3.5 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)