Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.829/1.829, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001443/0.001443, allocations: 168.9 kB / 361.4 MB, free: 6.809 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.952/1.952, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008651/0.0008649, allocations: 91.94 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.777e-05/1.779e-05, allocations: 4 kB / 0.8518 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7693, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2092/0.9786, allocations: 140.2 MB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.9789, allocations: 92.62 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0129/0.9918, allocations: 4.611 MB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.016e-06/0.9919, allocations: 0 / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.339e-05/0.992, allocations: 8 kB / 1.106 GB, free: 10.96 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.0009394/0.9929, allocations: 0.5042 MB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.993, allocations: 9.719 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.9931, allocations: 35.58 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.9935, allocations: 264.6 kB / 1.107 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.9936, allocations: 12 kB / 1.107 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.9936, allocations: 20 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004497/0.9941, allocations: 209 kB / 1.107 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.9946, allocations: 254.6 kB / 1.107 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.9946, allocations: 1.703 kB / 1.107 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.9947, allocations: 0 / 1.107 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.9947, allocations: 11.95 kB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.9964, allocations: 0.8967 MB / 1.108 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.9969, allocations: 220 kB / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.9971, allocations: 97.31 kB / 1.108 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.9971, allocations: 4.234 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.9974, allocations: 144.3 kB / 1.108 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 5.26e-06/0.9974, allocations: 1.734 kB / 1.108 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0004295/0.9978, allocations: 201.3 kB / 1.109 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.9979, allocations: 55.41 kB / 1.109 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.9981, allocations: 172.8 kB / 1.109 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.9981, allocations: 29.7 kB / 1.109 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.9983, allocations: 156.9 kB / 1.109 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.225e-05/0.9984, allocations: 75.06 kB / 1.109 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/0.9984, allocations: 0 / 1.109 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.9985, allocations: 334.8 kB / 1.109 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.9987, allocations: 76 kB / 1.11 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.9989, allocations: 126.3 kB / 1.11 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.999, allocations: 83.42 kB / 1.11 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.999, allocations: 3.984 kB / 1.11 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004226/0.9995, allocations: 241 kB / 1.11 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.9995, allocations: 4 kB / 1.11 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.9995, allocations: 4 kB / 1.11 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.9995, allocations: 0 / 1.11 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.9998, allocations: 52.06 kB / 1.11 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.9998, allocations: 3.938 kB / 1.11 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/1, allocations: 45.62 kB / 1.11 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/1, allocations: 12 kB / 1.11 GB, free: 6.438 MB / 0.7136 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.0001369/1, allocations: 138.5 kB / 1.11 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/1, allocations: 19.72 kB / 1.11 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/1.001, allocations: 230.8 kB / 1.11 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.001, allocations: 4 kB / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.001, allocations: 0 / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.001, allocations: 0 / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009391/1.002, allocations: 0.6358 MB / 1.111 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.002, allocations: 1.938 kB / 1.111 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/1.002, allocations: 39.91 kB / 1.111 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/1.002, allocations: 0 / 1.111 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/1.002, allocations: 5.219 kB / 1.111 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.002, allocations: 0 / 1.111 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.002, allocations: 1.078 kB / 1.111 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/1.002, allocations: 319.1 kB / 1.111 GB, free: 5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/1.002, allocations: 92.92 kB / 1.112 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/1.003, allocations: 0 / 1.112 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/1.003, allocations: 27.97 kB / 1.112 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/1.003, allocations: 43.94 kB / 1.112 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/1.003, allocations: 8 kB / 1.112 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.968e-05/1.003, allocations: 124 kB / 1.112 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.003, allocations: 4 kB / 1.112 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00033/1.003, allocations: 47.84 kB / 1.112 GB, free: 4.641 MB / 0.7136 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.0002191/1.004, allocations: 124.8 kB / 1.112 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003775/1.004, allocations: 215.9 kB / 1.112 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.004, allocations: 0 / 1.112 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/1.004, allocations: 111.9 kB / 1.112 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/1.004, allocations: 16.17 kB / 1.112 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007222/1.005, allocations: 312.6 kB / 1.113 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/1.006, allocations: 0.7719 MB / 1.113 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001335/1.006, allocations: 31.75 kB / 1.113 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/1.006, allocations: 23.42 kB / 1.113 GB, free: 3 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/1.006, allocations: 0 / 1.113 GB, free: 3 MB / 0.7136 GB Notification: Performance of Templates: time 0.006382/1.012, allocations: 2.405 MB / 1.116 GB, free: 0.668 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)