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.001289/0.001289, allocations: 104.9 kB / 16.29 MB, free: 6.129 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.001449/0.001449, allocations: 189.5 kB / 17.22 MB, free: 5.738 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.452/1.452, 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.935/1.935, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001544/0.001544, allocations: 67.91 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2885, allocations: 114.6 MB / 0.7841 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00359/0.2921, allocations: 2.023 MB / 0.7861 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.2935, allocations: 0.7451 MB / 0.7868 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.2936, allocations: 4 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.2938, allocations: 35.55 kB / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.2939, allocations: 43.59 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.2943, allocations: 155.8 kB / 0.787 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.2948, allocations: 395.2 kB / 0.7874 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004477/0.2953, allocations: 263.5 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5068/0.8021, allocations: 132.1 kB / 0.7878 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.8025, allocations: 143.5 kB / 0.7879 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.8027, allocations: 36.28 kB / 0.7879 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.8028, allocations: 53.45 kB / 0.788 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.847e-05/0.8029, allocations: 83.59 kB / 0.7881 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.8031, allocations: 152.7 kB / 0.7882 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.8037, allocations: 406.3 kB / 0.7886 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8037, allocations: 2.625 kB / 0.7886 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8037, allocations: 0 / 0.7886 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.8037, allocations: 0.7188 kB / 0.7886 GB, free: 46.2 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.0008492/0.8046, allocations: 0.583 MB / 0.7892 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.8046, allocations: 12.19 kB / 0.7892 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.83e-05/0.8047, allocations: 34.34 kB / 0.7892 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.805, allocations: 259.2 kB / 0.7895 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.805, allocations: 26.44 kB / 0.7895 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.8051, allocations: 36.28 kB / 0.7895 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.8056, allocations: 312.1 kB / 0.7898 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.8056, allocations: 6.688 kB / 0.7898 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.8057, allocations: 11.84 kB / 0.7898 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.8057, allocations: 5.844 kB / 0.7898 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.8061, allocations: 233.9 kB / 0.7901 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.8074, allocations: 0.9289 MB / 0.791 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.8079, allocations: 246.7 kB / 0.7912 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.8081, allocations: 117.1 kB / 0.7913 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.8081, allocations: 9.422 kB / 0.7913 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.8085, allocations: 160.4 kB / 0.7915 GB, free: 45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/0.8085, allocations: 2.688 kB / 0.7915 GB, free: 45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30): time 0.0006502/0.8091, allocations: 325 kB / 0.7918 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.8092, allocations: 56.05 kB / 0.7919 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.8094, allocations: 203.3 kB / 0.792 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.8094, allocations: 42.27 kB / 0.7921 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.8095, allocations: 161.3 kB / 0.7922 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.8096, allocations: 79.25 kB / 0.7923 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.8097, allocations: 79.17 kB / 0.7924 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.8098, allocations: 336.3 kB / 0.7927 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.8099, allocations: 94.92 kB / 0.7928 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.8101, allocations: 150 kB / 0.7929 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.8105, allocations: 215.5 kB / 0.7932 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8105, allocations: 0.6562 kB / 0.7932 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004972/0.811, allocations: 311.8 kB / 0.7935 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.811, allocations: 4.25 kB / 0.7935 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.811, allocations: 5.781 kB / 0.7935 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.8111, allocations: 3.469 kB / 0.7935 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.8113, allocations: 40.77 kB / 0.7935 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.8113, allocations: 3.906 kB / 0.7935 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.8115, allocations: 52.41 kB / 0.7936 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.8115, allocations: 13.44 kB / 0.7936 GB, free: 44.1 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.000148/0.8117, allocations: 174.7 kB / 0.7937 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.8117, allocations: 22.66 kB / 0.7938 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005021/0.8122, allocations: 271.3 kB / 0.794 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.8122, allocations: 5.906 kB / 0.794 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.8122, allocations: 3.125 kB / 0.794 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.8123, allocations: 3.328 kB / 0.794 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008312/0.8131, allocations: 0.7328 MB / 0.7947 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.8131, allocations: 0 / 0.7947 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.8132, allocations: 32.45 kB / 0.7948 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.8133, allocations: 0 / 0.7948 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.8133, allocations: 6.688 kB / 0.7948 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.8133, allocations: 0 / 0.7948 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8133, allocations: 3.281 kB / 0.7948 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.8137, allocations: 366.8 kB / 0.7951 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.8138, allocations: 104 kB / 0.7952 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.8138, allocations: 8.438 kB / 0.7952 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.814, allocations: 27.81 kB / 0.7953 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.8141, allocations: 35.3 kB / 0.7953 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.8141, allocations: 11.66 kB / 0.7953 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.852e-05/0.8142, allocations: 137.6 kB / 0.7954 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8142, allocations: 0 / 0.7954 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003037/0.8146, allocations: 62.94 kB / 0.7955 GB, free: 43.26 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.000181/0.8147, allocations: 121 kB / 0.7956 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004633/0.8152, allocations: 250.3 kB / 0.7959 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8152, allocations: 3.5 kB / 0.7959 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.8154, allocations: 127 kB / 0.796 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.8158, allocations: 36.88 kB / 0.796 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007233/0.8165, allocations: 465.7 kB / 0.7965 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.8167, allocations: 0.7592 MB / 0.7972 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.463e-05/0.8168, allocations: 26.34 kB / 0.7972 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.023e-05/0.8169, allocations: 29.36 kB / 0.7973 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.8169, allocations: 0 / 0.7973 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.007901/0.8248, allocations: 3.042 MB / 0.8002 GB, free: 42.14 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)