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.001109/0.001109, allocations: 106.7 kB / 16.37 MB, free: 6.469 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.001102/0.001102, allocations: 188.4 kB / 17.31 MB, free: 5.824 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.327/1.327, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.764/1.764, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001424/0.001424, allocations: 74.47 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2404, allocations: 114.5 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003363/0.2438, allocations: 2.046 MB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.245, allocations: 0.7451 MB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.2452, allocations: 4 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.2453, allocations: 39.55 kB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.2454, allocations: 43.58 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.2459, allocations: 155.8 kB / 0.7877 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3812/0.6271, allocations: 392.5 kB / 0.7881 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.6276, allocations: 238.8 kB / 0.7884 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.6278, allocations: 137.1 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.628, allocations: 149.6 kB / 0.7886 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/0.6281, allocations: 36.84 kB / 0.7887 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.6282, allocations: 47.56 kB / 0.7887 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.896e-05/0.6283, allocations: 82.28 kB / 0.7888 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.6284, allocations: 149 kB / 0.7889 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.6288, allocations: 419.8 kB / 0.7893 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6288, allocations: 2.062 kB / 0.7893 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6288, allocations: 0 / 0.7893 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.6288, allocations: 2.312 kB / 0.7893 GB, free: 46.34 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.0007764/0.6296, allocations: 0.5739 MB / 0.7899 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.6296, allocations: 10.5 kB / 0.7899 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.6297, allocations: 30.84 kB / 0.7899 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.63, allocations: 272.1 kB / 0.7902 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.63, allocations: 23.5 kB / 0.7902 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.509e-05/0.6301, allocations: 31.41 kB / 0.7902 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.6306, allocations: 320.9 kB / 0.7905 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.6306, allocations: 3.938 kB / 0.7906 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.6306, allocations: 9.875 kB / 0.7906 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.6307, allocations: 8.125 kB / 0.7906 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.6311, allocations: 235.6 kB / 0.7908 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.6323, allocations: 0.9271 MB / 0.7917 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.6328, allocations: 241.2 kB / 0.7919 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.633, allocations: 117.5 kB / 0.792 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.633, allocations: 13.83 kB / 0.7921 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.6332, allocations: 159.1 kB / 0.7922 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.6332, allocations: 0 / 0.7922 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30): time 0.0006265/0.6339, allocations: 317.7 kB / 0.7925 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.6339, allocations: 65.84 kB / 0.7926 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.6341, allocations: 200.7 kB / 0.7928 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.6341, allocations: 41.47 kB / 0.7928 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.6342, allocations: 154.5 kB / 0.7929 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.6342, allocations: 80.14 kB / 0.793 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.6343, allocations: 81.06 kB / 0.7931 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.854e-05/0.6344, allocations: 333.9 kB / 0.7934 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.6346, allocations: 95.52 kB / 0.7935 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.6348, allocations: 156.7 kB / 0.7937 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.6351, allocations: 214.2 kB / 0.7939 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6351, allocations: 7.375 kB / 0.7939 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004456/0.6356, allocations: 306.5 kB / 0.7942 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6356, allocations: 6.812 kB / 0.7942 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6356, allocations: 3 kB / 0.7942 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.6356, allocations: 3.5 kB / 0.7942 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.6358, allocations: 40.48 kB / 0.7942 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6359, allocations: 10.36 kB / 0.7942 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.6361, allocations: 44.09 kB / 0.7943 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.6361, allocations: 17.33 kB / 0.7943 GB, free: 44.24 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.0001305/0.6363, allocations: 170.5 kB / 0.7944 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.6363, allocations: 25.25 kB / 0.7945 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.6368, allocations: 277.1 kB / 0.7947 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6368, allocations: 3.5 kB / 0.7947 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6368, allocations: 0 / 0.7947 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.6368, allocations: 3 kB / 0.7947 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008254/0.6376, allocations: 0.728 MB / 0.7955 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6377, allocations: 0 / 0.7955 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.6378, allocations: 33.34 kB / 0.7955 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6378, allocations: 0 / 0.7955 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.6378, allocations: 7.812 kB / 0.7955 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6378, allocations: 4.609 kB / 0.7955 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.6378, allocations: 3.5 kB / 0.7955 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.6383, allocations: 360.3 kB / 0.7958 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.6383, allocations: 106.8 kB / 0.7959 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.6383, allocations: 5.031 kB / 0.796 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.6385, allocations: 23.45 kB / 0.796 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/0.6386, allocations: 39.59 kB / 0.796 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.6387, allocations: 19.78 kB / 0.796 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.875e-05/0.6388, allocations: 132.7 kB / 0.7962 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6388, allocations: 0 / 0.7962 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003074/0.6391, allocations: 64.25 kB / 0.7962 GB, free: 43.39 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.0001553/0.6392, allocations: 124 kB / 0.7963 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.6397, allocations: 250 kB / 0.7966 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6397, allocations: 0 / 0.7966 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.6399, allocations: 128.8 kB / 0.7967 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.6403, allocations: 37.81 kB / 0.7967 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007166/0.641, allocations: 497.3 kB / 0.7972 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.6412, allocations: 0.7579 MB / 0.7979 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.659e-05/0.6413, allocations: 31.23 kB / 0.798 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.6413, allocations: 4 kB / 0.798 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.006216/0.6475, allocations: 3.386 MB / 0.8013 GB, free: 42.15 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 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)