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/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.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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 252 MB / 267.6 MB, free: 10.96 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.001114/0.001114, allocations: 187.9 kB / 327.3 MB, free: 2.211 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.905/1.905, allocations: 205.4 MB / 0.5783 GB, free: 20.31 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.0009228/0.0009228, allocations: 93.5 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003374, allocations: 13.64 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2018, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001316/0.2032, allocations: 1.009 MB / 0.9018 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.2042, allocations: 0.7085 MB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.2042, allocations: 0 / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.2043, allocations: 3.938 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.2043, allocations: 3.984 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.2046, allocations: 75.7 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.729e-05/0.2047, allocations: 15.92 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.2047, allocations: 4 kB / 0.9026 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.196e-05/0.2048, allocations: 11.94 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.2048, allocations: 7.969 kB / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.2048, allocations: 4 kB / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.2052, allocations: 147.8 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.2052, allocations: 4 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.2052, allocations: 29.64 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.2054, allocations: 67.89 kB / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2054, allocations: 4 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2054, allocations: 0 / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.2054, allocations: 4 kB / 0.9029 GB, free: 61.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002749/0.2057, allocations: 331.5 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2057, allocations: 12.03 kB / 0.9032 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.2058, allocations: 3.953 kB / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.588e-05/0.2058, allocations: 159.1 kB / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.2059, allocations: 0 / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.2059, allocations: 4 kB / 0.9034 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.25e-05/0.206, allocations: 37.69 kB / 0.9034 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.206, allocations: 0 / 0.9034 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.206, allocations: 4 kB / 0.9034 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.206, allocations: 0 / 0.9034 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.2061, allocations: 19.88 kB / 0.9034 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.2062, allocations: 153.7 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.147e-05/0.2063, allocations: 38.55 kB / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.2063, allocations: 16.92 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002081/0.2084, allocations: 1.031 MB / 0.9046 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.2084, allocations: 38.48 kB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2084, allocations: 0 / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001555/0.2086, allocations: 49.64 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.2086, allocations: 55.39 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.525e-05/0.2087, allocations: 93.95 kB / 0.9049 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.2087, allocations: 33.73 kB / 0.9049 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.417e-05/0.2087, allocations: 80.14 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2087, allocations: 11.75 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.2087, allocations: 4 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.933e-05/0.2088, allocations: 314.8 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.2088, allocations: 7.984 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-06/0.2088, allocations: 4 kB / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.837e-05/0.2089, allocations: 8 kB / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2089, allocations: 0 / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.129e-05/0.2089, allocations: 49.62 kB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.209, allocations: 4 kB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.209, allocations: 0 / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.209, allocations: 0 / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.209, allocations: 8 kB / 0.9054 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2091, allocations: 0 / 0.9054 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/0.2091, allocations: 0 / 0.9054 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.2091, allocations: 4 kB / 0.9054 GB, free: 58.96 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.2091, allocations: 109.8 kB / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.2092, allocations: 7.984 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.2093, allocations: 61.12 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2093, allocations: 0 / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2093, allocations: 0 / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2093, allocations: 0 / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.481e-05/0.2094, allocations: 157.5 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2094, allocations: 3.938 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.2094, allocations: 4 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.2094, allocations: 0 / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.2094, allocations: 4 kB / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2094, allocations: 4 kB / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2094, allocations: 0 / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.498e-05/0.2095, allocations: 73.45 kB / 0.9058 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.2095, allocations: 81.05 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.2095, allocations: 3.984 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.19e-05/0.2096, allocations: 0 / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.2096, allocations: 11.97 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.2096, allocations: 4 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.612e-05/0.2096, allocations: 75.28 kB / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2096, allocations: 0 / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002113/0.2098, allocations: 32 kB / 0.906 GB, free: 58.24 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: 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 (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.0002261/0.2101, allocations: 137.9 kB / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.451e-05/0.2101, allocations: 16 kB / 0.9061 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2101, allocations: 0 / 0.9061 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.2102, allocations: 4 kB / 0.9061 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.2104, allocations: 18.28 kB / 0.9061 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.2107, allocations: 136.3 kB / 0.9063 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.2108, allocations: 0.677 MB / 0.9069 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.2108, allocations: 11.44 kB / 0.9069 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2108, allocations: 0 / 0.9069 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.002524/0.2134, allocations: 0.8978 MB / 0.9078 GB, free: 56.29 MB / 0.6042 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)