Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001014/0.001014, allocations: 108 kB / 15.6 MB, free: 132 kB / 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: 198.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.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.001587/0.001587, allocations: 74.66 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2399, allocations: 114.6 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003983/0.2439, allocations: 2.032 MB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.2457, allocations: 0.7451 MB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.2459, allocations: 4 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.2461, allocations: 35.61 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.2462, allocations: 43.58 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.2468, allocations: 159.8 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004501/0.2473, allocations: 395.2 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004156/0.2477, allocations: 244.4 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.2479, allocations: 147.5 kB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.2482, allocations: 139.4 kB / 0.7872 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.755e-05/0.2482, allocations: 40 kB / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.2483, allocations: 40 kB / 0.7873 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.686e-05/0.2485, allocations: 83.75 kB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.2486, allocations: 151.3 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.2491, allocations: 403 kB / 0.7879 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2491, allocations: 11.88 kB / 0.7879 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2491, allocations: 0 / 0.7879 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.2491, allocations: 0 / 0.7879 GB, free: 8.801 MB / 0.6075 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.0008751/0.25, allocations: 0.5689 MB / 0.7885 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.25, allocations: 8.031 kB / 0.7885 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.2501, allocations: 28.66 kB / 0.7885 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.2504, allocations: 271.8 kB / 0.7888 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.2505, allocations: 28.92 kB / 0.7888 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.2505, allocations: 40.31 kB / 0.7888 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.2511, allocations: 312 kB / 0.7891 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2511, allocations: 0 / 0.7891 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.2511, allocations: 12 kB / 0.7891 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.2511, allocations: 4 kB / 0.7891 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004507/0.2516, allocations: 234.1 kB / 0.7894 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.2531, allocations: 0.9441 MB / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005481/0.2536, allocations: 247.6 kB / 0.7905 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.2538, allocations: 125.2 kB / 0.7906 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.2539, allocations: 4.234 kB / 0.7906 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00036/0.2542, allocations: 163.4 kB / 0.7908 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.2543, allocations: 0 / 0.7908 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006849/0.2549, allocations: 322.1 kB / 0.7911 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.255, allocations: 55.41 kB / 0.7911 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.2552, allocations: 204.9 kB / 0.7913 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.2552, allocations: 41.69 kB / 0.7914 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2554, allocations: 152.6 kB / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.2554, allocations: 82.84 kB / 0.7916 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.2555, allocations: 81.67 kB / 0.7917 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2557, allocations: 338.8 kB / 0.792 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.2559, allocations: 91.95 kB / 0.7921 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.2561, allocations: 153 kB / 0.7922 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.2565, allocations: 208.8 kB / 0.7924 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2565, allocations: 0 / 0.7924 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005224/0.257, allocations: 316.5 kB / 0.7927 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2571, allocations: 4 kB / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2571, allocations: 4 kB / 0.7928 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2571, allocations: 0 / 0.7928 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.2573, allocations: 43.91 kB / 0.7928 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.2573, allocations: 7.938 kB / 0.7928 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.2575, allocations: 39.72 kB / 0.7928 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.2576, allocations: 15.98 kB / 0.7929 GB, free: 3.453 MB / 0.6075 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,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.2578, allocations: 177.7 kB / 0.793 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.2578, allocations: 19.81 kB / 0.793 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005327/0.2583, allocations: 284.1 kB / 0.7933 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.2584, allocations: 4 kB / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2584, allocations: 0 / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2584, allocations: 0 / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009766/0.2594, allocations: 0.7304 MB / 0.794 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2594, allocations: 0 / 0.794 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.2595, allocations: 35.91 kB / 0.7941 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2595, allocations: 4 kB / 0.7941 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.2596, allocations: 4 kB / 0.7941 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2596, allocations: 3.938 kB / 0.7941 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2596, allocations: 4 kB / 0.7941 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/0.2601, allocations: 367.5 kB / 0.7944 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.2601, allocations: 92.86 kB / 0.7945 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.2602, allocations: 8 kB / 0.7945 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.2604, allocations: 23.97 kB / 0.7946 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.2605, allocations: 43.89 kB / 0.7946 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.2605, allocations: 15.98 kB / 0.7946 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.439e-05/0.2606, allocations: 135.3 kB / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2606, allocations: 0 / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003018/0.2609, allocations: 67.75 kB / 0.7948 GB, free: 1.352 MB / 0.6075 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.active,heaCon.off.active,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/0.2611, allocations: 117.4 kB / 0.7949 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005433/0.2616, allocations: 267.8 kB / 0.7952 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2616, allocations: 0 / 0.7952 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.2619, allocations: 127.8 kB / 0.7953 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.2622, allocations: 33.08 kB / 0.7953 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008037/0.263, allocations: 479 kB / 0.7958 GB, free: 336 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.2634, allocations: 0.7641 MB / 0.7965 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.2635, allocations: 30.28 kB / 0.7966 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.2636, allocations: 35.36 kB / 0.7966 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2636, allocations: 0 / 0.7966 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of Templates: time 0.006173/0.2698, allocations: 3.037 MB / 0.7996 GB, free: 12.45 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)