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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.332/1.332, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009057/0.0009057, allocations: 182.7 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 0.5786 GB, free: 20.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008213/0.0008213, allocations: 75.88 kB / 0.6832 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003188, allocations: 10.62 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1742, allocations: 106.3 MB / 0.9015 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002079/0.1764, allocations: 1.769 MB / 0.9032 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.1778, allocations: 0.7447 MB / 0.9039 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.178, allocations: 7.938 kB / 0.9039 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.1781, allocations: 27.73 kB / 0.9039 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.1783, allocations: 35.72 kB / 0.904 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.1787, allocations: 139.9 kB / 0.9041 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003678/0.1791, allocations: 363.2 kB / 0.9045 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.1794, allocations: 204.3 kB / 0.9047 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.1796, allocations: 107.5 kB / 0.9048 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.1797, allocations: 115.4 kB / 0.9049 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.1798, allocations: 12 kB / 0.9049 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.1799, allocations: 23.98 kB / 0.9049 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.1799, allocations: 51.81 kB / 0.9049 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.872e-05/0.18, allocations: 141 kB / 0.9051 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.1803, allocations: 303.5 kB / 0.9054 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1803, allocations: 0 / 0.9054 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1803, allocations: 0 / 0.9054 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.1803, allocations: 3.938 kB / 0.9054 GB, free: 59.77 MB / 0.6042 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.0006778/0.181, allocations: 0.5163 MB / 0.9059 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.181, allocations: 8.031 kB / 0.9059 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.1811, allocations: 32.56 kB / 0.9059 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.1814, allocations: 275.8 kB / 0.9062 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.1814, allocations: 28.94 kB / 0.9062 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.1815, allocations: 32.36 kB / 0.9062 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.182, allocations: 323.7 kB / 0.9065 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.182, allocations: 0 / 0.9065 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.182, allocations: 8 kB / 0.9066 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1821, allocations: 8 kB / 0.9066 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.1825, allocations: 250.1 kB / 0.9068 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.1837, allocations: 0.9441 MB / 0.9077 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.1841, allocations: 256.9 kB / 0.908 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.1843, allocations: 121.3 kB / 0.9081 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1844, allocations: 8.234 kB / 0.9081 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.1846, allocations: 171.9 kB / 0.9083 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.1847, allocations: 0 / 0.9083 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.0006079/0.1853, allocations: 337.3 kB / 0.9086 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.1853, allocations: 59.41 kB / 0.9086 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1854, allocations: 202.2 kB / 0.9088 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.1855, allocations: 41.69 kB / 0.9089 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.1856, allocations: 160.6 kB / 0.909 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/0.1856, allocations: 70.92 kB / 0.9091 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.1856, allocations: 8 kB / 0.9091 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.1857, allocations: 334.8 kB / 0.9094 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.1859, allocations: 99.95 kB / 0.9095 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.1861, allocations: 153 kB / 0.9097 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.1864, allocations: 220.7 kB / 0.9099 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1864, allocations: 3.938 kB / 0.9099 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004532/0.1869, allocations: 316.5 kB / 0.9102 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1869, allocations: 10.5 kB / 0.9102 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1869, allocations: 0 / 0.9102 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1869, allocations: 7.984 kB / 0.9102 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.1871, allocations: 43.91 kB / 0.9102 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1871, allocations: 12.09 kB / 0.9102 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.1873, allocations: 59.64 kB / 0.9103 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.1874, allocations: 12 kB / 0.9103 GB, free: 54.45 MB / 0.6042 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,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,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.0001387/0.1875, allocations: 173.7 kB / 0.9105 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.1876, allocations: 15.81 kB / 0.9105 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.188, allocations: 284.2 kB / 0.9108 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1881, allocations: 4 kB / 0.9108 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1881, allocations: 0 / 0.9108 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1881, allocations: 4 kB / 0.9108 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008375/0.1889, allocations: 0.7529 MB / 0.9115 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1889, allocations: 0 / 0.9115 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.1891, allocations: 35.92 kB / 0.9115 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1891, allocations: 4 kB / 0.9115 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.1891, allocations: 7.984 kB / 0.9116 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1891, allocations: 0 / 0.9116 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1891, allocations: 3.938 kB / 0.9116 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.1895, allocations: 359.2 kB / 0.9119 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.1896, allocations: 104.7 kB / 0.912 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.1897, allocations: 8 kB / 0.912 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1899, allocations: 39.95 kB / 0.912 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.19, allocations: 39.89 kB / 0.9121 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.19, allocations: 12 kB / 0.9121 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.298e-05/0.1901, allocations: 140.1 kB / 0.9122 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1901, allocations: 0 / 0.9122 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002901/0.1904, allocations: 63.84 kB / 0.9123 GB, free: 52.31 MB / 0.6042 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.0001273/0.1905, allocations: 117.1 kB / 0.9124 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004399/0.1909, allocations: 259.8 kB / 0.9126 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.191, allocations: 4 kB / 0.9127 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.1912, allocations: 128.4 kB / 0.9128 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1915, allocations: 42.2 kB / 0.9128 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007004/0.1922, allocations: 0.5913 MB / 0.9134 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.1924, allocations: 0.7605 MB / 0.9141 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.405e-05/0.1925, allocations: 27.44 kB / 0.9142 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.1925, allocations: 0 / 0.9142 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.004801/0.1973, allocations: 3.332 MB / 0.9174 GB, free: 47.02 MB / 0.6042 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)