Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001377/0.001377, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 192.4 kB / 16.53 MB, free: 6.668 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.061/3.061, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 62.94 kB / 0.912 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4032, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004165/0.4074, allocations: 2.037 MB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.4091, allocations: 0.709 MB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.4094, allocations: 4 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.4096, allocations: 39.55 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.4098, allocations: 47.58 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006229/0.4105, allocations: 155.8 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006053/0.4111, allocations: 395.2 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.4116, allocations: 243.5 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.4119, allocations: 143.5 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.4122, allocations: 143.4 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.525e-05/0.4122, allocations: 36 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.4124, allocations: 51.98 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.4125, allocations: 79.81 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.4127, allocations: 143.3 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.4132, allocations: 407 kB / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4132, allocations: 4 kB / 1.073 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.995e-06/0.4132, allocations: 4 kB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.4132, allocations: 3.938 kB / 1.073 GB, free: 5.812 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.00108/0.4143, allocations: 0.5651 MB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4144, allocations: 8.031 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.4145, allocations: 36.55 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.4148, allocations: 272.8 kB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.4149, allocations: 24.94 kB / 1.074 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.415, allocations: 32.38 kB / 1.074 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.4156, allocations: 323.9 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4156, allocations: 0 / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.479e-05/0.4157, allocations: 12 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4157, allocations: 4 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.4162, allocations: 234.1 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.4178, allocations: 0.9363 MB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005284/0.4183, allocations: 247.6 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.4186, allocations: 129.2 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.4186, allocations: 8.219 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003819/0.419, allocations: 163.4 kB / 1.076 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.419, allocations: 3.938 kB / 1.076 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006987/0.4197, allocations: 325.4 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.4198, allocations: 55.41 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.42, allocations: 199.4 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.42, allocations: 45.69 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.4201, allocations: 148.6 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.942e-05/0.4202, allocations: 82.92 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.4203, allocations: 85.58 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4205, allocations: 330.8 kB / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.4207, allocations: 99.91 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.4209, allocations: 153 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.4213, allocations: 222.4 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4213, allocations: 0 / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005485/0.4218, allocations: 305 kB / 1.078 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.4219, allocations: 8.031 kB / 1.078 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.4219, allocations: 0 / 1.078 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4219, allocations: 4 kB / 1.078 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.4221, allocations: 39.91 kB / 1.078 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.4221, allocations: 7.938 kB / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.4223, allocations: 39.81 kB / 1.078 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.4224, allocations: 15.98 kB / 1.078 GB, free: 464 kB / 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.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,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.0001886/0.4226, allocations: 169.7 kB / 1.078 GB, free: 284 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.4226, allocations: 23.72 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005617/0.4232, allocations: 276.8 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4232, allocations: 4 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4232, allocations: 0 / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.4232, allocations: 7.969 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.4243, allocations: 0.7326 MB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4243, allocations: 0 / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.4244, allocations: 31.91 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4244, allocations: 0 / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.4245, allocations: 8 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.4245, allocations: 4 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4245, allocations: 0 / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.425, allocations: 367.6 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.4251, allocations: 96.84 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.4251, allocations: 11.94 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.4253, allocations: 23.97 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.4254, allocations: 43.89 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.4255, allocations: 8 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001108/0.4256, allocations: 140.3 kB / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4256, allocations: 0 / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003202/0.4259, allocations: 63.75 kB / 1.08 GB, free: 14.36 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.active,heaCon.off.active,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,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.0001772/0.4261, allocations: 121.4 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005898/0.4267, allocations: 267.8 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4267, allocations: 0 / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.4269, allocations: 127.8 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.4273, allocations: 34.05 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.4282, allocations: 482.9 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.4286, allocations: 0.7564 MB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.4287, allocations: 34.27 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-05/0.4288, allocations: 27.42 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of SimCode: time 1.993e-06/0.4288, allocations: 0 / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of Templates: time 0.00706/0.4359, allocations: 3.033 MB / 1.084 GB, free: 9.461 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)