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.67/1.67, allocations: 288.4 MB / 303.4 MB, free: 8.188 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.001118/0.001118, allocations: 182.4 kB / 372 MB, free: 10.3 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.629/1.629, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0009832/0.0009838, allocations: 94.23 kB / 0.7441 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004411, allocations: 10.5 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3313, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002658/0.3341, allocations: 1.72 MB / 0.9813 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3357, allocations: 0.7334 MB / 0.982 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.3361, allocations: 4 kB / 0.982 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.3363, allocations: 27.73 kB / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.3365, allocations: 27.72 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.3371, allocations: 103.9 kB / 0.9821 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000517/0.3376, allocations: 339.2 kB / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004772/0.3381, allocations: 199 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.3384, allocations: 99.62 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.3386, allocations: 115.4 kB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.3387, allocations: 12 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3388, allocations: 20 kB / 0.9829 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.3389, allocations: 59.75 kB / 0.9829 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.55e-05/0.339, allocations: 65.58 kB / 0.983 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.3393, allocations: 299.5 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3393, allocations: 4 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.477e-06/0.3393, allocations: 0 / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.3394, allocations: 0 / 0.9833 GB, free: 23.87 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.0009394/0.3403, allocations: 0.5065 MB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3404, allocations: 20.02 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.187e-05/0.3405, allocations: 31.62 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.3408, allocations: 270.4 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.3408, allocations: 28.56 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.3409, allocations: 35.92 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.3414, allocations: 315.6 kB / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3415, allocations: 0 / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.3415, allocations: 12 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.3415, allocations: 8 kB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.342, allocations: 238.1 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.3433, allocations: 0.9481 MB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.3438, allocations: 258 kB / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.344, allocations: 121.3 kB / 0.986 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.918e-05/0.344, allocations: 240 / 0.986 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003544/0.3444, allocations: 180 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.3444, allocations: 0 / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0006706/0.3451, allocations: 333.3 kB / 0.9865 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.3451, allocations: 59.34 kB / 0.9865 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.3453, allocations: 203.1 kB / 0.9867 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.3453, allocations: 41.69 kB / 0.9868 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.3454, allocations: 152.6 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.3455, allocations: 74.95 kB / 0.987 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.3455, allocations: 4 kB / 0.987 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.3456, allocations: 342.8 kB / 0.9873 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.3458, allocations: 99.95 kB / 0.9874 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.346, allocations: 153 kB / 0.9876 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.3462, allocations: 95.73 kB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3462, allocations: 0 / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004769/0.3467, allocations: 312.8 kB / 0.9879 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.3467, allocations: 13.86 kB / 0.988 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3467, allocations: 0 / 0.988 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3467, allocations: 4 kB / 0.988 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.3469, allocations: 39.92 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.347, allocations: 7.984 kB / 0.988 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.3472, allocations: 51.81 kB / 0.9881 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.3472, allocations: 16 kB / 0.9881 GB, free: 18.72 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.0001674/0.3474, allocations: 185.5 kB / 0.9882 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.3474, allocations: 19.72 kB / 0.9883 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004994/0.3479, allocations: 288.2 kB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.348, allocations: 4 kB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.348, allocations: 0 / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.348, allocations: 0 / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008487/0.3489, allocations: 0.7366 MB / 0.9893 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3489, allocations: 0 / 0.9893 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.349, allocations: 35.92 kB / 0.9893 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.349, allocations: 4 kB / 0.9893 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.349, allocations: 11.98 kB / 0.9893 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3491, allocations: 0 / 0.9893 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3491, allocations: 0 / 0.9893 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.3495, allocations: 363.6 kB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.3495, allocations: 96.77 kB / 0.9898 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.3496, allocations: 11.94 kB / 0.9898 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3498, allocations: 35.95 kB / 0.9898 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.3499, allocations: 43.92 kB / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.3499, allocations: 12 kB / 0.9899 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.325e-05/0.35, allocations: 143.2 kB / 0.99 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.35, allocations: 0 / 0.99 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002729/0.3503, allocations: 67.83 kB / 0.9901 GB, free: 16.58 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.0001875/0.3505, allocations: 117.1 kB / 0.9902 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004504/0.3509, allocations: 259.8 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3509, allocations: 0 / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.3511, allocations: 135.8 kB / 0.9905 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.3515, allocations: 32.98 kB / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.3523, allocations: 0.5345 MB / 0.9911 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.3526, allocations: 0.7605 MB / 0.9918 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.3527, allocations: 34.22 kB / 0.9919 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.3528, allocations: 27.42 kB / 0.9919 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3528, allocations: 0 / 0.9919 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.00623/0.359, allocations: 2.575 MB / 0.9944 GB, free: 12.11 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)