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.0009757/0.0009757, allocations: 100 kB / 15.05 MB, free: 1.105 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.001095/0.001095, allocations: 177.3 kB / 15.94 MB, free: 228 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.568/1.568, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.608/1.608, allocations: 251.9 MB / 0.51 GB, free: 4.812 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.0006119/0.0006122, allocations: 12 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6047/0.6054, allocations: 106.4 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002381/0.6078, allocations: 1.699 MB / 0.7296 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.6091, allocations: 0.7373 MB / 0.7304 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.6093, allocations: 7.938 kB / 0.7304 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.6094, allocations: 23.78 kB / 0.7304 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.6095, allocations: 43.86 kB / 0.7304 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.6099, allocations: 103.8 kB / 0.7305 GB, free: 8.797 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.6103, allocations: 219.6 kB / 0.7307 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.6106, allocations: 198.9 kB / 0.7309 GB, free: 8.383 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.6108, allocations: 95.62 kB / 0.731 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.6109, allocations: 115.4 kB / 0.7311 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.611, allocations: 12 kB / 0.7311 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.371e-05/0.6111, allocations: 20 kB / 0.7312 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.6111, allocations: 51.81 kB / 0.7312 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.6112, allocations: 73.58 kB / 0.7313 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.6115, allocations: 301.2 kB / 0.7316 GB, free: 7.723 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6115, allocations: 3.938 kB / 0.7316 GB, free: 7.719 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6115, allocations: 0 / 0.7316 GB, free: 7.719 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.6115, allocations: 0 / 0.7316 GB, free: 7.719 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.0008067/0.6124, allocations: 0.5135 MB / 0.7321 GB, free: 7.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.6124, allocations: 11.97 kB / 0.7321 GB, free: 7.148 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.599e-05/0.6125, allocations: 39.52 kB / 0.7321 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.6128, allocations: 263.3 kB / 0.7324 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.6129, allocations: 24.56 kB / 0.7324 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.6129, allocations: 31.98 kB / 0.7324 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.6135, allocations: 319.6 kB / 0.7327 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.6135, allocations: 4 kB / 0.7327 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.6136, allocations: 8 kB / 0.7327 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.6136, allocations: 8 kB / 0.7328 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004752/0.6141, allocations: 234.1 kB / 0.733 GB, free: 6.188 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.6155, allocations: 0.9558 MB / 0.7339 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.616, allocations: 251.6 kB / 0.7342 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.6161, allocations: 4.234 kB / 0.7342 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000341/0.6164, allocations: 172.7 kB / 0.7343 GB, free: 4.742 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.6164, allocations: 0 / 0.7343 GB, free: 4.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.0007229/0.6172, allocations: 329.4 kB / 0.7346 GB, free: 4.414 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.6172, allocations: 63.39 kB / 0.7347 GB, free: 4.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.6174, allocations: 203.7 kB / 0.7349 GB, free: 4.133 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.6174, allocations: 41.69 kB / 0.7349 GB, free: 4.086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.6176, allocations: 152.6 kB / 0.7351 GB, free: 3.934 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.93e-05/0.6176, allocations: 74.92 kB / 0.7351 GB, free: 3.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.6177, allocations: 12 kB / 0.7352 GB, free: 3.848 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6178, allocations: 334.8 kB / 0.7355 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.618, allocations: 99.95 kB / 0.7356 GB, free: 3.414 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.6182, allocations: 149 kB / 0.7357 GB, free: 3.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.6184, allocations: 91.98 kB / 0.7358 GB, free: 3.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6185, allocations: 0 / 0.7358 GB, free: 3.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005244/0.619, allocations: 316.5 kB / 0.7361 GB, free: 2.844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.619, allocations: 7.984 kB / 0.7361 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.619, allocations: 4 kB / 0.7361 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.619, allocations: 4 kB / 0.7361 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.6192, allocations: 39.92 kB / 0.7362 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.6193, allocations: 7.984 kB / 0.7362 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.6195, allocations: 55.75 kB / 0.7362 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.6195, allocations: 16 kB / 0.7362 GB, free: 2.711 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.0001863/0.6197, allocations: 177.6 kB / 0.7364 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.6198, allocations: 15.81 kB / 0.7364 GB, free: 2.512 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005524/0.6203, allocations: 288.2 kB / 0.7367 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.6203, allocations: 0 / 0.7367 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6203, allocations: 0 / 0.7367 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.6203, allocations: 4 kB / 0.7367 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.6214, allocations: 0.749 MB / 0.7374 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6214, allocations: 3.938 kB / 0.7374 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.6215, allocations: 35.92 kB / 0.7375 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6215, allocations: 0 / 0.7375 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.6216, allocations: 11.98 kB / 0.7375 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6216, allocations: 4 kB / 0.7375 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6216, allocations: 3.953 kB / 0.7375 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.6221, allocations: 343.3 kB / 0.7378 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.6221, allocations: 112.6 kB / 0.7379 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.6222, allocations: 12 kB / 0.7379 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.6224, allocations: 39.95 kB / 0.738 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.6225, allocations: 35.94 kB / 0.738 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.6225, allocations: 15.95 kB / 0.738 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001008/0.6226, allocations: 135.3 kB / 0.7381 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6227, allocations: 4 kB / 0.7382 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003094/0.623, allocations: 63.83 kB / 0.7382 GB, free: 0.5703 MB / 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.0001772/0.6232, allocations: 119.2 kB / 0.7383 GB, free: 460 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004863/0.6236, allocations: 260 kB / 0.7386 GB, free: 200 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6237, allocations: 0 / 0.7386 GB, free: 200 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.6239, allocations: 132.3 kB / 0.7387 GB, free: 68 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.6242, allocations: 24.92 kB / 0.7387 GB, free: 44 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.6253, allocations: 0.5314 MB / 0.7392 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.6259, allocations: 0.7683 MB / 0.74 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000124/0.626, allocations: 38.27 kB / 0.74 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.64e-05/0.6261, allocations: 31.42 kB / 0.7401 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.6261, allocations: 0 / 0.7401 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.007268/0.6334, allocations: 2.556 MB / 0.7426 GB, free: 12.12 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: