Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.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.7.0.x_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.00897/0.008971, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001865/0.001865, allocations: 193.3 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.617/1.617, allocations: 251.7 MB / 0.5094 GB, free: 2.969 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 68.22 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2325, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003279/0.2358, allocations: 2.04 MB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.2372, allocations: 0.7487 MB / 0.8308 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.2374, allocations: 8 kB / 0.8308 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.2376, allocations: 35.61 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.2377, allocations: 47.52 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.2382, allocations: 151.8 kB / 0.831 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.2386, allocations: 399.2 kB / 0.8314 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.239, allocations: 247.6 kB / 0.8316 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.2392, allocations: 139.5 kB / 0.8317 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.2394, allocations: 147.3 kB / 0.8319 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.2394, allocations: 40 kB / 0.8319 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.122e-05/0.2395, allocations: 44 kB / 0.832 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-05/0.2396, allocations: 79.81 kB / 0.832 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.2397, allocations: 155.2 kB / 0.8322 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.2402, allocations: 418.6 kB / 0.8326 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2402, allocations: 0 / 0.8326 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2402, allocations: 0 / 0.8326 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.2402, allocations: 0 / 0.8326 GB, free: 11.53 MB / 0.6544 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.0008475/0.2411, allocations: 0.5689 MB / 0.8331 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2411, allocations: 8.031 kB / 0.8331 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.677e-05/0.2412, allocations: 32.56 kB / 0.8332 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.2416, allocations: 271.8 kB / 0.8334 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.2417, allocations: 28.94 kB / 0.8335 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.2417, allocations: 32.36 kB / 0.8335 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.2423, allocations: 315.9 kB / 0.8338 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2423, allocations: 0 / 0.8338 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.2423, allocations: 12 kB / 0.8338 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2423, allocations: 8 kB / 0.8338 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.2428, allocations: 242.1 kB / 0.834 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2441, allocations: 0.9322 MB / 0.835 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.2446, allocations: 251.6 kB / 0.8352 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.2448, allocations: 121.2 kB / 0.8353 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.2448, allocations: 4.234 kB / 0.8353 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.2451, allocations: 164.5 kB / 0.8355 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/0.2451, allocations: 0 / 0.8355 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30): time 0.0007026/0.2458, allocations: 327 kB / 0.8358 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.2459, allocations: 55.41 kB / 0.8358 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.2461, allocations: 206.7 kB / 0.836 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.2461, allocations: 41.69 kB / 0.8361 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.2462, allocations: 160.6 kB / 0.8362 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.2463, allocations: 75 kB / 0.8363 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2464, allocations: 81.67 kB / 0.8364 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2465, allocations: 330.8 kB / 0.8367 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.2467, allocations: 99.95 kB / 0.8368 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.247, allocations: 152.8 kB / 0.8369 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.2473, allocations: 212.7 kB / 0.8371 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2473, allocations: 4 kB / 0.8371 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004809/0.2478, allocations: 312.4 kB / 0.8374 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2478, allocations: 8 kB / 0.8374 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2478, allocations: 0 / 0.8374 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2479, allocations: 7.984 kB / 0.8374 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.2481, allocations: 39.91 kB / 0.8375 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.2481, allocations: 8.141 kB / 0.8375 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.2483, allocations: 47.66 kB / 0.8375 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.2483, allocations: 19.98 kB / 0.8376 GB, free: 6.156 MB / 0.6544 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.000157/0.2485, allocations: 165.7 kB / 0.8377 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.2485, allocations: 19.72 kB / 0.8377 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005094/0.249, allocations: 284.7 kB / 0.838 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.2491, allocations: 7.984 kB / 0.838 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2491, allocations: 0 / 0.838 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2491, allocations: 0 / 0.838 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008784/0.25, allocations: 0.7258 MB / 0.8387 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.25, allocations: 0 / 0.8387 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.2501, allocations: 31.91 kB / 0.8388 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2501, allocations: 8 kB / 0.8388 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.2501, allocations: 4 kB / 0.8388 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2502, allocations: 7.938 kB / 0.8388 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2502, allocations: 0 / 0.8388 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.2506, allocations: 352.2 kB / 0.8391 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.2507, allocations: 104.8 kB / 0.8392 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.2507, allocations: 11.98 kB / 0.8392 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.2509, allocations: 27.97 kB / 0.8392 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.251, allocations: 39.89 kB / 0.8393 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.251, allocations: 12 kB / 0.8393 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001004/0.2512, allocations: 131.2 kB / 0.8394 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.2512, allocations: 0 / 0.8394 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003049/0.2515, allocations: 63.84 kB / 0.8395 GB, free: 4.078 MB / 0.6544 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.0001646/0.2516, allocations: 121.4 kB / 0.8396 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005165/0.2522, allocations: 252.3 kB / 0.8398 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2522, allocations: 0 / 0.8398 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.2524, allocations: 131.8 kB / 0.84 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.2528, allocations: 36.28 kB / 0.84 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.2536, allocations: 469.7 kB / 0.8404 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.254, allocations: 0.768 MB / 0.8412 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.789e-05/0.2541, allocations: 22.28 kB / 0.8412 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.2541, allocations: 31.44 kB / 0.8412 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.2542, allocations: 4 kB / 0.8413 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of Templates: time 0.006414/0.2606, allocations: 3.08 MB / 0.8443 GB, free: 15.18 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)