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.395/1.395, allocations: 252 MB / 267.6 MB, free: 10.95 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.001198/0.001198, allocations: 174.8 kB / 327.3 MB, free: 2.207 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.84/1.84, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.0007773/0.0007773, allocations: 93.92 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003441, allocations: 10.08 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.179, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002381/0.1815, allocations: 1.723 MB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1827, allocations: 0.7333 MB / 0.9032 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.1829, allocations: 4 kB / 0.9032 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.183, allocations: 27.73 kB / 0.9033 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.1831, allocations: 35.7 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.1834, allocations: 99.89 kB / 0.9034 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.1837, allocations: 343.2 kB / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.184, allocations: 202.8 kB / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1841, allocations: 99.62 kB / 0.904 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.1843, allocations: 111.4 kB / 0.9041 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.1843, allocations: 12 kB / 0.9041 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.885e-05/0.1844, allocations: 20 kB / 0.9041 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.1844, allocations: 55.77 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.1845, allocations: 73.56 kB / 0.9043 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1847, allocations: 295.5 kB / 0.9045 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1847, allocations: 0 / 0.9045 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.364e-06/0.1847, allocations: 0 / 0.9045 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1848, allocations: 0 / 0.9045 GB, free: 60.04 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.0006751/0.1854, allocations: 0.5143 MB / 0.905 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1855, allocations: 12.03 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.1855, allocations: 39.56 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1858, allocations: 270.5 kB / 0.9054 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.1858, allocations: 24.56 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.1859, allocations: 28 kB / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004902/0.1864, allocations: 315.7 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1864, allocations: 3.938 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.1864, allocations: 12 kB / 0.9057 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1865, allocations: 4 kB / 0.9057 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.1869, allocations: 242.1 kB / 0.906 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.188, allocations: 0.9557 MB / 0.9069 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.1885, allocations: 251.6 kB / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.1887, allocations: 125.3 kB / 0.9072 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1887, allocations: 4.234 kB / 0.9073 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.189, allocations: 156 kB / 0.9074 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.189, allocations: 3.938 kB / 0.9074 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.0006246/0.1896, allocations: 337.3 kB / 0.9077 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.1897, allocations: 63.39 kB / 0.9078 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1898, allocations: 198.2 kB / 0.908 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.1899, allocations: 37.7 kB / 0.908 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.1899, allocations: 156.6 kB / 0.9082 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.19, allocations: 82.91 kB / 0.9082 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.19, allocations: 8 kB / 0.9082 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.1901, allocations: 338.8 kB / 0.9086 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.1903, allocations: 95.95 kB / 0.9087 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.1904, allocations: 153.1 kB / 0.9088 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1906, allocations: 91.92 kB / 0.9089 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1906, allocations: 0 / 0.9089 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004377/0.1911, allocations: 316.5 kB / 0.9092 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1911, allocations: 10.5 kB / 0.9092 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1911, allocations: 3.938 kB / 0.9092 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1911, allocations: 4 kB / 0.9092 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.1913, allocations: 48.06 kB / 0.9093 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1913, allocations: 4 kB / 0.9093 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.1915, allocations: 51.66 kB / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.1916, allocations: 16 kB / 0.9093 GB, free: 54.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.1917, allocations: 177.7 kB / 0.9095 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.1918, allocations: 15.81 kB / 0.9095 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.1922, allocations: 288.1 kB / 0.9098 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1923, allocations: 4 kB / 0.9098 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1923, allocations: 4 kB / 0.9098 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1923, allocations: 3.984 kB / 0.9098 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008183/0.1931, allocations: 0.7412 MB / 0.9105 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1931, allocations: 0 / 0.9105 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.1933, allocations: 39.91 kB / 0.9106 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1933, allocations: 0 / 0.9106 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.1933, allocations: 8 kB / 0.9106 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1933, allocations: 0 / 0.9106 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1933, allocations: 3.953 kB / 0.9106 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.1937, allocations: 351.3 kB / 0.9109 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.1938, allocations: 104.7 kB / 0.911 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.1938, allocations: 11.94 kB / 0.911 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.194, allocations: 39.97 kB / 0.9111 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.1941, allocations: 39.89 kB / 0.9111 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.1941, allocations: 12 kB / 0.9111 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.881e-05/0.1942, allocations: 140.1 kB / 0.9112 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1942, allocations: 0 / 0.9112 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002717/0.1945, allocations: 67.84 kB / 0.9113 GB, free: 52.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001442/0.1946, allocations: 117.1 kB / 0.9114 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000434/0.1951, allocations: 255.8 kB / 0.9117 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1951, allocations: 0 / 0.9117 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.1953, allocations: 132.7 kB / 0.9118 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1956, allocations: 38.2 kB / 0.9118 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006936/0.1963, allocations: 0.5601 MB / 0.9124 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.1965, allocations: 0.7683 MB / 0.9131 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.13e-05/0.1966, allocations: 27.42 kB / 0.9131 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1966, allocations: 0 / 0.9131 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.004172/0.2008, allocations: 3.35 MB / 0.9164 GB, free: 47.48 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)