Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.213/2.213, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001338/0.001338, allocations: 183.3 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.338/2.338, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0008525/0.0008522, allocations: 87.61 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004808, allocations: 14.31 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1975, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2573/0.4549, allocations: 134.5 MB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/0.4554, allocations: 95.94 kB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03167/0.4871, allocations: 4.715 MB / 1.036 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.287e-06/0.4871, allocations: 3.938 kB / 1.036 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.661e-05/0.4872, allocations: 4 kB / 1.036 GB, free: 6.043 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.001817/0.489, allocations: 0.5242 MB / 1.036 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.4891, allocations: 8.031 kB / 1.036 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.4893, allocations: 32.56 kB / 1.036 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.49, allocations: 263.9 kB / 1.036 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.4901, allocations: 24.94 kB / 1.036 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.4902, allocations: 36.36 kB / 1.036 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.4918, allocations: 320 kB / 1.037 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.4919, allocations: 3.938 kB / 1.037 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.492, allocations: 12 kB / 1.037 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.492, allocations: 8 kB / 1.037 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.4935, allocations: 238.1 kB / 1.037 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/0.4975, allocations: 0.9638 MB / 1.038 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.499, allocations: 261.8 kB / 1.038 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006529/0.4997, allocations: 121.2 kB / 1.038 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.076e-05/0.4998, allocations: 4.234 kB / 1.038 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007807/0.5006, allocations: 164 kB / 1.038 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 5.481e-06/0.5006, allocations: 0 / 1.038 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.001996/0.5026, allocations: 341.3 kB / 1.039 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.5028, allocations: 55.41 kB / 1.039 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.5032, allocations: 198.2 kB / 1.039 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.5033, allocations: 45.69 kB / 1.039 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.5035, allocations: 156.6 kB / 1.039 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.5036, allocations: 71.05 kB / 1.039 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.5037, allocations: 8 kB / 1.039 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.5039, allocations: 334.8 kB / 1.04 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.5043, allocations: 95.95 kB / 1.04 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.5047, allocations: 157 kB / 1.04 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.5051, allocations: 99.73 kB / 1.04 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5051, allocations: 0 / 1.04 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009691/0.5061, allocations: 316.7 kB / 1.04 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.5061, allocations: 4 kB / 1.04 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5061, allocations: 3.938 kB / 1.04 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.5062, allocations: 4 kB / 1.04 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.5065, allocations: 43.91 kB / 1.04 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.5066, allocations: 4 kB / 1.04 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/0.507, allocations: 51.91 kB / 1.04 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.5071, allocations: 12 kB / 1.04 GB, free: 0.8711 MB / 0.6823 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.0003197/0.5074, allocations: 181.6 kB / 1.04 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.5075, allocations: 19.72 kB / 1.041 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000944/0.5084, allocations: 284.2 kB / 1.041 GB, free: 392 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.5085, allocations: 0 / 1.041 GB, free: 392 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.5085, allocations: 4 kB / 1.041 GB, free: 388 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5085, allocations: 0 / 1.041 GB, free: 388 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.5103, allocations: 0.7298 MB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5104, allocations: 0 / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.5107, allocations: 31.92 kB / 1.042 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.5107, allocations: 4 kB / 1.042 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.5107, allocations: 7.984 kB / 1.042 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.5108, allocations: 0 / 1.042 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5108, allocations: 4 kB / 1.042 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008866/0.5117, allocations: 363 kB / 1.042 GB, free: 15.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.675e-05/0.5118, allocations: 104.8 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.5119, allocations: 11.98 kB / 1.042 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.5123, allocations: 35.97 kB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.5124, allocations: 43.88 kB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.5125, allocations: 4 kB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001737/0.5127, allocations: 144.1 kB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5127, allocations: 0 / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004873/0.5132, allocations: 64 kB / 1.042 GB, free: 14.75 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.0002191/0.5134, allocations: 113.1 kB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009155/0.5143, allocations: 259.6 kB / 1.043 GB, free: 14.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5144, allocations: 3.938 kB / 1.043 GB, free: 14.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.5148, allocations: 132.4 kB / 1.043 GB, free: 14.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.5153, allocations: 31.92 kB / 1.043 GB, free: 14.22 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.5167, allocations: 0.5354 MB / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.5171, allocations: 0.7644 MB / 1.044 GB, free: 12.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002324/0.5174, allocations: 30.28 kB / 1.044 GB, free: 12.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.5175, allocations: 27.42 kB / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/0.5175, allocations: 0 / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of Templates: time 0.00991/0.5275, allocations: 2.563 MB / 1.047 GB, free: 10.27 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)