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.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008107/0.0008106, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008312/0.0008314, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.576/1.576, allocations: 252 MB / 0.5102 GB, free: 4.773 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009629/0.000963, allocations: 16 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5724/0.5734, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00256/0.576, allocations: 1.719 MB / 0.7298 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.5776, allocations: 0.7372 MB / 0.7305 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.5778, allocations: 8 kB / 0.7305 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.578, allocations: 27.73 kB / 0.7306 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.5782, allocations: 19.78 kB / 0.7306 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.5786, allocations: 115.8 kB / 0.7307 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000502/0.5791, allocations: 343.2 kB / 0.731 GB, free: 8.434 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.5795, allocations: 187 kB / 0.7312 GB, free: 8.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.5797, allocations: 95.56 kB / 0.7313 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.58, allocations: 119.4 kB / 0.7314 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.462e-05/0.58, allocations: 12 kB / 0.7314 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.994e-05/0.5801, allocations: 16 kB / 0.7314 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.618e-05/0.5802, allocations: 55.75 kB / 0.7315 GB, free: 7.953 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.625e-05/0.5803, allocations: 69.58 kB / 0.7316 GB, free: 7.879 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.5806, allocations: 297.2 kB / 0.7318 GB, free: 7.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.5807, allocations: 7.922 kB / 0.7318 GB, free: 7.582 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5807, allocations: 4 kB / 0.7318 GB, free: 7.578 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.5807, allocations: 0 / 0.7318 GB, free: 7.578 MB / 0.545 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.0009445/0.5816, allocations: 0.5027 MB / 0.7323 GB, free: 7.027 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.5817, allocations: 8.031 kB / 0.7323 GB, free: 7.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.5818, allocations: 39.58 kB / 0.7324 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.5822, allocations: 271.3 kB / 0.7326 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.5822, allocations: 24.56 kB / 0.7327 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.5823, allocations: 32 kB / 0.7327 GB, free: 6.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/0.5829, allocations: 311.6 kB / 0.733 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.583, allocations: 0 / 0.733 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.583, allocations: 12 kB / 0.733 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.583, allocations: 15.94 kB / 0.733 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.5836, allocations: 242.1 kB / 0.7333 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.5853, allocations: 0.9519 MB / 0.7342 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.5858, allocations: 259.6 kB / 0.7344 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.5861, allocations: 121.9 kB / 0.7345 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.5862, allocations: 8.219 kB / 0.7346 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003711/0.5865, allocations: 164.8 kB / 0.7347 GB, free: 4.477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 2.625e-06/0.5865, allocations: 0 / 0.7347 GB, free: 4.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.0007949/0.5873, allocations: 337.3 kB / 0.735 GB, free: 4.141 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.5874, allocations: 55.41 kB / 0.7351 GB, free: 4.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.5877, allocations: 199.7 kB / 0.7353 GB, free: 3.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.5877, allocations: 41.7 kB / 0.7353 GB, free: 3.824 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.5879, allocations: 156.6 kB / 0.7355 GB, free: 3.668 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.074e-05/0.588, allocations: 82.89 kB / 0.7355 GB, free: 3.586 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.588, allocations: 4 kB / 0.7355 GB, free: 3.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5882, allocations: 338.8 kB / 0.7359 GB, free: 3.242 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.5884, allocations: 99.95 kB / 0.736 GB, free: 3.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.5887, allocations: 145.1 kB / 0.7361 GB, free: 2.984 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.5889, allocations: 99.92 kB / 0.7362 GB, free: 2.887 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5889, allocations: 0 / 0.7362 GB, free: 2.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006013/0.5895, allocations: 316.5 kB / 0.7365 GB, free: 2.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.5896, allocations: 4 kB / 0.7365 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5896, allocations: 4 kB / 0.7365 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.5896, allocations: 4 kB / 0.7365 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.5898, allocations: 39.91 kB / 0.7366 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.5898, allocations: 0 / 0.7366 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.5901, allocations: 67.73 kB / 0.7366 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.5901, allocations: 19.98 kB / 0.7366 GB, free: 2.434 MB / 0.545 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.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,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.0002386/0.5904, allocations: 173.7 kB / 0.7368 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.5904, allocations: 19.81 kB / 0.7368 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/0.5909, allocations: 284.1 kB / 0.7371 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.591, allocations: 4 kB / 0.7371 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.591, allocations: 0 / 0.7371 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.591, allocations: 0 / 0.7371 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.5921, allocations: 0.7529 MB / 0.7378 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5921, allocations: 0 / 0.7378 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.5923, allocations: 31.92 kB / 0.7379 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.5923, allocations: 0 / 0.7379 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.5923, allocations: 11.98 kB / 0.7379 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.5923, allocations: 7.938 kB / 0.7379 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.5923, allocations: 3.953 kB / 0.7379 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/0.5929, allocations: 347.3 kB / 0.7382 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.593, allocations: 108.7 kB / 0.7383 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.5931, allocations: 11.94 kB / 0.7383 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.5933, allocations: 35.95 kB / 0.7384 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.5934, allocations: 39.91 kB / 0.7384 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.5934, allocations: 11.98 kB / 0.7384 GB, free: 0.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001065/0.5935, allocations: 139.3 kB / 0.7385 GB, free: 372 kB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5935, allocations: 0 / 0.7385 GB, free: 372 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003285/0.5939, allocations: 63.84 kB / 0.7386 GB, free: 308 kB / 0.545 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.onToOff.enableFire,heaCon.offToOn.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.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,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.0001906/0.594, allocations: 125 kB / 0.7387 GB, free: 176 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005184/0.5946, allocations: 256 kB / 0.739 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5946, allocations: 0 / 0.739 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.5948, allocations: 136.3 kB / 0.7391 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.5952, allocations: 30.8 kB / 0.7391 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.5962, allocations: 0.539 MB / 0.7397 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.5967, allocations: 0.7605 MB / 0.7404 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.5968, allocations: 34.28 kB / 0.7404 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/0.5969, allocations: 19.44 kB / 0.7404 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.5969, allocations: 4 kB / 0.7405 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.006982/0.6039, allocations: 2.571 MB / 0.743 GB, free: 11.84 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) Environment - environmentSimulation: