Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_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_1.6_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.01031/0.01031, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001919/0.001919, allocations: 193 kB / 16.67 MB, free: 5.973 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.637/1.637, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5951/0.5951, allocations: 95.47 MB / 365.4 MB, free: 9.781 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 75.91 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2091, allocations: 69.09 MB / 0.5711 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002808/0.212, allocations: 1.253 MB / 0.5723 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.2135, allocations: 0.8673 MB / 0.5732 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.2136, allocations: 4 kB / 0.5732 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.2136, allocations: 0 / 0.5732 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.2137, allocations: 11.92 kB / 0.5732 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.2142, allocations: 139.7 kB / 0.5733 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.492e-05/0.2143, allocations: 15.94 kB / 0.5733 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.543e-05/0.2144, allocations: 7.984 kB / 0.5733 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.807e-05/0.2144, allocations: 7.984 kB / 0.5734 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.2145, allocations: 4 kB / 0.5734 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.2145, allocations: 0 / 0.5734 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.2149, allocations: 223.8 kB / 0.5736 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.2149, allocations: 4 kB / 0.5736 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.215, allocations: 11.98 kB / 0.5736 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.2152, allocations: 135.7 kB / 0.5737 GB, free: 5.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2152, allocations: 0 / 0.5737 GB, free: 5.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.2152, allocations: 0 / 0.5737 GB, free: 5.625 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2153, allocations: 0 / 0.5737 GB, free: 5.625 MB / 446.1 MB 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.000467/0.2157, allocations: 347.5 kB / 0.574 GB, free: 5.238 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.2158, allocations: 15.98 kB / 0.5741 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.2158, allocations: 0.9375 kB / 0.5741 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.216, allocations: 164.3 kB / 0.5742 GB, free: 5.023 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.216, allocations: 7.938 kB / 0.5742 GB, free: 5.016 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.216, allocations: 4 kB / 0.5742 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.2161, allocations: 41.62 kB / 0.5743 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2161, allocations: 0 / 0.5743 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.2161, allocations: 0 / 0.5743 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2162, allocations: 0 / 0.5743 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.2162, allocations: 12 kB / 0.5743 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.2164, allocations: 157.6 kB / 0.5744 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.2165, allocations: 38.67 kB / 0.5745 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/0.2165, allocations: 12.86 kB / 0.5745 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/0.2182, allocations: 0.6533 MB / 0.5751 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2182, allocations: 34.5 kB / 0.5752 GB, free: 3.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.2183, allocations: 0 / 0.5752 GB, free: 3.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001764/0.2184, allocations: 45.69 kB / 0.5752 GB, free: 3.867 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.2185, allocations: 55.41 kB / 0.5752 GB, free: 3.801 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/0.2186, allocations: 97.84 kB / 0.5753 GB, free: 3.695 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2186, allocations: 29.83 kB / 0.5754 GB, free: 3.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.2186, allocations: 80.14 kB / 0.5754 GB, free: 3.578 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.2187, allocations: 7.906 kB / 0.5755 GB, free: 3.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.2187, allocations: 17.72 kB / 0.5755 GB, free: 3.547 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2188, allocations: 314.8 kB / 0.5758 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.2189, allocations: 4 kB / 0.5758 GB, free: 3.227 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.2189, allocations: 7.938 kB / 0.5758 GB, free: 3.219 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.2189, allocations: 16.8 kB / 0.5758 GB, free: 3.199 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2189, allocations: 4 kB / 0.5758 GB, free: 3.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.53e-05/0.219, allocations: 45.69 kB / 0.5758 GB, free: 3.145 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.219, allocations: 4 kB / 0.5759 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.219, allocations: 0 / 0.5759 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.219, allocations: 4.328 kB / 0.5759 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.307e-05/0.2191, allocations: 4 kB / 0.5759 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2191, allocations: 7.922 kB / 0.5759 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.555e-05/0.2191, allocations: 3.938 kB / 0.5759 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2192, allocations: 0 / 0.5759 GB, free: 3.121 MB / 446.1 MB 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.976e-05/0.2192, allocations: 125.7 kB / 0.576 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.2193, allocations: 7.891 kB / 0.576 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.2194, allocations: 49.19 kB / 0.576 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2194, allocations: 0 / 0.576 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2194, allocations: 0 / 0.576 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2194, allocations: 4 kB / 0.576 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.2195, allocations: 161.6 kB / 0.5762 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2195, allocations: 0 / 0.5762 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.282e-05/0.2196, allocations: 4 kB / 0.5762 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2196, allocations: 0 / 0.5762 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.2196, allocations: 4 kB / 0.5762 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2196, allocations: 3.984 kB / 0.5762 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2196, allocations: 0 / 0.5762 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.445e-05/0.2197, allocations: 77 kB / 0.5763 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.2198, allocations: 85.05 kB / 0.5764 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.2198, allocations: 0 / 0.5764 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.099e-05/0.2198, allocations: 0 / 0.5764 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.2198, allocations: 0 / 0.5764 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.2198, allocations: 12 kB / 0.5764 GB, free: 2.488 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.224e-05/0.2199, allocations: 75.28 kB / 0.5765 GB, free: 2.414 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2199, allocations: 0 / 0.5765 GB, free: 2.414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.2201, allocations: 35.98 kB / 0.5765 GB, free: 2.379 MB / 446.1 MB 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.0002619/0.2204, allocations: 131.3 kB / 0.5766 GB, free: 2.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.2205, allocations: 15.92 kB / 0.5766 GB, free: 2.223 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.2205, allocations: 0 / 0.5766 GB, free: 2.223 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.63e-05/0.2205, allocations: 12 kB / 0.5766 GB, free: 2.211 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.2207, allocations: 7.938 kB / 0.5766 GB, free: 2.203 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.221, allocations: 110 kB / 0.5768 GB, free: 2.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.2213, allocations: 0.6768 MB / 0.5774 GB, free: 1.367 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.594e-05/0.2213, allocations: 4 kB / 0.5774 GB, free: 1.363 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.2213, allocations: 11.44 kB / 0.5774 GB, free: 1.352 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2213, allocations: 0 / 0.5774 GB, free: 1.352 MB / 446.1 MB Notification: Performance of Templates: time 0.003645/0.225, allocations: 0.8739 MB / 0.5783 GB, free: 500 kB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)