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.585/1.585, allocations: 288.4 MB / 304.3 MB, free: 8.008 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.001316/0.001316, allocations: 171.7 kB / 372.9 MB, free: 10.13 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.45/1.45, allocations: 205.4 MB / 0.6317 GB, free: 9.895 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.0008453/0.0008455, allocations: 96.48 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003626, allocations: 10.81 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2003, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6306/0.831, allocations: 141 MB / 1.118 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.8313, allocations: 87.39 kB / 1.118 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01045/0.8417, allocations: 4.709 MB / 1.123 GB, free: 31.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8418, allocations: 0 / 1.123 GB, free: 31.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.8418, allocations: 7.375 kB / 1.123 GB, free: 31.82 MB / 0.698 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.0006528/0.8425, allocations: 0.5168 MB / 1.124 GB, free: 31.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.8425, allocations: 15.53 kB / 1.124 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.8426, allocations: 32.06 kB / 1.124 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.8428, allocations: 271.2 kB / 1.124 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.8429, allocations: 31.03 kB / 1.124 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.8429, allocations: 30.25 kB / 1.124 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.8434, allocations: 319 kB / 1.124 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.8434, allocations: 0 / 1.124 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.8435, allocations: 16.73 kB / 1.124 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.8435, allocations: 7.625 kB / 1.124 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.8439, allocations: 239.2 kB / 1.125 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.8452, allocations: 0.95 MB / 1.125 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.8457, allocations: 260.6 kB / 1.126 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.8458, allocations: 127.1 kB / 1.126 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.8459, allocations: 4.047 kB / 1.126 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.8461, allocations: 170.2 kB / 1.126 GB, free: 30.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.8461, allocations: 0 / 1.126 GB, free: 30.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.0005838/0.8467, allocations: 333.5 kB / 1.126 GB, free: 30.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.8468, allocations: 58.56 kB / 1.126 GB, free: 30.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.8469, allocations: 206.5 kB / 1.127 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.847, allocations: 39.83 kB / 1.127 GB, free: 30.31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.8471, allocations: 152.8 kB / 1.127 GB, free: 30.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.8471, allocations: 77.88 kB / 1.127 GB, free: 30.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.8471, allocations: 6.75 kB / 1.127 GB, free: 30.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.8473, allocations: 337 kB / 1.127 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.8475, allocations: 91.45 kB / 1.127 GB, free: 29.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.8477, allocations: 157.6 kB / 1.127 GB, free: 29.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.848, allocations: 224.2 kB / 1.128 GB, free: 29.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.848, allocations: 0 / 1.128 GB, free: 29.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004449/0.8485, allocations: 319.5 kB / 1.128 GB, free: 29.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.8485, allocations: 3.844 kB / 1.128 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8485, allocations: 7.812 kB / 1.128 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.8485, allocations: 0 / 1.128 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.8487, allocations: 41.31 kB / 1.128 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.8487, allocations: 3.938 kB / 1.128 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.8489, allocations: 51.52 kB / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.8489, allocations: 14.42 kB / 1.128 GB, free: 29.64 MB / 0.698 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.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,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.000149/0.8491, allocations: 177.4 kB / 1.128 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.8491, allocations: 15.56 kB / 1.128 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004554/0.8496, allocations: 286 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.8496, allocations: 3.875 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.8496, allocations: 4 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.8496, allocations: 2.062 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008466/0.8505, allocations: 0.7347 MB / 1.129 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.8505, allocations: 0 / 1.129 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.8506, allocations: 28.64 kB / 1.129 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8506, allocations: 6.953 kB / 1.129 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.8507, allocations: 7.438 kB / 1.129 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8507, allocations: 3.938 kB / 1.129 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8507, allocations: 0 / 1.129 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.8511, allocations: 372.5 kB / 1.13 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.8511, allocations: 96.64 kB / 1.13 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.8512, allocations: 7.406 kB / 1.13 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.8514, allocations: 38.75 kB / 1.13 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.8515, allocations: 42.28 kB / 1.13 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.8515, allocations: 3.812 kB / 1.13 GB, free: 28.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.887e-05/0.8516, allocations: 146 kB / 1.13 GB, free: 28.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8516, allocations: 0 / 1.13 GB, free: 28.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002867/0.8519, allocations: 55.5 kB / 1.13 GB, free: 28.75 MB / 0.698 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.offToOn.enableFire,heaCon.onToOff.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.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,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.0001472/0.852, allocations: 120.9 kB / 1.13 GB, free: 28.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004105/0.8525, allocations: 261.9 kB / 1.13 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8525, allocations: 0 / 1.13 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.8527, allocations: 133.2 kB / 1.13 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.853, allocations: 35.84 kB / 1.131 GB, free: 28.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.8537, allocations: 0.528 MB / 1.131 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.854, allocations: 0.7633 MB / 1.132 GB, free: 27.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.8541, allocations: 29.73 kB / 1.132 GB, free: 27.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.8542, allocations: 25.17 kB / 1.132 GB, free: 27.61 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.8542, allocations: 0 / 1.132 GB, free: 27.61 MB / 0.698 GB Notification: Performance of Templates: time 0.004921/0.8591, allocations: 2.586 MB / 1.134 GB, free: 26.85 MB / 0.698 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)