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.0008265/0.0008263, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009423/0.0009423, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.594/1.594, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004755/0.0004755, allocations: 13.59 kB / 0.6737 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002464/0.2449, allocations: 1.712 MB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.2461, allocations: 0.7337 MB / 0.7897 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.2463, allocations: 8 kB / 0.7897 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.2464, allocations: 27.72 kB / 0.7897 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.2465, allocations: 27.78 kB / 0.7897 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.2469, allocations: 107.8 kB / 0.7898 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.2473, allocations: 343.2 kB / 0.7902 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.2476, allocations: 183 kB / 0.7903 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.2477, allocations: 107.5 kB / 0.7904 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.2479, allocations: 103.5 kB / 0.7905 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.2479, allocations: 15.98 kB / 0.7906 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.026e-05/0.248, allocations: 23.98 kB / 0.7906 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.2481, allocations: 51.77 kB / 0.7906 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.2481, allocations: 69.58 kB / 0.7907 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.2484, allocations: 295.5 kB / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2484, allocations: 4 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2484, allocations: 0 / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2485, allocations: 4 kB / 0.791 GB, free: 8.109 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.0007569/0.2492, allocations: 0.5142 MB / 0.7915 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2493, allocations: 8.031 kB / 0.7915 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.2493, allocations: 35.66 kB / 0.7915 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.2496, allocations: 270.5 kB / 0.7918 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.2497, allocations: 24.56 kB / 0.7918 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.2497, allocations: 32 kB / 0.7918 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.2503, allocations: 315.6 kB / 0.7921 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2503, allocations: 0 / 0.7921 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.2503, allocations: 8 kB / 0.7922 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2504, allocations: 8 kB / 0.7922 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.2508, allocations: 246.1 kB / 0.7924 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2522, allocations: 0.9559 MB / 0.7933 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.2527, allocations: 247.6 kB / 0.7936 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.2529, allocations: 121.3 kB / 0.7937 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.253, allocations: 4.219 kB / 0.7937 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003281/0.2533, allocations: 168 kB / 0.7938 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.2533, allocations: 3.938 kB / 0.7938 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006623/0.254, allocations: 333.7 kB / 0.7942 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.254, allocations: 67.41 kB / 0.7942 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.2542, allocations: 204 kB / 0.7944 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.2543, allocations: 37.7 kB / 0.7945 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2544, allocations: 148.6 kB / 0.7946 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.2544, allocations: 86.92 kB / 0.7947 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.2545, allocations: 4 kB / 0.7947 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2546, allocations: 338.8 kB / 0.795 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.2548, allocations: 99.95 kB / 0.7951 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.255, allocations: 149 kB / 0.7953 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.2552, allocations: 99.73 kB / 0.7953 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2552, allocations: 3.938 kB / 0.7953 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004969/0.2557, allocations: 308.8 kB / 0.7956 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2557, allocations: 11.94 kB / 0.7957 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2558, allocations: 0 / 0.7957 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2558, allocations: 4 kB / 0.7957 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.256, allocations: 43.91 kB / 0.7957 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.256, allocations: 4 kB / 0.7957 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.2562, allocations: 55.81 kB / 0.7958 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.2562, allocations: 15.98 kB / 0.7958 GB, free: 2.961 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,$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.0001705/0.2564, allocations: 178.3 kB / 0.7959 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.2564, allocations: 19.72 kB / 0.796 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005208/0.257, allocations: 288.1 kB / 0.7962 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.257, allocations: 0 / 0.7962 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.257, allocations: 4 kB / 0.7962 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.257, allocations: 0 / 0.7962 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009706/0.258, allocations: 0.7418 MB / 0.797 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.258, allocations: 0 / 0.797 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.2581, allocations: 31.92 kB / 0.797 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2581, allocations: 0 / 0.797 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.2582, allocations: 8 kB / 0.797 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2582, allocations: 8 kB / 0.797 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2582, allocations: 0 / 0.797 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.2586, allocations: 367.6 kB / 0.7974 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.2587, allocations: 96.77 kB / 0.7975 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.2588, allocations: 12 kB / 0.7975 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.2589, allocations: 31.97 kB / 0.7975 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/0.259, allocations: 39.94 kB / 0.7975 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.2591, allocations: 11.98 kB / 0.7975 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.903e-05/0.2592, allocations: 140.1 kB / 0.7977 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2592, allocations: 4 kB / 0.7977 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003219/0.2595, allocations: 67.78 kB / 0.7977 GB, free: 0.832 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.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.0001641/0.2597, allocations: 125 kB / 0.7979 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.2602, allocations: 256 kB / 0.7981 GB, free: 464 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2602, allocations: 0 / 0.7981 GB, free: 464 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.2604, allocations: 127.8 kB / 0.7982 GB, free: 336 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.2608, allocations: 36.16 kB / 0.7983 GB, free: 300 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000794/0.2616, allocations: 0.5347 MB / 0.7988 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.2619, allocations: 0.7644 MB / 0.7995 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000109/0.262, allocations: 30.28 kB / 0.7996 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.2621, allocations: 23.44 kB / 0.7996 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.2621, allocations: 0 / 0.7996 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.005908/0.268, allocations: 2.573 MB / 0.8021 GB, free: 12.34 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: