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.001421/0.001421, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.363/1.363, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.738/1.738, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001447/0.001447, allocations: 69.84 kB / 0.6723 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2197, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003389/0.2231, allocations: 2.035 MB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2244, allocations: 0.749 MB / 0.7869 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.2246, allocations: 4 kB / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.2247, allocations: 31.61 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.2248, allocations: 43.59 kB / 0.7869 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.2253, allocations: 163.7 kB / 0.7871 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.2257, allocations: 399.2 kB / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003476/0.226, allocations: 240.2 kB / 0.7877 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.2262, allocations: 143.5 kB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.2264, allocations: 139.4 kB / 0.788 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.2265, allocations: 40 kB / 0.788 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.775e-05/0.2266, allocations: 43.98 kB / 0.788 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.541e-05/0.2266, allocations: 83.75 kB / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.2268, allocations: 159.2 kB / 0.7883 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.2272, allocations: 410.6 kB / 0.7887 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.2272, allocations: 0 / 0.7887 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2272, allocations: 4 kB / 0.7887 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2272, allocations: 0 / 0.7887 GB, free: 8.043 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.0008404/0.228, allocations: 0.5728 MB / 0.7892 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2281, allocations: 8.031 kB / 0.7892 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.2282, allocations: 28.66 kB / 0.7893 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.2285, allocations: 283.7 kB / 0.7895 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.2286, allocations: 36.88 kB / 0.7896 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.2286, allocations: 32.38 kB / 0.7896 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.2292, allocations: 312 kB / 0.7899 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2292, allocations: 0 / 0.7899 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.2292, allocations: 12 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.2292, allocations: 4 kB / 0.7899 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004919/0.2297, allocations: 238.1 kB / 0.7901 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.2311, allocations: 0.9324 MB / 0.7911 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.2317, allocations: 251.4 kB / 0.7913 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.2319, allocations: 121.2 kB / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.232, allocations: 4.234 kB / 0.7914 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.2323, allocations: 163.5 kB / 0.7916 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.924e-06/0.2323, allocations: 0 / 0.7916 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0007076/0.233, allocations: 322.1 kB / 0.7919 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.233, allocations: 59.34 kB / 0.7919 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.2332, allocations: 208.9 kB / 0.7921 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.2333, allocations: 37.7 kB / 0.7922 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.2334, allocations: 152.6 kB / 0.7923 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.2335, allocations: 86.84 kB / 0.7924 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.2336, allocations: 81.67 kB / 0.7925 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2337, allocations: 330.8 kB / 0.7928 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.2339, allocations: 91.95 kB / 0.7929 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.2342, allocations: 153 kB / 0.793 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.2346, allocations: 208.8 kB / 0.7932 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2346, allocations: 0 / 0.7932 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005621/0.2352, allocations: 312.6 kB / 0.7935 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2352, allocations: 7.938 kB / 0.7935 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.2352, allocations: 4 kB / 0.7935 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2352, allocations: 0 / 0.7935 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2354, allocations: 39.91 kB / 0.7936 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2355, allocations: 4 kB / 0.7936 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.2357, allocations: 51.86 kB / 0.7936 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.2357, allocations: 12 kB / 0.7936 GB, free: 2.688 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.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.0001761/0.2359, allocations: 173.6 kB / 0.7938 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.236, allocations: 23.8 kB / 0.7938 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/0.2365, allocations: 280.1 kB / 0.7941 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2366, allocations: 8 kB / 0.7941 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2366, allocations: 0 / 0.7941 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2366, allocations: 0 / 0.7941 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.2376, allocations: 0.7309 MB / 0.7948 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2376, allocations: 0 / 0.7948 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.2378, allocations: 23.98 kB / 0.7948 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-06/0.2378, allocations: 3.938 kB / 0.7948 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.2378, allocations: 15.94 kB / 0.7949 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2378, allocations: 0 / 0.7949 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2378, allocations: 0 / 0.7949 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/0.2383, allocations: 360.7 kB / 0.7952 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.2384, allocations: 96.86 kB / 0.7953 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.2385, allocations: 8 kB / 0.7953 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.2387, allocations: 27.97 kB / 0.7953 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.2388, allocations: 43.83 kB / 0.7954 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.2388, allocations: 11.98 kB / 0.7954 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001097/0.2389, allocations: 139.3 kB / 0.7955 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2389, allocations: 0 / 0.7955 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000343/0.2393, allocations: 63.75 kB / 0.7956 GB, free: 0.5977 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.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.000204/0.2395, allocations: 125.4 kB / 0.7957 GB, free: 480 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005591/0.2401, allocations: 251.8 kB / 0.7959 GB, free: 228 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2401, allocations: 0 / 0.7959 GB, free: 228 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.2403, allocations: 127.8 kB / 0.7961 GB, free: 100 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.2407, allocations: 34.73 kB / 0.7961 GB, free: 68 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.2416, allocations: 473.2 kB / 0.7965 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.2419, allocations: 0.7564 MB / 0.7973 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001214/0.2421, allocations: 34.27 kB / 0.7973 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.146e-05/0.2421, allocations: 27.42 kB / 0.7973 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2422, allocations: 0 / 0.7973 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.006398/0.2486, allocations: 3.045 MB / 0.8003 GB, free: 11.71 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)