Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.114/2.114, allocations: 251 MB / 265.9 MB, free: 11.68 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.002469/0.002469, allocations: 179.3 kB / 325.5 MB, free: 2.891 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.379/2.379, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.001101/0.001101, allocations: 95.11 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004715, allocations: 12.66 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2166, allocations: 106.3 MB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2523/0.469, allocations: 141.2 MB / 1.037 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004048/0.4694, allocations: 95.94 kB / 1.037 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06391/0.5334, allocations: 13.99 MB / 1.05 GB, free: 6.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5334, allocations: 0 / 1.05 GB, free: 6.387 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.144e-05/0.5335, allocations: 15.94 kB / 1.05 GB, free: 6.371 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.00248/0.536, allocations: 0.9174 MB / 1.051 GB, free: 5.387 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.5361, allocations: 12.03 kB / 1.051 GB, free: 5.375 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/0.5363, allocations: 94.52 kB / 1.051 GB, free: 5.273 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.5365, allocations: 75.14 kB / 1.052 GB, free: 5.199 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.5378, allocations: 473.8 kB / 1.052 GB, free: 4.695 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.484e-05/0.5379, allocations: 41 kB / 1.052 GB, free: 4.656 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.5381, allocations: 63.98 kB / 1.052 GB, free: 4.594 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.5399, allocations: 0.566 MB / 1.053 GB, free: 4.008 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.5399, allocations: 0 / 1.053 GB, free: 4.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.744e-05/0.54, allocations: 20 kB / 1.053 GB, free: 3.988 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.5401, allocations: 12 kB / 1.053 GB, free: 3.977 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.5418, allocations: 467.7 kB / 1.053 GB, free: 3.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004245/0.546, allocations: 1.551 MB / 1.055 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.5478, allocations: 0.5051 MB / 1.055 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.268e-05/0.5479, allocations: 16.52 kB / 1.055 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.5489, allocations: 319 kB / 1.055 GB, free: 1.059 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 7.193e-06/0.549, allocations: 0 / 1.055 GB, free: 1.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002566/0.5515, allocations: 0.6857 MB / 1.056 GB, free: 372 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.5517, allocations: 120.3 kB / 1.056 GB, free: 228 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6125/1.164, allocations: 457 kB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002155/1.165, allocations: 52.88 kB / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/1.165, allocations: 255.1 kB / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/1.165, allocations: 155.3 kB / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/1.165, allocations: 13.56 kB / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.165, allocations: 368.9 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007862/1.166, allocations: 205 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008717/1.167, allocations: 337.8 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/1.168, allocations: 227.9 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.168, allocations: 0 / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00195/1.17, allocations: 0.633 MB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/1.17, allocations: 38.31 kB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.17, allocations: 1.312 kB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/1.17, allocations: 5.312 kB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/1.17, allocations: 83.92 kB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/1.171, allocations: 8.891 kB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00078/1.171, allocations: 90.92 kB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/1.171, allocations: 24.05 kB / 1.059 GB, free: 145.8 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.0005098/1.172, allocations: 267 kB / 1.059 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/1.172, allocations: 51.84 kB / 1.059 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/1.174, allocations: 0.5894 MB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.174, allocations: 5.844 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.174, allocations: 1.375 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.174, allocations: 10.33 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/1.177, allocations: 1.379 MB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.177, allocations: 0.5625 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/1.178, allocations: 59.23 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/1.178, allocations: 3 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/1.178, allocations: 12.98 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/1.178, allocations: 11.89 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.178, allocations: 0 / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/1.179, allocations: 0.6485 MB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/1.18, allocations: 142 kB / 1.062 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/1.18, allocations: 14.3 kB / 1.062 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006612/1.18, allocations: 63.48 kB / 1.062 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/1.181, allocations: 100.1 kB / 1.062 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.756e-05/1.181, allocations: 22.56 kB / 1.062 GB, free: 145 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006083/1.182, allocations: 337 kB / 1.063 GB, free: 144.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.182, allocations: 2.625 kB / 1.063 GB, free: 144.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008237/1.182, allocations: 157.3 kB / 1.063 GB, free: 144.9 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.003872/1.186, allocations: 1.812 MB / 1.065 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002033/1.188, allocations: 0.607 MB / 1.065 GB, free: 144 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.188, allocations: 0 / 1.065 GB, free: 144 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000979/1.189, allocations: 296.8 kB / 1.065 GB, free: 144 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/1.19, allocations: 90.22 kB / 1.066 GB, free: 144 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009344/1.2, allocations: 4.377 MB / 1.07 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/1.2, allocations: 0.9023 MB / 1.071 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006929/1.201, allocations: 92.28 kB / 1.071 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000578/1.202, allocations: 212.5 kB / 1.071 GB, free: 141.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/1.202, allocations: 4.906 kB / 1.071 GB, free: 141.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05219/1.254, allocations: 12.38 MB / 1.083 GB, free: 140.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/1.254, allocations: 263.9 kB / 1.083 GB, free: 139.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.842/4.096, allocations: 0 / 1.083 GB, free: 139.8 MB / 0.698 GB