Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001395/0.001394, allocations: 106.7 kB / 16.29 MB, free: 6.43 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.001113/0.001113, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.378/1.378, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.3 MB / 0.5495 GB, free: 17.46 MB / 462.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.001481/0.001481, allocations: 67.91 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2301, allocations: 114.6 MB / 0.7841 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002718/0.2329, allocations: 1.276 MB / 0.7853 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.2341, allocations: 0.7345 MB / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.2341, allocations: 0 / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.2342, allocations: 0 / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.745e-05/0.2342, allocations: 7.922 kB / 0.7861 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.2346, allocations: 91.97 kB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.957e-05/0.2347, allocations: 19.86 kB / 0.7862 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.2347, allocations: 4 kB / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.2348, allocations: 8 kB / 0.7862 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/0.2348, allocations: 11.94 kB / 0.7862 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.2349, allocations: 0 / 0.7862 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.2352, allocations: 148 kB / 0.7863 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.2352, allocations: 3.984 kB / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.2352, allocations: 7.938 kB / 0.7863 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.2354, allocations: 108 kB / 0.7864 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2354, allocations: 0 / 0.7864 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2354, allocations: 0 / 0.7864 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.2354, allocations: 0 / 0.7864 GB, free: 1.363 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.000366/0.2358, allocations: 331.6 kB / 0.7868 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2359, allocations: 8.031 kB / 0.7868 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.2359, allocations: 4.938 kB / 0.7868 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.236, allocations: 172.2 kB / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.236, allocations: 4.375 kB / 0.7869 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.2361, allocations: 4.125 kB / 0.7869 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.2362, allocations: 37.62 kB / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2362, allocations: 4 kB / 0.787 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2362, allocations: 4 kB / 0.787 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2362, allocations: 4 kB / 0.787 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.338e-05/0.2362, allocations: 11.98 kB / 0.787 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.2364, allocations: 153.7 kB / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.189e-05/0.2365, allocations: 30.52 kB / 0.7872 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.2365, allocations: 16.86 kB / 0.7872 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.431/0.6676, allocations: 0.6545 MB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.6677, allocations: 33.22 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.983e-06/0.6677, allocations: 0 / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.000185/0.6679, allocations: 49.97 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.6679, allocations: 54.09 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.867e-05/0.668, allocations: 102 kB / 0.7881 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.668, allocations: 25.7 kB / 0.7881 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.663e-05/0.668, allocations: 80.14 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.668, allocations: 8.938 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.6681, allocations: 11.84 kB / 0.7882 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.6681, allocations: 319.9 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.6681, allocations: 5.219 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.6682, allocations: 2.688 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.6682, allocations: 18.48 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.6682, allocations: 0 / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.865e-05/0.6683, allocations: 49.88 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6683, allocations: 5.844 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.6683, allocations: 0 / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.6683, allocations: 3.688 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.6684, allocations: 4.281 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.6684, allocations: 2.25 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.6684, allocations: 3.312 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.6684, allocations: 3.969 kB / 0.7886 GB, free: 48.08 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 5.924e-05/0.6685, allocations: 112.8 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-06/0.6685, allocations: 4.75 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.6686, allocations: 56.67 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6686, allocations: 0.5 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6686, allocations: 3.375 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6686, allocations: 7.094 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.849e-05/0.6687, allocations: 154.9 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.6687, allocations: 2.719 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.6688, allocations: 7.406 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.6688, allocations: 0 / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.6688, allocations: 0 / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6688, allocations: 2.906 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6688, allocations: 3.719 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.372e-05/0.6689, allocations: 82.09 kB / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.6689, allocations: 78.48 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.6689, allocations: 0 / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.254e-05/0.6689, allocations: 0.5 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.6689, allocations: 8.25 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.6689, allocations: 0 / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.875e-05/0.669, allocations: 84.23 kB / 0.7892 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.81e-07/0.669, allocations: 0 / 0.7892 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002298/0.6692, allocations: 28.91 kB / 0.7892 GB, free: 47.5 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.0002169/0.6694, allocations: 127.6 kB / 0.7893 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.531e-05/0.6695, allocations: 17.52 kB / 0.7893 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6695, allocations: 0 / 0.7893 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.445e-05/0.6695, allocations: 10.72 kB / 0.7893 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.6697, allocations: 12.52 kB / 0.7894 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.67, allocations: 110.9 kB / 0.7895 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.6701, allocations: 0.6776 MB / 0.7901 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.6701, allocations: 8.812 kB / 0.7901 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.6702, allocations: 7.438 kB / 0.7901 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.6702, allocations: 0 / 0.7901 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.002864/0.673, allocations: 0.8917 MB / 0.791 GB, free: 46.58 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)