Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 288.4 MB / 303.3 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009201/0.0009202, allocations: 179 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.4 MB / 0.6307 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006838/0.0006838, allocations: 90.36 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 15.7 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1689, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001213/0.1702, allocations: 0.9985 MB / 0.9806 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.1711, allocations: 0.7003 MB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.1712, allocations: 0 / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.1712, allocations: 3.984 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.1713, allocations: 3.984 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1716, allocations: 71.77 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.663e-05/0.1716, allocations: 19.88 kB / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.1717, allocations: 0 / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.1717, allocations: 15.92 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.1718, allocations: 7.984 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1718, allocations: 0 / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.1721, allocations: 155.8 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.1721, allocations: 4 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.1721, allocations: 29.7 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.1722, allocations: 64.11 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1722, allocations: 4 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1723, allocations: 4 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.1723, allocations: 0 / 0.9817 GB, free: 25.45 MB / 0.6198 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.0002601/0.1725, allocations: 335.4 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1726, allocations: 8.031 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.1726, allocations: 30.56 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.1726, allocations: 7.891 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.68e-05/0.1727, allocations: 171 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1728, allocations: 0 / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1728, allocations: 4 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.429e-05/0.1729, allocations: 41.62 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1729, allocations: 0 / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.1729, allocations: 0 / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1729, allocations: 4 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.173, allocations: 4 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.1731, allocations: 157.6 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.443e-05/0.1732, allocations: 38.61 kB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.1732, allocations: 16.86 kB / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002009/0.1752, allocations: 1.035 MB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.1753, allocations: 30.56 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.1753, allocations: 0 / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001369/0.1754, allocations: 45.69 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.1754, allocations: 59.41 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.852e-05/0.1755, allocations: 93.86 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.1755, allocations: 25.7 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.295e-05/0.1755, allocations: 84.12 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.1755, allocations: 11.91 kB / 0.9838 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.1756, allocations: 0 / 0.9838 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.79e-05/0.1756, allocations: 314.8 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.1756, allocations: 8.062 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-06/0.1756, allocations: 4 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.798e-05/0.1757, allocations: 11.98 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1757, allocations: 0 / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.664e-05/0.1757, allocations: 45.61 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1757, allocations: 4 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1757, allocations: 3.938 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1758, allocations: 7.984 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.665e-05/0.1758, allocations: 4 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1758, allocations: 0 / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.1758, allocations: 3.938 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.1759, allocations: 4 kB / 0.9842 GB, free: 22.57 MB / 0.6198 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.327e-05/0.1759, allocations: 113.8 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-06/0.1759, allocations: 3.938 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.313e-05/0.176, allocations: 53.19 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.176, allocations: 4 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.176, allocations: 0 / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.176, allocations: 3.984 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.623e-05/0.1761, allocations: 153.6 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1761, allocations: 4 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.1761, allocations: 7.984 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1761, allocations: 0 / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.1762, allocations: 0 / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1762, allocations: 3.984 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1762, allocations: 0 / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.17e-05/0.1762, allocations: 73.06 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.1763, allocations: 88.97 kB / 0.9847 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.1763, allocations: 4 kB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.1763, allocations: 0 / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.1763, allocations: 0 / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.1763, allocations: 432 / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.553e-05/0.1763, allocations: 83.27 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1763, allocations: 0 / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001958/0.1765, allocations: 35.94 kB / 0.9848 GB, free: 21.85 MB / 0.6198 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.0003003/0.1768, allocations: 0.6398 MB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.869e-05/0.1769, allocations: 11.98 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1769, allocations: 7.938 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.1769, allocations: 8 kB / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.1771, allocations: 8 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.1774, allocations: 160.1 kB / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.804e-05/0.1775, allocations: 0.6731 MB / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.1775, allocations: 4 kB / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.1776, allocations: 11.44 kB / 0.9863 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1776, allocations: 4 kB / 0.9863 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.1878, allocations: 1.583 MB / 0.9878 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000132/0.1879, allocations: 225.8 kB / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/1.72, allocations: 0 / 0.9881 GB, free: 18.62 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)