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.001435/0.001435, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001597/0.001597, allocations: 193.9 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.791/1.791, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001508/0.001509, allocations: 67.89 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2168, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003872/0.2207, allocations: 2.039 MB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.2223, allocations: 0.7451 MB / 0.7875 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.2225, allocations: 7.938 kB / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.2227, allocations: 39.59 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.2229, allocations: 39.59 kB / 0.7876 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.2235, allocations: 155.8 kB / 0.7877 GB, free: 116 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3477/0.5712, allocations: 395.9 kB / 0.7881 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003899/0.5716, allocations: 240.8 kB / 0.7883 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.5718, allocations: 133.2 kB / 0.7885 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.572, allocations: 151.7 kB / 0.7886 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.24e-05/0.5721, allocations: 37.31 kB / 0.7886 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.5722, allocations: 50.39 kB / 0.7887 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.5723, allocations: 80.16 kB / 0.7888 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.5724, allocations: 150.7 kB / 0.7889 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.5728, allocations: 416.6 kB / 0.7893 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5728, allocations: 0 / 0.7893 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5729, allocations: 2.719 kB / 0.7893 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.5729, allocations: 1.938 kB / 0.7893 GB, free: 46.39 MB / 0.6544 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.0008065/0.5737, allocations: 0.5644 MB / 0.7899 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.5737, allocations: 8.469 kB / 0.7899 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/0.5738, allocations: 36.25 kB / 0.7899 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.5741, allocations: 270.7 kB / 0.7902 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.5741, allocations: 25.41 kB / 0.7902 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.5742, allocations: 31.78 kB / 0.7902 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.5747, allocations: 318.4 kB / 0.7905 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5747, allocations: 3.938 kB / 0.7905 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.5747, allocations: 13.58 kB / 0.7905 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.5748, allocations: 12.34 kB / 0.7905 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.5752, allocations: 231.1 kB / 0.7908 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.5764, allocations: 0.9302 MB / 0.7917 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.5769, allocations: 242.5 kB / 0.7919 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.5771, allocations: 116.5 kB / 0.792 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.5771, allocations: 9.984 kB / 0.792 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.5774, allocations: 160.4 kB / 0.7922 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 1.903e-06/0.5775, allocations: 0 / 0.7922 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30): time 0.0006316/0.5781, allocations: 324.4 kB / 0.7925 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.5781, allocations: 60.47 kB / 0.7925 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.5783, allocations: 203 kB / 0.7927 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.5783, allocations: 39.33 kB / 0.7928 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/0.5784, allocations: 152.3 kB / 0.7929 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.5785, allocations: 85.81 kB / 0.793 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.5786, allocations: 80.44 kB / 0.7931 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.003e-05/0.5787, allocations: 337.2 kB / 0.7934 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.5788, allocations: 90.5 kB / 0.7935 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.579, allocations: 151.2 kB / 0.7936 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.5794, allocations: 220 kB / 0.7938 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5794, allocations: 0 / 0.7938 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004675/0.5799, allocations: 313.6 kB / 0.7941 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.5799, allocations: 3.5 kB / 0.7941 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5799, allocations: 3.5 kB / 0.7942 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.5799, allocations: 3.438 kB / 0.7942 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.5801, allocations: 42.78 kB / 0.7942 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.5801, allocations: 3.406 kB / 0.7942 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.5803, allocations: 48.58 kB / 0.7942 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.5804, allocations: 17.62 kB / 0.7943 GB, free: 44.3 MB / 0.6544 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,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.5805, allocations: 171.7 kB / 0.7944 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.5806, allocations: 22.03 kB / 0.7944 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005179/0.5811, allocations: 283.1 kB / 0.7947 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5811, allocations: 2.438 kB / 0.7947 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5811, allocations: 7.406 kB / 0.7947 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5811, allocations: 3.047 kB / 0.7947 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009666/0.5821, allocations: 0.7273 MB / 0.7954 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5821, allocations: 0 / 0.7954 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.5823, allocations: 37.11 kB / 0.7955 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5823, allocations: 0 / 0.7955 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.5823, allocations: 7.812 kB / 0.7955 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5823, allocations: 0.5 kB / 0.7955 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.5823, allocations: 0 / 0.7955 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.5828, allocations: 364.9 kB / 0.7958 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.5828, allocations: 96.23 kB / 0.7959 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.5828, allocations: 6.938 kB / 0.7959 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.583, allocations: 27.44 kB / 0.796 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.301e-05/0.5831, allocations: 34.59 kB / 0.796 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.5832, allocations: 14.67 kB / 0.796 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.025e-05/0.5833, allocations: 142.8 kB / 0.7961 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5833, allocations: 0 / 0.7961 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003235/0.5836, allocations: 62.88 kB / 0.7962 GB, free: 43.45 MB / 0.6544 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.active,heaCon.off.active,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001688/0.5838, allocations: 123.6 kB / 0.7963 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004574/0.5842, allocations: 248.9 kB / 0.7966 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5842, allocations: 4.312 kB / 0.7966 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.5844, allocations: 127.1 kB / 0.7967 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.5848, allocations: 36.83 kB / 0.7967 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007458/0.5856, allocations: 465.6 kB / 0.7972 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.5858, allocations: 0.7617 MB / 0.7979 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.5859, allocations: 31.97 kB / 0.7979 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.5859, allocations: 28.72 kB / 0.798 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.586, allocations: 2.531 kB / 0.798 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.007007/0.593, allocations: 3.036 MB / 0.8009 GB, free: 42.32 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)