Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.31/1.31, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000907/0.0009068, allocations: 181.5 kB / 327.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.4 MB / 0.5785 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007859/0.0007862, allocations: 98.14 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 13.12 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1581, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.2985, allocations: 134.7 MB / 1.033 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.2988, allocations: 95.92 kB / 1.033 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01128/0.3101, allocations: 4.707 MB / 1.037 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3101, allocations: 0 / 1.037 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.3102, allocations: 4 kB / 1.037 GB, free: 3.98 MB / 0.6823 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.000648/0.3108, allocations: 0.5265 MB / 1.038 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3109, allocations: 8.031 kB / 1.038 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.3109, allocations: 32.56 kB / 1.038 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.3112, allocations: 271.8 kB / 1.038 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.3112, allocations: 24.94 kB / 1.038 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.3113, allocations: 36.38 kB / 1.038 GB, free: 3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.3118, allocations: 320 kB / 1.039 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3118, allocations: 0 / 1.039 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.3119, allocations: 12 kB / 1.039 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3119, allocations: 8 kB / 1.039 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.3123, allocations: 242.1 kB / 1.039 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.3137, allocations: 0.956 MB / 1.04 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.3142, allocations: 263.6 kB / 1.04 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3144, allocations: 125.2 kB / 1.04 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3144, allocations: 8.234 kB / 1.04 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.3147, allocations: 156 kB / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.3147, allocations: 0 / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.0006278/0.3153, allocations: 349.2 kB / 1.041 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.3154, allocations: 55.41 kB / 1.041 GB, free: 436 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.3155, allocations: 202.2 kB / 1.041 GB, free: 220 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.3156, allocations: 41.7 kB / 1.041 GB, free: 172 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.3156, allocations: 156.6 kB / 1.041 GB, free: 12 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.3157, allocations: 75.2 kB / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.3157, allocations: 11.94 kB / 1.041 GB, free: 15.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3159, allocations: 338.8 kB / 1.042 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.316, allocations: 91.95 kB / 1.042 GB, free: 15.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.3163, allocations: 149.1 kB / 1.042 GB, free: 15.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.3166, allocations: 236.5 kB / 1.042 GB, free: 15.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3166, allocations: 0 / 1.042 GB, free: 15.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004817/0.3171, allocations: 312.6 kB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3171, allocations: 4 kB / 1.042 GB, free: 14.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3172, allocations: 4.156 kB / 1.042 GB, free: 14.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.3172, allocations: 4 kB / 1.042 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.3174, allocations: 43.91 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3174, allocations: 7.984 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.3176, allocations: 43.81 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.3176, allocations: 24 kB / 1.042 GB, free: 14.64 MB / 0.698 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,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.3178, allocations: 169.7 kB / 1.043 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.3178, allocations: 19.72 kB / 1.043 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/0.3183, allocations: 288.1 kB / 1.043 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3183, allocations: 0 / 1.043 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3183, allocations: 4 kB / 1.043 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3184, allocations: 3.984 kB / 1.043 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009036/0.3193, allocations: 0.7336 MB / 1.044 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3193, allocations: 0 / 1.044 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.3194, allocations: 31.91 kB / 1.044 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3194, allocations: 4 kB / 1.044 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.3195, allocations: 4 kB / 1.044 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3195, allocations: 0 / 1.044 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3195, allocations: 4 kB / 1.044 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.3199, allocations: 359.1 kB / 1.044 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.32, allocations: 108.8 kB / 1.044 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.32, allocations: 4 kB / 1.044 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.3202, allocations: 39.97 kB / 1.044 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.3203, allocations: 39.88 kB / 1.044 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.3203, allocations: 8 kB / 1.044 GB, free: 12.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.786e-05/0.3204, allocations: 148 kB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3204, allocations: 0 / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002782/0.3207, allocations: 60 kB / 1.044 GB, free: 12.53 MB / 0.698 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.offToOn.enableFire,heaCon.onToOff.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.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001343/0.3209, allocations: 117.1 kB / 1.044 GB, free: 12.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004624/0.3213, allocations: 255.8 kB / 1.045 GB, free: 12.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3213, allocations: 4.25 kB / 1.045 GB, free: 12.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.3216, allocations: 132.4 kB / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.3219, allocations: 37.77 kB / 1.045 GB, free: 11.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000747/0.3226, allocations: 0.5351 MB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.323, allocations: 0.7605 MB / 1.046 GB, free: 10.63 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.3231, allocations: 30.28 kB / 1.046 GB, free: 10.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.3232, allocations: 31.42 kB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.3232, allocations: 0 / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of Templates: time 0.005065/0.3282, allocations: 2.571 MB / 1.049 GB, free: 8.051 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)