Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Reheat,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",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.218/2.218, 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.001487/0.001486, allocations: 175.4 kB / 325.5 MB, free: 2.895 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.288/2.288, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001209/0.001208, allocations: 91.23 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004782, allocations: 12.03 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2069, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/0.4361, allocations: 134.5 MB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004057/0.4366, allocations: 91.94 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02041/0.457, allocations: 4.712 MB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.585e-06/0.457, allocations: 0 / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.74e-05/0.4571, allocations: 12 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001079/0.4582, allocations: 0.5181 MB / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4582, allocations: 8.031 kB / 1.035 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.4584, allocations: 66.47 kB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.343e-05/0.4585, allocations: 31.62 kB / 1.035 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.4589, allocations: 270.6 kB / 1.036 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.4589, allocations: 20.56 kB / 1.036 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-05/0.4591, allocations: 36 kB / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008895/0.46, allocations: 319.5 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.46, allocations: 3.953 kB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/0.4601, allocations: 15.98 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.4601, allocations: 4 kB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008231/0.4609, allocations: 238.1 kB / 1.036 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.4633, allocations: 0.96 MB / 1.037 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008312/0.4642, allocations: 251.7 kB / 1.037 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.352e-05/0.4643, allocations: 4.234 kB / 1.038 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004572/0.4647, allocations: 169.8 kB / 1.038 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 3.106e-06/0.4647, allocations: 0 / 1.038 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.001148/0.4659, allocations: 341.2 kB / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.466, allocations: 55.41 kB / 1.038 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.4662, allocations: 185.3 kB / 1.038 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/0.4663, allocations: 41.7 kB / 1.038 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4665, allocations: 156.5 kB / 1.038 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4666, allocations: 79.05 kB / 1.038 GB, free: 2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.4666, allocations: 7.938 kB / 1.038 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4668, allocations: 338.8 kB / 1.039 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.4672, allocations: 91.95 kB / 1.039 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/0.4676, allocations: 149.1 kB / 1.039 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.4679, allocations: 95.73 kB / 1.039 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.468, allocations: 0 / 1.039 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009209/0.4689, allocations: 308.7 kB / 1.039 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4689, allocations: 7.938 kB / 1.039 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.4689, allocations: 0 / 1.039 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.469, allocations: 4 kB / 1.039 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.4694, allocations: 48.06 kB / 1.039 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-05/0.4694, allocations: 11.89 kB / 1.04 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.4698, allocations: 47.81 kB / 1.04 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/0.4698, allocations: 15.98 kB / 1.04 GB, free: 0.8633 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0002789/0.4701, allocations: 173.8 kB / 1.04 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.4702, allocations: 23.7 kB / 1.04 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009508/0.4712, allocations: 280.2 kB / 1.04 GB, free: 392 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.4712, allocations: 4 kB / 1.04 GB, free: 388 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4712, allocations: 4 kB / 1.04 GB, free: 384 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.4712, allocations: 3.953 kB / 1.04 GB, free: 380 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.4729, allocations: 0.726 MB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.473, allocations: 0 / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.4732, allocations: 31.92 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.4733, allocations: 7.953 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.4733, allocations: 0 / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/0.4733, allocations: 11.98 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4733, allocations: 3.938 kB / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007987/0.4741, allocations: 363.1 kB / 1.041 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.4742, allocations: 100.8 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.4743, allocations: 7.953 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.4747, allocations: 43.95 kB / 1.041 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.4748, allocations: 35.95 kB / 1.041 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.4749, allocations: 7.984 kB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001977/0.4751, allocations: 136.2 kB / 1.041 GB, free: 14.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4751, allocations: 0 / 1.041 GB, free: 14.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004809/0.4756, allocations: 64 kB / 1.042 GB, free: 14.75 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: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001233/0.4769, allocations: 0.9097 MB / 1.042 GB, free: 13.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008785/0.4778, allocations: 263.5 kB / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4778, allocations: 0 / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.4782, allocations: 131.8 kB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.4786, allocations: 40.42 kB / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.4827, allocations: 2.157 MB / 1.045 GB, free: 11.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.4833, allocations: 0.7644 MB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002335/0.4835, allocations: 30.28 kB / 1.046 GB, free: 10.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.4838, allocations: 91.39 kB / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of SimCode: time 1.392e-06/0.4838, allocations: 3.938 kB / 1.046 GB, free: 10.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.5127, allocations: 4.918 MB / 1.051 GB, free: 5.531 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003555/0.5132, allocations: 214 kB / 1.051 GB, free: 5.289 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/3.091, allocations: 0 / 1.051 GB, free: 5.289 MB / 0.698 GB