Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.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_3.0.0_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.001186/0.001186, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 197.6 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.33 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3361, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004278/0.3404, allocations: 2.122 MB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3419, allocations: 0.7168 MB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.3422, allocations: 11.88 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.3424, allocations: 23.8 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.3426, allocations: 27.77 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.3431, allocations: 143.8 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.3436, allocations: 367.2 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004095/0.344, allocations: 212.3 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.3443, allocations: 111.6 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.3445, allocations: 139.3 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.462e-05/0.3446, allocations: 24 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3447, allocations: 27.98 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.807e-05/0.3448, allocations: 67.75 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.3449, allocations: 127.3 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.3453, allocations: 379 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3453, allocations: 3.984 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3453, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.3454, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 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.0009843/0.3464, allocations: 0.5652 MB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3464, allocations: 12.03 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.3465, allocations: 32.56 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.3468, allocations: 275.7 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.3469, allocations: 24.94 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.3469, allocations: 28.38 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.3475, allocations: 315.9 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3476, allocations: 4 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.3476, allocations: 15.98 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3476, allocations: 8 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00052/0.3482, allocations: 234.1 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.3497, allocations: 0.9362 MB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.3503, allocations: 241.3 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.3505, allocations: 121.2 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.3505, allocations: 4.219 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003754/0.3509, allocations: 168.7 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 2.344e-06/0.3509, allocations: 0 / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0007041/0.3516, allocations: 329.8 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3517, allocations: 59.41 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.3519, allocations: 198.8 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.3519, allocations: 37.7 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.352, allocations: 160.6 kB / 1.076 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.499e-05/0.3521, allocations: 78.92 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.3522, allocations: 85.58 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3524, allocations: 330.8 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.3526, allocations: 99.89 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.3529, allocations: 161 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.3533, allocations: 210.4 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3533, allocations: 8 kB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000577/0.3539, allocations: 304.9 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3539, allocations: 8 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3539, allocations: 0 / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3539, allocations: 4 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.3541, allocations: 39.91 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3542, allocations: 160 / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.3544, allocations: 55.72 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.3544, allocations: 11.98 kB / 1.077 GB, free: 1.055 MB / 0.8262 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.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,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.0001959/0.3546, allocations: 185.6 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.3547, allocations: 19.81 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005843/0.3553, allocations: 276.7 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3553, allocations: 0 / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3553, allocations: 4 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3553, allocations: 3.984 kB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.3564, allocations: 0.729 MB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.3565, allocations: 7.938 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.3566, allocations: 31.91 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3566, allocations: 0 / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.3567, allocations: 8 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3567, allocations: 0 / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3567, allocations: 0 / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.3572, allocations: 347.2 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.3573, allocations: 108.8 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.3573, allocations: 15.98 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.3575, allocations: 23.97 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3576, allocations: 43.83 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.3577, allocations: 4 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001126/0.3578, allocations: 140.9 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3578, allocations: 0 / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003268/0.3581, allocations: 63.84 kB / 1.079 GB, free: 14.96 MB / 0.8419 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.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.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,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.0001743/0.3583, allocations: 121.1 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.3588, allocations: 244.3 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3588, allocations: 0 / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.3591, allocations: 131.8 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.3595, allocations: 48.78 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009841/0.3605, allocations: 0.5435 MB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.3609, allocations: 0.7604 MB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.361, allocations: 30.28 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/0.3611, allocations: 23.42 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of SimCode: time 1.864e-06/0.3611, allocations: 0 / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of Templates: time 0.006746/0.3679, allocations: 2.69 MB / 1.083 GB, free: 10.34 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)