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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 289.9 MB / 297.4 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 180.9 kB / 366.7 MB, free: 1.59 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.3 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008675/0.0008674, allocations: 83.88 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.729e-05, allocations: 8 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6716/0.6717, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2145/0.8862, allocations: 141.2 MB / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.8865, allocations: 92.44 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01189/0.8984, allocations: 4.628 MB / 1.116 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8985, allocations: 0 / 1.116 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.8985, allocations: 4 kB / 1.116 GB, free: 4.359 MB / 0.7136 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.0007205/0.8992, allocations: 0.5004 MB / 1.116 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.8993, allocations: 8.031 kB / 1.116 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.8993, allocations: 35.58 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.8997, allocations: 263.5 kB / 1.117 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.8997, allocations: 12 kB / 1.117 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.8998, allocations: 19.98 kB / 1.117 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003857/0.9002, allocations: 197 kB / 1.117 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.9007, allocations: 262.5 kB / 1.117 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.9007, allocations: 4 kB / 1.117 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.9007, allocations: 0 / 1.117 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.9008, allocations: 11.95 kB / 1.117 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.9022, allocations: 0.8983 MB / 1.118 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.9026, allocations: 217.1 kB / 1.118 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.9028, allocations: 101.3 kB / 1.118 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.9028, allocations: 8.219 kB / 1.118 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.9031, allocations: 139.6 kB / 1.118 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.9031, allocations: 0 / 1.118 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0004101/0.9035, allocations: 206.4 kB / 1.119 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.9035, allocations: 59.39 kB / 1.119 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.9037, allocations: 166.1 kB / 1.119 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.9038, allocations: 37.69 kB / 1.119 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.9039, allocations: 148.9 kB / 1.119 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.9039, allocations: 71.06 kB / 1.119 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/0.904, allocations: 1.781 kB / 1.119 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.9041, allocations: 338.8 kB / 1.119 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.9043, allocations: 72 kB / 1.119 GB, free: 440 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.9044, allocations: 133.1 kB / 1.12 GB, free: 288 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.9046, allocations: 75.47 kB / 1.12 GB, free: 212 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9046, allocations: 0 / 1.12 GB, free: 212 kB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003979/0.905, allocations: 253 kB / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.905, allocations: 4 kB / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.905, allocations: 4 kB / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.905, allocations: 0 / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.9052, allocations: 47.91 kB / 1.12 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.9053, allocations: 0 / 1.12 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.9055, allocations: 47.91 kB / 1.12 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/0.9055, allocations: 11.98 kB / 1.12 GB, free: 15.84 MB / 0.7292 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 () * 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.0001134/0.9056, allocations: 135.9 kB / 1.12 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.9057, allocations: 19.72 kB / 1.12 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004445/0.9061, allocations: 242.3 kB / 1.12 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9061, allocations: 4 kB / 1.12 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9062, allocations: 0 / 1.12 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.9062, allocations: 5.391 kB / 1.12 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000856/0.907, allocations: 0.6319 MB / 1.121 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.907, allocations: 0 / 1.121 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.9072, allocations: 35.92 kB / 1.121 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.9072, allocations: 0 / 1.121 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.9072, allocations: 4 kB / 1.121 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9072, allocations: 0 / 1.121 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.9073, allocations: 3.984 kB / 1.121 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.9076, allocations: 307.7 kB / 1.121 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.9077, allocations: 92.92 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.9077, allocations: 8 kB / 1.121 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.908, allocations: 31.95 kB / 1.121 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.9081, allocations: 31.95 kB / 1.121 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.9081, allocations: 15.98 kB / 1.121 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.547e-05/0.9082, allocations: 115.5 kB / 1.122 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9082, allocations: 9.969 kB / 1.122 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002892/0.9085, allocations: 47.84 kB / 1.122 GB, free: 14.04 MB / 0.7292 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) * 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.0002132/0.9087, allocations: 129 kB / 1.122 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003609/0.9091, allocations: 212.1 kB / 1.122 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9091, allocations: 0 / 1.122 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.9092, allocations: 107.9 kB / 1.122 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.9095, allocations: 35.23 kB / 1.122 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.9101, allocations: 306.2 kB / 1.122 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.9105, allocations: 0.7717 MB / 1.123 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.9106, allocations: 25.77 kB / 1.123 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.9107, allocations: 23.42 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.9107, allocations: 4 kB / 1.123 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.005544/0.9163, allocations: 2.392 MB / 1.126 GB, free: 10.07 MB / 0.7292 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)