Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008797/0.0008797, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.952/0.952, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.885/1.885, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.7751 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.975e-05, allocations: 6.25 kB / 0.7751 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002239/0.002259, allocations: 2.067 MB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003274, allocations: 0.7914 MB / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.003377, allocations: 7.938 kB / 0.7779 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.003498, allocations: 32.38 kB / 0.778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.003588, allocations: 49.7 kB / 0.778 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.003979, allocations: 180.3 kB / 0.7782 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.004291, allocations: 423.7 kB / 0.7786 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.004524, allocations: 208.4 kB / 0.7788 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.00474, allocations: 224 kB / 0.779 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.004871, allocations: 113.2 kB / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.004906, allocations: 36 kB / 0.7792 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.747e-05/0.004974, allocations: 44 kB / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.00503, allocations: 84.7 kB / 0.7793 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.0051, allocations: 95.75 kB / 0.7794 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.005343, allocations: 267 kB / 0.7796 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005345, allocations: 0.5938 kB / 0.7796 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.462e-06/0.005346, allocations: 3.984 kB / 0.7796 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.115e-06/0.005349, allocations: 0.5938 kB / 0.7796 GB, free: 0.8789 MB / 0.7292 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.0004817/0.005831, allocations: 493 kB / 0.7801 GB, free: 380 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.005864, allocations: 10.28 kB / 0.7801 GB, free: 372 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.006097, allocations: 72.86 kB / 0.7802 GB, free: 300 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.006285, allocations: 181.9 kB / 0.7804 GB, free: 92 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.006311, allocations: 29.03 kB / 0.7804 GB, free: 64 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.00634, allocations: 29.28 kB / 0.7804 GB, free: 36 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.006586, allocations: 238.3 kB / 0.7806 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.006596, allocations: 1.375 kB / 0.7806 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.006612, allocations: 8.375 kB / 0.7806 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.00662, allocations: 11.94 kB / 0.7807 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.006725, allocations: 81.38 kB / 0.7807 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/0.007495, allocations: 0.5734 MB / 0.7813 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.007669, allocations: 128.2 kB / 0.7814 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.00772, allocations: 50.39 kB / 0.7815 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.007737, allocations: 8.234 kB / 0.7815 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.007845, allocations: 107.5 kB / 0.7816 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/0.007846, allocations: 0.5 kB / 0.7816 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0001984/0.008045, allocations: 158.3 kB / 0.7817 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.008077, allocations: 59.34 kB / 0.7818 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.68e-05/0.008174, allocations: 197.5 kB / 0.782 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.008198, allocations: 41.7 kB / 0.782 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.008255, allocations: 144.7 kB / 0.7822 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.008297, allocations: 83.34 kB / 0.7822 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/0.008366, allocations: 86.44 kB / 0.7823 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.008438, allocations: 334.8 kB / 0.7826 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.095e-05/0.008479, allocations: 31.92 kB / 0.7827 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.98e-05/0.008548, allocations: 102.2 kB / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.008662, allocations: 135.8 kB / 0.7829 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.008664, allocations: 0 / 0.7829 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0001664/0.00883, allocations: 166.5 kB / 0.783 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.00884, allocations: 4.656 kB / 0.7831 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.008845, allocations: 4 kB / 0.7831 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.008857, allocations: 5.125 kB / 0.7831 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.008958, allocations: 43.84 kB / 0.7831 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.008963, allocations: 7.938 kB / 0.7831 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.207e-05/0.009035, allocations: 36.66 kB / 0.7831 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.009048, allocations: 16.48 kB / 0.7832 GB, free: 13.07 MB / 0.7448 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.suspend,heaCon.stateGraphRoot.resume) * 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 8.44e-05/0.009132, allocations: 143.5 kB / 0.7833 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.009153, allocations: 19.98 kB / 0.7833 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.009187, allocations: 35.17 kB / 0.7834 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.009189, allocations: 4 kB / 0.7834 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.009193, allocations: 5.719 kB / 0.7834 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.009196, allocations: 0 / 0.7834 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.009563, allocations: 388.4 kB / 0.7837 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.009564, allocations: 0 / 0.7837 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.009625, allocations: 34.84 kB / 0.7838 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.009627, allocations: 3.938 kB / 0.7838 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.009636, allocations: 8 kB / 0.7838 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.009637, allocations: 0 / 0.7838 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009638, allocations: 0 / 0.7838 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.009784, allocations: 237.7 kB / 0.784 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.009801, allocations: 27.78 kB / 0.784 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.009821, allocations: 7.938 kB / 0.784 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.009888, allocations: 23.02 kB / 0.7841 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.009945, allocations: 31.94 kB / 0.7841 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.009954, allocations: 7.984 kB / 0.7841 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.341e-05/0.009988, allocations: 51.28 kB / 0.7841 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009988, allocations: 0 / 0.7841 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001727/0.01016, allocations: 63.84 kB / 0.7842 GB, free: 11.96 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$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 (30): * Single equations (assignments): 26 * 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 8.148e-05/0.01024, allocations: 103.8 kB / 0.7843 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.0104, allocations: 133.7 kB / 0.7844 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.01041, allocations: 11.94 kB / 0.7844 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.569e-05/0.01049, allocations: 73.77 kB / 0.7845 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.01066, allocations: 37.19 kB / 0.7845 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.01122, allocations: 428.6 kB / 0.785 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.798e-05/0.01127, allocations: 89.62 kB / 0.785 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.512e-05/0.01134, allocations: 24.88 kB / 0.7851 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.01144, allocations: 91.36 kB / 0.7852 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of SimCode: time 3.4e-07/0.01144, allocations: 0 / 0.7852 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of Templates: time 0.004698/0.01614, allocations: 3.045 MB / 0.7881 GB, free: 8.062 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8278016950935125]