Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.668/1.668, allocations: 287.5 MB / 302.6 MB, free: 8.227 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.001101/0.001101, allocations: 192.7 kB / 371.2 MB, free: 10.82 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.473/1.473, allocations: 205.4 MB / 0.6298 GB, free: 10.61 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.0008239/0.000824, allocations: 102 kB / 0.7432 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004506, allocations: 15.09 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2139, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002026/0.216, allocations: 1.719 MB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2173, allocations: 0.7259 MB / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.2175, allocations: 7.938 kB / 0.9811 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.2177, allocations: 27.73 kB / 0.9811 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.2178, allocations: 27.78 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.2181, allocations: 103.8 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.2185, allocations: 343.2 kB / 0.9816 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.2188, allocations: 206.5 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.2189, allocations: 99.61 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.2191, allocations: 115.4 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.2191, allocations: 16 kB / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.888e-05/0.2192, allocations: 20 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.2193, allocations: 51.83 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.2193, allocations: 69.52 kB / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.2195, allocations: 299.5 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2196, allocations: 4 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.562e-06/0.2196, allocations: 4 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.2196, allocations: 0 / 0.9824 GB, free: 24.38 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.0006789/0.2203, allocations: 0.5106 MB / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.2203, allocations: 12.03 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.929e-05/0.2204, allocations: 32.56 kB / 0.9829 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.2206, allocations: 267.7 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.2206, allocations: 28.94 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.2207, allocations: 28.38 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.2212, allocations: 323.8 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2212, allocations: 0 / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.2212, allocations: 11.94 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2213, allocations: 12 kB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.2217, allocations: 246 kB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.2229, allocations: 0.948 MB / 0.9847 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.2234, allocations: 260.6 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.2236, allocations: 121.3 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.2236, allocations: 240 / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.2239, allocations: 172 kB / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.2239, allocations: 0 / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0006106/0.2245, allocations: 329.3 kB / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.2246, allocations: 63.34 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2247, allocations: 202.1 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.2248, allocations: 37.7 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.2248, allocations: 152.6 kB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.2249, allocations: 82.92 kB / 0.9861 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.2249, allocations: 4 kB / 0.9861 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.225, allocations: 338.8 kB / 0.9864 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.2252, allocations: 99.95 kB / 0.9865 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.2254, allocations: 145.1 kB / 0.9867 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.2257, allocations: 216.8 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2257, allocations: 3.938 kB / 0.9869 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004573/0.2262, allocations: 312.5 kB / 0.9872 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2262, allocations: 10.34 kB / 0.9872 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2262, allocations: 0 / 0.9872 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2262, allocations: 4 kB / 0.9872 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.2264, allocations: 52 kB / 0.9872 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.2264, allocations: 8 kB / 0.9872 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.2266, allocations: 51.72 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.2267, allocations: 15.98 kB / 0.9873 GB, free: 19.09 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.0001577/0.2268, allocations: 185.6 kB / 0.9875 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.2269, allocations: 19.72 kB / 0.9875 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.2273, allocations: 284.1 kB / 0.9878 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.2274, allocations: 4 kB / 0.9878 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.2274, allocations: 4 kB / 0.9878 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2274, allocations: 3.938 kB / 0.9878 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008943/0.2283, allocations: 0.7405 MB / 0.9885 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2283, allocations: 3.984 kB / 0.9885 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.2284, allocations: 27.98 kB / 0.9885 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2285, allocations: 0 / 0.9885 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.2285, allocations: 8 kB / 0.9885 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2285, allocations: 0 / 0.9885 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2285, allocations: 7.875 kB / 0.9886 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.2289, allocations: 371.6 kB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.229, allocations: 96.77 kB / 0.989 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.229, allocations: 8 kB / 0.989 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.2292, allocations: 35.97 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.2293, allocations: 43.88 kB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.2293, allocations: 8 kB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.612e-05/0.2294, allocations: 140.1 kB / 0.9892 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2294, allocations: 0 / 0.9892 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003011/0.2297, allocations: 63.84 kB / 0.9893 GB, free: 16.96 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.0001738/0.2299, allocations: 125 kB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004615/0.2304, allocations: 251.8 kB / 0.9896 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2304, allocations: 0 / 0.9896 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.2306, allocations: 132.1 kB / 0.9898 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.2309, allocations: 35.95 kB / 0.9898 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007587/0.2317, allocations: 0.5346 MB / 0.9903 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.232, allocations: 0.7644 MB / 0.9911 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.2321, allocations: 26.3 kB / 0.9911 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.2322, allocations: 31.36 kB / 0.9911 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2322, allocations: 0 / 0.9911 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.005713/0.2379, allocations: 2.567 MB / 0.9936 GB, free: 12.46 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)