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.001733/0.001733, allocations: 112.7 kB / 16.36 MB, free: 5.945 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.001411/0.001411, allocations: 197.1 kB / 17.3 MB, free: 5.559 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.292/1.292, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.42 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.001519/0.001519, allocations: 67.89 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1968, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002429/0.1993, allocations: 1.291 MB / 0.7861 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2005, allocations: 0.7305 MB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.2005, allocations: 0 / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.2006, allocations: 3.938 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.217e-05/0.2006, allocations: 3.984 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.201, allocations: 91.91 kB / 0.7869 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.472e-05/0.2011, allocations: 15.94 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.2011, allocations: 3.938 kB / 0.7869 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.994e-05/0.2011, allocations: 8 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.2012, allocations: 19.84 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.2012, allocations: 0 / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.2015, allocations: 144.1 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.2016, allocations: 4 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.2016, allocations: 7.938 kB / 0.7871 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.2018, allocations: 103.8 kB / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.2018, allocations: 0 / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2018, allocations: 0 / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.2018, allocations: 0 / 0.7872 GB, free: 0.7227 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.0003624/0.2022, allocations: 335.6 kB / 0.7875 GB, free: 356 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2022, allocations: 12.03 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.2023, allocations: 0.9375 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.2024, allocations: 172.2 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2024, allocations: 384 / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.2024, allocations: 8.125 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.065e-05/0.2025, allocations: 45.61 kB / 0.7877 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.2025, allocations: 3.938 kB / 0.7877 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.2025, allocations: 0 / 0.7877 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2025, allocations: 0 / 0.7877 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.559e-05/0.2026, allocations: 12 kB / 0.7877 GB, free: 56 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3153/0.5179, allocations: 148.8 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.675e-05/0.518, allocations: 31.75 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.5181, allocations: 16.06 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/0.5197, allocations: 0.6565 MB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.5197, allocations: 32.16 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.5198, allocations: 0.6875 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001425/0.5199, allocations: 48.73 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.5199, allocations: 55.22 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.682e-05/0.52, allocations: 98.58 kB / 0.7888 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-06/0.52, allocations: 25.7 kB / 0.7888 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.266e-05/0.52, allocations: 89.17 kB / 0.7889 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.52, allocations: 10.84 kB / 0.7889 GB, free: 48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.5201, allocations: 15.59 kB / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.577e-05/0.5201, allocations: 310.8 kB / 0.7892 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.5201, allocations: 6.656 kB / 0.7892 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.5201, allocations: 6.062 kB / 0.7892 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.5202, allocations: 19.23 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5202, allocations: 0 / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.572e-05/0.5203, allocations: 44.8 kB / 0.7893 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5203, allocations: 5.5 kB / 0.7893 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.5203, allocations: 0 / 0.7893 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5203, allocations: 4.469 kB / 0.7893 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.785e-05/0.5204, allocations: 6 kB / 0.7893 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.5204, allocations: 4.875 kB / 0.7893 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.437e-05/0.5204, allocations: 3.969 kB / 0.7893 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.5204, allocations: 2.625 kB / 0.7893 GB, free: 47.62 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 3.749e-05/0.5204, allocations: 105.8 kB / 0.7894 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-06/0.5204, allocations: 3.281 kB / 0.7894 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.872e-05/0.5206, allocations: 65.64 kB / 0.7895 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5206, allocations: 1.172 kB / 0.7895 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.5206, allocations: 3.938 kB / 0.7895 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5206, allocations: 1.094 kB / 0.7895 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.64e-05/0.5206, allocations: 161.7 kB / 0.7896 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5206, allocations: 0 / 0.7896 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.5207, allocations: 10.03 kB / 0.7896 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5207, allocations: 0 / 0.7896 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-06/0.5207, allocations: 0 / 0.7896 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5207, allocations: 0 / 0.7896 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5207, allocations: 3.938 kB / 0.7896 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.093e-05/0.5208, allocations: 77.39 kB / 0.7897 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.5208, allocations: 81.56 kB / 0.7898 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.5208, allocations: 3.5 kB / 0.7898 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.208e-05/0.5208, allocations: 0 / 0.7898 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.5208, allocations: 6.562 kB / 0.7898 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.5208, allocations: 4.781 kB / 0.7898 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.481e-05/0.5209, allocations: 80.66 kB / 0.7899 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5209, allocations: 1.969 kB / 0.7899 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002236/0.5211, allocations: 24.5 kB / 0.7899 GB, free: 47.04 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.0001918/0.5213, allocations: 135.3 kB / 0.79 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.384e-05/0.5214, allocations: 12.56 kB / 0.79 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5214, allocations: 0 / 0.79 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.398e-05/0.5214, allocations: 11.98 kB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.5216, allocations: 8.828 kB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002017/0.5218, allocations: 101.6 kB / 0.7902 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.229e-05/0.5219, allocations: 0.675 MB / 0.7908 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.5219, allocations: 5.906 kB / 0.7908 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.465e-05/0.522, allocations: 11.66 kB / 0.7908 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.522, allocations: 0 / 0.7908 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.002855/0.5248, allocations: 0.8957 MB / 0.7917 GB, free: 46.11 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)