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.005581/0.005582, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.001144/0.001144, allocations: 199 kB / 16.68 MB, free: 6.375 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.449/1.449, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.63/1.63, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001413/0.001413, allocations: 69.78 kB / 0.7258 GB, free: 9.137 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2549, allocations: 104.7 MB / 0.828 GB, free: 336 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003286/0.2583, allocations: 2.028 MB / 0.83 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2598, allocations: 0.7565 MB / 0.8307 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.2599, allocations: 7.938 kB / 0.8308 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.2601, allocations: 43.59 kB / 0.8308 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.2602, allocations: 39.59 kB / 0.8308 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.2607, allocations: 151.8 kB / 0.831 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.2611, allocations: 403.1 kB / 0.8314 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.2614, allocations: 247.7 kB / 0.8316 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.2616, allocations: 131.6 kB / 0.8317 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.2618, allocations: 155.2 kB / 0.8319 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.122e-05/0.2619, allocations: 40 kB / 0.8319 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.661e-05/0.262, allocations: 47.98 kB / 0.832 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.254e-05/0.2621, allocations: 71.83 kB / 0.832 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.2622, allocations: 151.2 kB / 0.8322 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.2626, allocations: 426.5 kB / 0.8326 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2626, allocations: 4 kB / 0.8326 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2626, allocations: 0 / 0.8326 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.2627, allocations: 0 / 0.8326 GB, free: 11.64 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.0009089/0.2636, allocations: 0.565 MB / 0.8331 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2636, allocations: 8.031 kB / 0.8331 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.2637, allocations: 32.56 kB / 0.8332 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.2641, allocations: 275.9 kB / 0.8334 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.2641, allocations: 28.88 kB / 0.8335 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.2642, allocations: 32.38 kB / 0.8335 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.2647, allocations: 312 kB / 0.8338 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2648, allocations: 0 / 0.8338 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.2648, allocations: 12 kB / 0.8338 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.2648, allocations: 7.938 kB / 0.8338 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.2653, allocations: 242.1 kB / 0.834 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.2667, allocations: 0.9323 MB / 0.835 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.2672, allocations: 239.6 kB / 0.8352 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.2674, allocations: 121.2 kB / 0.8353 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.2675, allocations: 8.172 kB / 0.8353 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.2678, allocations: 160.5 kB / 0.8355 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.2678, allocations: 0 / 0.8355 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30): time 0.0007148/0.2685, allocations: 331 kB / 0.8358 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.2685, allocations: 63.39 kB / 0.8358 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.2687, allocations: 206.7 kB / 0.836 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.2688, allocations: 37.7 kB / 0.8361 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.2689, allocations: 156.6 kB / 0.8362 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.269, allocations: 82.94 kB / 0.8363 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.2691, allocations: 81.67 kB / 0.8364 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2692, allocations: 330.8 kB / 0.8367 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.2694, allocations: 91.95 kB / 0.8368 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.2696, allocations: 156.8 kB / 0.8369 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.27, allocations: 208.8 kB / 0.8371 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.27, allocations: 4 kB / 0.8371 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005268/0.2706, allocations: 308.4 kB / 0.8374 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2706, allocations: 4 kB / 0.8374 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2706, allocations: 4 kB / 0.8374 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2706, allocations: 0 / 0.8374 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.2708, allocations: 43.91 kB / 0.8375 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2708, allocations: 7.938 kB / 0.8375 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.2711, allocations: 55.8 kB / 0.8375 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.2711, allocations: 12 kB / 0.8375 GB, free: 6.281 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.0001761/0.2713, allocations: 177.7 kB / 0.8377 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.2713, allocations: 19.72 kB / 0.8377 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005612/0.2719, allocations: 280.7 kB / 0.838 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2719, allocations: 4 kB / 0.838 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2719, allocations: 3.938 kB / 0.838 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2719, allocations: 4 kB / 0.838 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009968/0.2729, allocations: 0.7258 MB / 0.8387 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.273, allocations: 0 / 0.8387 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.2731, allocations: 27.92 kB / 0.8387 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2731, allocations: 8 kB / 0.8388 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.2731, allocations: 4 kB / 0.8388 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2731, allocations: 0 / 0.8388 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2732, allocations: 3.984 kB / 0.8388 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.2736, allocations: 360.2 kB / 0.8391 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.2737, allocations: 96.77 kB / 0.8392 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.2738, allocations: 8 kB / 0.8392 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.274, allocations: 27.97 kB / 0.8392 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.2741, allocations: 43.88 kB / 0.8393 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.2741, allocations: 7.984 kB / 0.8393 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001055/0.2742, allocations: 131.2 kB / 0.8394 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2742, allocations: 0 / 0.8394 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003266/0.2746, allocations: 71.83 kB / 0.8395 GB, free: 4.195 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.0001806/0.2748, allocations: 121.4 kB / 0.8396 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005041/0.2753, allocations: 252.3 kB / 0.8398 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2753, allocations: 0 / 0.8398 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.2755, allocations: 127.9 kB / 0.84 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.2759, allocations: 36.3 kB / 0.84 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007537/0.2766, allocations: 474.5 kB / 0.8404 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.2769, allocations: 0.7641 MB / 0.8412 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.277, allocations: 30.28 kB / 0.8412 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.2771, allocations: 27.42 kB / 0.8412 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.2771, allocations: 4 kB / 0.8412 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.006206/0.2833, allocations: 3.08 MB / 0.8443 GB, free: 15.29 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)