Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 288.3 MB / 303.2 MB, free: 8.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 181 kB / 371.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008166/0.0008168, allocations: 91.3 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 15.59 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2409, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002305/0.2433, allocations: 1.7 MB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.2445, allocations: 0.7257 MB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.2446, allocations: 4 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.2448, allocations: 27.73 kB / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.2449, allocations: 39.88 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.2453, allocations: 99.86 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.2456, allocations: 223.6 kB / 0.9822 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.2459, allocations: 191 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.246, allocations: 99.56 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.2461, allocations: 119.4 kB / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.2462, allocations: 12 kB / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.695e-05/0.2462, allocations: 16 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.2463, allocations: 55.81 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.2464, allocations: 69.52 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.2466, allocations: 295.5 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2466, allocations: 4 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2466, allocations: 0 / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2467, allocations: 0 / 0.983 GB, free: 24.02 MB / 0.6198 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.0007403/0.2474, allocations: 0.5182 MB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2474, allocations: 15.95 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.2475, allocations: 31.62 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.2478, allocations: 270.4 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.2478, allocations: 24.56 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.2479, allocations: 32 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.2484, allocations: 315.6 kB / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2484, allocations: 0 / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.2485, allocations: 12 kB / 0.9842 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.2485, allocations: 8 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.2489, allocations: 246 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.2502, allocations: 0.952 MB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.2506, allocations: 259.6 kB / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.2507, allocations: 4.234 kB / 0.9856 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.251, allocations: 164 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.251, allocations: 0 / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0006274/0.2516, allocations: 337.2 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.2517, allocations: 55.41 kB / 0.9861 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.2518, allocations: 203.1 kB / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.2519, allocations: 37.7 kB / 0.9864 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.252, allocations: 152.6 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.252, allocations: 82.92 kB / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/0.2521, allocations: 12 kB / 0.9866 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.2522, allocations: 338.8 kB / 0.9869 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.2523, allocations: 95.95 kB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.2525, allocations: 149 kB / 0.9872 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.2527, allocations: 95.73 kB / 0.9872 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2527, allocations: 0 / 0.9872 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004347/0.2532, allocations: 312.7 kB / 0.9875 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2532, allocations: 4 kB / 0.9875 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2532, allocations: 7.938 kB / 0.9876 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2532, allocations: 4 kB / 0.9876 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.2534, allocations: 44.06 kB / 0.9876 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2534, allocations: 4 kB / 0.9876 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.2536, allocations: 55.7 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.2537, allocations: 19.92 kB / 0.9877 GB, free: 18.98 MB / 0.6198 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.0001418/0.2538, allocations: 173.7 kB / 0.9878 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.2539, allocations: 27.7 kB / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/0.2544, allocations: 284.1 kB / 0.9881 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.2544, allocations: 4 kB / 0.9881 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2544, allocations: 0 / 0.9881 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2544, allocations: 8 kB / 0.9882 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008181/0.2552, allocations: 0.7327 MB / 0.9889 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2552, allocations: 7.938 kB / 0.9889 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.2554, allocations: 31.98 kB / 0.9889 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2554, allocations: 0 / 0.9889 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.2554, allocations: 4 kB / 0.9889 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2554, allocations: 7.938 kB / 0.9889 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2554, allocations: 3.984 kB / 0.9889 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.2558, allocations: 363.6 kB / 0.9893 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.2559, allocations: 100.8 kB / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.2559, allocations: 8 kB / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.2561, allocations: 35.97 kB / 0.9894 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.2562, allocations: 39.94 kB / 0.9894 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.2563, allocations: 15.98 kB / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.288e-05/0.2563, allocations: 135.3 kB / 0.9896 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2563, allocations: 0 / 0.9896 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002872/0.2566, allocations: 63.8 kB / 0.9896 GB, free: 16.85 MB / 0.6198 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.0001613/0.2568, allocations: 121 kB / 0.9898 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004292/0.2572, allocations: 255.8 kB / 0.99 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2573, allocations: 0 / 0.99 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.2575, allocations: 132.1 kB / 0.9901 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.2577, allocations: 32.91 kB / 0.9902 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.2585, allocations: 0.5345 MB / 0.9907 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.2587, allocations: 0.7644 MB / 0.9914 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.2588, allocations: 26.28 kB / 0.9915 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.2589, allocations: 31.42 kB / 0.9915 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2589, allocations: 0 / 0.9915 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.005092/0.264, allocations: 2.563 MB / 0.994 GB, free: 12.39 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)