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.00153/0.00153, allocations: 97.09 kB / 16.27 MB, free: 6.418 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.001625/0.001625, allocations: 190 kB / 17.2 MB, free: 5.953 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.444/1.444, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.747/1.747, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001434/0.001434, allocations: 59.91 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2587, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003758/0.2625, allocations: 2.034 MB / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2639, allocations: 0.7529 MB / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.264, allocations: 4 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.2642, allocations: 35.55 kB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.2643, allocations: 43.59 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.2648, allocations: 159.7 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.2653, allocations: 391.2 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000345/0.2656, allocations: 251.5 kB / 0.7876 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.2658, allocations: 143.5 kB / 0.7877 GB, free: 72 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4028/0.6687, allocations: 135.5 kB / 0.7879 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.6689, allocations: 36.84 kB / 0.7879 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.669, allocations: 53.64 kB / 0.7879 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.6691, allocations: 87.81 kB / 0.788 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.6693, allocations: 144.1 kB / 0.7882 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004235/0.6697, allocations: 401.4 kB / 0.7886 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6697, allocations: 3.562 kB / 0.7886 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6698, allocations: 0 / 0.7886 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.6698, allocations: 0 / 0.7886 GB, free: 46.24 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.0009765/0.6708, allocations: 0.5735 MB / 0.7891 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.6708, allocations: 10.47 kB / 0.7891 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.079e-05/0.6709, allocations: 32.47 kB / 0.7892 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.6713, allocations: 266.1 kB / 0.7894 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.6713, allocations: 26.06 kB / 0.7894 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.6714, allocations: 33.92 kB / 0.7895 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.672, allocations: 316 kB / 0.7898 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.672, allocations: 4.625 kB / 0.7898 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.6721, allocations: 10.5 kB / 0.7898 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.6721, allocations: 10.62 kB / 0.7898 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.6725, allocations: 232.9 kB / 0.79 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.6739, allocations: 0.9387 MB / 0.7909 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.6744, allocations: 238 kB / 0.7912 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.6746, allocations: 122.9 kB / 0.7913 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.6746, allocations: 8.109 kB / 0.7913 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003706/0.675, allocations: 158.7 kB / 0.7914 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.675, allocations: 1.094 kB / 0.7914 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30): time 0.0006503/0.6757, allocations: 326.3 kB / 0.7917 GB, free: 45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.6757, allocations: 62.67 kB / 0.7918 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.6759, allocations: 200.3 kB / 0.792 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.6759, allocations: 42.05 kB / 0.792 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.676, allocations: 158.5 kB / 0.7922 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.676, allocations: 76.59 kB / 0.7923 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.6762, allocations: 82.09 kB / 0.7923 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.6762, allocations: 335.9 kB / 0.7927 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.6764, allocations: 95.62 kB / 0.7928 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.6766, allocations: 153.4 kB / 0.7929 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.677, allocations: 211 kB / 0.7931 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.677, allocations: 0 / 0.7931 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004902/0.6775, allocations: 314.9 kB / 0.7934 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.6775, allocations: 5.25 kB / 0.7934 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.6775, allocations: 3.25 kB / 0.7934 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.6775, allocations: 3.25 kB / 0.7934 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.6777, allocations: 39.53 kB / 0.7934 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.6777, allocations: 10.75 kB / 0.7935 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.6779, allocations: 45.7 kB / 0.7935 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.678, allocations: 14.53 kB / 0.7935 GB, free: 44.15 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.0001486/0.6781, allocations: 168.5 kB / 0.7937 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.6782, allocations: 26.09 kB / 0.7937 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.6787, allocations: 276.4 kB / 0.794 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.6787, allocations: 3.469 kB / 0.794 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.6787, allocations: 2.875 kB / 0.794 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.6787, allocations: 3.516 kB / 0.794 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008306/0.6796, allocations: 0.7364 MB / 0.7947 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.6796, allocations: 3.156 kB / 0.7947 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.6797, allocations: 31.67 kB / 0.7947 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6797, allocations: 0 / 0.7947 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.6797, allocations: 9.953 kB / 0.7947 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6798, allocations: 0 / 0.7947 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6798, allocations: 1.812 kB / 0.7947 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.6802, allocations: 364.6 kB / 0.7951 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.6803, allocations: 99.61 kB / 0.7952 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.6803, allocations: 10.02 kB / 0.7952 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.6805, allocations: 28.03 kB / 0.7952 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.6807, allocations: 35.19 kB / 0.7952 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.6807, allocations: 17.67 kB / 0.7953 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001117/0.6808, allocations: 131.5 kB / 0.7954 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6808, allocations: 0 / 0.7954 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003455/0.6812, allocations: 66.02 kB / 0.7955 GB, free: 43.3 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.0002349/0.6814, allocations: 120.4 kB / 0.7956 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005861/0.682, allocations: 265.2 kB / 0.7958 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.682, allocations: 3.438 kB / 0.7958 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.6822, allocations: 127 kB / 0.7959 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.6826, allocations: 34.05 kB / 0.796 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007426/0.6833, allocations: 496.4 kB / 0.7965 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.6835, allocations: 0.7586 MB / 0.7972 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.6836, allocations: 30.7 kB / 0.7972 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6836, allocations: 0 / 0.7972 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.006334/0.69, allocations: 3.38 MB / 0.8005 GB, free: 42.07 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)