Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006838/0.006838, allocations: 98.83 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.001344/0.001344, allocations: 196.5 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.365/1.365, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.527/1.527, allocations: 251.7 MB / 0.5094 GB, free: 2.992 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.001432/0.001432, allocations: 75.88 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1914, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002102/0.1935, allocations: 1.288 MB / 0.8293 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1946, allocations: 0.7347 MB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.914e-05/0.1946, allocations: 0 / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.1946, allocations: 4 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.902e-05/0.1947, allocations: 7.922 kB / 0.83 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.195, allocations: 87.97 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.837e-05/0.1951, allocations: 31.8 kB / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.1951, allocations: 0 / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.941e-05/0.1952, allocations: 4 kB / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.846e-05/0.1952, allocations: 11.98 kB / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1952, allocations: 0 / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.1955, allocations: 140.1 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.1956, allocations: 11.94 kB / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.1956, allocations: 7.984 kB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1958, allocations: 103.7 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1958, allocations: 4 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1958, allocations: 0 / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.1958, allocations: 0 / 0.8304 GB, free: 13.71 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003325/0.1961, allocations: 331.4 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1962, allocations: 16.02 kB / 0.8308 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.1962, allocations: 0.9375 kB / 0.8308 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1963, allocations: 172.3 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1964, allocations: 4.375 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.1964, allocations: 4.375 kB / 0.8309 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.1965, allocations: 42 kB / 0.831 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1965, allocations: 3.984 kB / 0.831 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1965, allocations: 4 kB / 0.831 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1965, allocations: 0 / 0.831 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.94e-05/0.1966, allocations: 8 kB / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.1967, allocations: 153.7 kB / 0.8311 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.007e-05/0.1968, allocations: 38.55 kB / 0.8312 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.1969, allocations: 16.92 kB / 0.8312 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00176/0.1986, allocations: 0.6494 MB / 0.8318 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1987, allocations: 38.5 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.1987, allocations: 0 / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001382/0.1988, allocations: 45.69 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.1989, allocations: 55.41 kB / 0.832 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.092e-05/0.1989, allocations: 105.7 kB / 0.8321 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.199, allocations: 33.77 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.199, allocations: 80.14 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.199, allocations: 11.95 kB / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.1991, allocations: 9.719 kB / 0.8322 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1992, allocations: 314.8 kB / 0.8325 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.1992, allocations: 3.984 kB / 0.8325 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.252e-05/0.1992, allocations: 8 kB / 0.8325 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.386e-05/0.1992, allocations: 16.86 kB / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1992, allocations: 4 kB / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.578e-05/0.1993, allocations: 45.64 kB / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1993, allocations: 7.938 kB / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1993, allocations: 0 / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1994, allocations: 0 / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.1994, allocations: 11.94 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1994, allocations: 0 / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.518e-05/0.1994, allocations: 4 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.1994, allocations: 0 / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.29e-05/0.1995, allocations: 113.8 kB / 0.8327 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.1995, allocations: 7.938 kB / 0.8327 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.1997, allocations: 53.19 kB / 0.8328 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1997, allocations: 0 / 0.8328 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1997, allocations: 0 / 0.8328 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1997, allocations: 384 / 0.8328 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.1998, allocations: 149.7 kB / 0.8329 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1998, allocations: 0 / 0.8329 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.1998, allocations: 11.94 kB / 0.8329 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1998, allocations: 3.938 kB / 0.8329 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.1999, allocations: 7.984 kB / 0.8329 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1999, allocations: 0 / 0.8329 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1999, allocations: 0 / 0.8329 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.35e-05/0.2, allocations: 69.12 kB / 0.833 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.2, allocations: 92.92 kB / 0.8331 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.2, allocations: 4 kB / 0.8331 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.2, allocations: 4 kB / 0.8331 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.2001, allocations: 0 / 0.8331 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.2001, allocations: 7.938 kB / 0.8331 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.2001, allocations: 79.28 kB / 0.8332 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2001, allocations: 0 / 0.8332 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002361/0.2004, allocations: 35.88 kB / 0.8332 GB, free: 10.47 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0002279/0.2006, allocations: 131.2 kB / 0.8333 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.111e-05/0.2007, allocations: 15.94 kB / 0.8333 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.2007, allocations: 4 kB / 0.8333 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.527e-05/0.2007, allocations: 7.984 kB / 0.8334 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.2009, allocations: 6.812 kB / 0.8334 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/0.2011, allocations: 102 kB / 0.8335 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.2014, allocations: 0.6766 MB / 0.8341 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.71e-05/0.2014, allocations: 15.92 kB / 0.8341 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.2014, allocations: 11.44 kB / 0.8341 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.2014, allocations: 0 / 0.8341 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of Templates: time 0.00297/0.2044, allocations: 0.8964 MB / 0.835 GB, free: 8.582 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)