Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.058/2.058, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 202.2 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 107.7 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 51.84 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2081, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002914/0.2111, allocations: 2.132 MB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2122, allocations: 0.7013 MB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.2124, allocations: 11.94 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.2126, allocations: 23.73 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.2127, allocations: 31.78 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.2131, allocations: 143.8 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.2135, allocations: 363.2 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.2138, allocations: 224.5 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.2139, allocations: 107.6 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.2141, allocations: 139.3 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.2141, allocations: 20 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.076e-05/0.2142, allocations: 24 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.2142, allocations: 67.73 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.204e-05/0.2143, allocations: 127.3 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.2146, allocations: 376.8 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2146, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2146, allocations: 4 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2146, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 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.0007078/0.2154, allocations: 0.569 MB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2154, allocations: 15.98 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.755e-05/0.2155, allocations: 36.55 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.2157, allocations: 281.2 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.2157, allocations: 20.94 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.2158, allocations: 36.38 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.2162, allocations: 315.9 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2163, allocations: 0 / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.2163, allocations: 12 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2163, allocations: 11.94 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.2167, allocations: 230.1 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.2178, allocations: 0.9441 MB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.2182, allocations: 241.1 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.2184, allocations: 117.2 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.2185, allocations: 8.219 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/0.2188, allocations: 159.5 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.2188, allocations: 0 / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.0005689/0.2194, allocations: 321.3 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.2194, allocations: 71.39 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.2196, allocations: 202.1 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.2196, allocations: 37.7 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.2197, allocations: 156.6 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.2197, allocations: 82.83 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.015e-05/0.2198, allocations: 77.69 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.2199, allocations: 334.8 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.2201, allocations: 99.95 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.2202, allocations: 149 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.2205, allocations: 216.7 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2206, allocations: 4 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004387/0.221, allocations: 304.5 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.221, allocations: 13.28 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.221, allocations: 3.984 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2211, allocations: 4 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.2212, allocations: 35.92 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2213, allocations: 4 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.2215, allocations: 51.64 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.2215, allocations: 12 kB / 1.227 GB, free: 107.4 MB / 0.823 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.0001279/0.2216, allocations: 182.3 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.2217, allocations: 19.75 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.2221, allocations: 273.5 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2221, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2221, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2221, allocations: 4 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007982/0.223, allocations: 0.7407 MB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.223, allocations: 0 / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.2231, allocations: 27.92 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2231, allocations: 0 / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.2231, allocations: 11.98 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2231, allocations: 0 / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2231, allocations: 0 / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006731/0.2238, allocations: 1.028 MB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.2239, allocations: 108.6 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.2239, allocations: 12 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.2241, allocations: 31.95 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/0.2242, allocations: 35.95 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.2242, allocations: 12 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.17e-05/0.2243, allocations: 132.4 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.222e-06/0.2243, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000384/0.2247, allocations: 67.78 kB / 1.23 GB, free: 104.6 MB / 0.823 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.0001373/0.2248, allocations: 125 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.2252, allocations: 252.3 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2253, allocations: 4 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.2254, allocations: 127.8 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2258, allocations: 37.17 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/0.2266, allocations: 0.7647 MB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.2267, allocations: 0.7605 MB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.2268, allocations: 30.28 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.2269, allocations: 23.44 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of SimCode: time 3.11e-07/0.2269, allocations: 0 / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of Templates: time 0.005107/0.232, allocations: 2.822 MB / 1.235 GB, free: 99.6 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)