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.001469/0.001469, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002003/0.002003, allocations: 193.8 kB / 16.13 MB, free: 6.656 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.385/1.385, allocations: 205.1 MB / 222 MB, free: 4.738 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.684/1.684, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001401/0.001401, allocations: 63.06 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2551, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003369/0.2585, allocations: 2.118 MB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.2599, allocations: 0.7568 MB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.26, allocations: 7.938 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.2602, allocations: 23.8 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.2603, allocations: 27.77 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.2608, allocations: 147.8 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.2612, allocations: 363.2 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.2615, allocations: 208.5 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.2616, allocations: 119.5 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.2618, allocations: 139.3 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.2619, allocations: 23.94 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-05/0.262, allocations: 27.98 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.2621, allocations: 63.75 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.2622, allocations: 135.2 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.2626, allocations: 379.1 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2626, allocations: 0 / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2626, allocations: 0 / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2626, allocations: 0 / 0.7871 GB, free: 9.457 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.0009121/0.2635, allocations: 0.5729 MB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.2636, allocations: 11.97 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.87e-05/0.2637, allocations: 28.66 kB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.264, allocations: 267.8 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.264, allocations: 24.88 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.2641, allocations: 32.38 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005949/0.2647, allocations: 323.9 kB / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2647, allocations: 0 / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.2647, allocations: 15.98 kB / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2648, allocations: 4 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.2652, allocations: 234.1 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.2667, allocations: 0.9324 MB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.2672, allocations: 244.8 kB / 0.7897 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.2674, allocations: 121.2 kB / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.2675, allocations: 4.234 kB / 0.7898 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/0.2679, allocations: 172.4 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.542e-06/0.2679, allocations: 0 / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0007219/0.2686, allocations: 321.4 kB / 0.7903 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.2687, allocations: 59.41 kB / 0.7903 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.2689, allocations: 204 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.2689, allocations: 41.7 kB / 0.7906 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.269, allocations: 148.6 kB / 0.7907 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.2691, allocations: 90.83 kB / 0.7908 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.2692, allocations: 81.67 kB / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2693, allocations: 326.8 kB / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.2696, allocations: 95.94 kB / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.2698, allocations: 161 kB / 0.7914 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.2702, allocations: 208.8 kB / 0.7916 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2702, allocations: 0 / 0.7916 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005335/0.2707, allocations: 312.4 kB / 0.7919 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.2707, allocations: 4.938 kB / 0.7919 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2708, allocations: 4 kB / 0.7919 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2708, allocations: 0 / 0.7919 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.271, allocations: 48.06 kB / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.271, allocations: 11.92 kB / 0.792 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.2712, allocations: 47.66 kB / 0.792 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.2712, allocations: 11.94 kB / 0.792 GB, free: 4.098 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,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,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.0001723/0.2714, allocations: 181.6 kB / 0.7922 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.2715, allocations: 23.81 kB / 0.7922 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005156/0.272, allocations: 280.2 kB / 0.7925 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.272, allocations: 4 kB / 0.7925 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.272, allocations: 0 / 0.7925 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.272, allocations: 3.984 kB / 0.7925 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009916/0.273, allocations: 0.73 MB / 0.7932 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.273, allocations: 0 / 0.7932 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.2732, allocations: 27.92 kB / 0.7933 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2732, allocations: 7.984 kB / 0.7933 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.2732, allocations: 4 kB / 0.7933 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2732, allocations: 4 kB / 0.7933 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2732, allocations: 0 / 0.7933 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.2737, allocations: 359.7 kB / 0.7936 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-05/0.2738, allocations: 100.8 kB / 0.7937 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.2739, allocations: 7.984 kB / 0.7937 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.2741, allocations: 23.97 kB / 0.7937 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.96e-05/0.2742, allocations: 39.89 kB / 0.7938 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2742, allocations: 8 kB / 0.7938 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001032/0.2743, allocations: 140.1 kB / 0.7939 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2743, allocations: 4 kB / 0.7939 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00031/0.2746, allocations: 63.84 kB / 0.794 GB, free: 2.004 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 (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.0001849/0.2748, allocations: 125 kB / 0.7941 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004854/0.2753, allocations: 243.8 kB / 0.7943 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2753, allocations: 4.25 kB / 0.7943 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.2755, allocations: 127.9 kB / 0.7945 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.2759, allocations: 31.97 kB / 0.7945 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000809/0.2768, allocations: 0.5587 MB / 0.795 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.277, allocations: 0.7605 MB / 0.7958 GB, free: 104 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.2772, allocations: 30.28 kB / 0.7958 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/0.2773, allocations: 27.42 kB / 0.7958 GB, free: 44 kB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2773, allocations: 3.938 kB / 0.7958 GB, free: 40 kB / 0.6075 GB Notification: Performance of Templates: time 0.005827/0.2831, allocations: 2.681 MB / 0.7985 GB, free: 13.38 MB / 0.6231 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)