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.00107/0.00107, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001186/0.001186, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.387/1.387, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.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.668/1.668, allocations: 292.3 MB / 0.5485 GB, free: 13.65 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.001342/0.001342, allocations: 66.42 kB / 0.671 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2087, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002552/0.2113, allocations: 1.349 MB / 0.7842 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2124, allocations: 0.7395 MB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.2125, allocations: 0 / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.2125, allocations: 0 / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.2126, allocations: 11.98 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.2129, allocations: 83.98 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.785e-05/0.213, allocations: 11.94 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.2131, allocations: 0 / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.223e-05/0.2131, allocations: 8 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.2131, allocations: 15.91 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.2131, allocations: 0 / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.2135, allocations: 156.9 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.2135, allocations: 0 / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.2135, allocations: 11.94 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.2137, allocations: 104.5 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2137, allocations: 0 / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2137, allocations: 0 / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2137, allocations: 0 / 0.7853 GB, free: 11.39 MB / 0.6075 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.0003945/0.2141, allocations: 327.6 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2142, allocations: 8.031 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.2142, allocations: 12.78 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2144, allocations: 172.3 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.2144, allocations: 12.31 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.2144, allocations: 4.125 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.907e-05/0.2145, allocations: 33.64 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2145, allocations: 0 / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2145, allocations: 7.984 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2145, allocations: 0 / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.483e-05/0.2146, allocations: 8 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.2148, allocations: 153.7 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.452e-05/0.2149, allocations: 34.58 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.2149, allocations: 16.89 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/0.2168, allocations: 0.6572 MB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.2168, allocations: 34.5 kB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.2168, allocations: 0 / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001647/0.217, allocations: 49.69 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.217, allocations: 51.41 kB / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.2171, allocations: 97.84 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.2171, allocations: 25.7 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.2172, allocations: 88.27 kB / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.2172, allocations: 3.906 kB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.2172, allocations: 13.72 kB / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2174, allocations: 314.8 kB / 0.7873 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.2174, allocations: 4 kB / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.2174, allocations: 11.92 kB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.545e-05/0.2175, allocations: 16.86 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2175, allocations: 0 / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.597e-05/0.2175, allocations: 57.53 kB / 0.7874 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2176, allocations: 4 kB / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.2176, allocations: 336 / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2176, allocations: 0 / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.2177, allocations: 4 kB / 0.7874 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2177, allocations: 0 / 0.7874 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.2177, allocations: 0 / 0.7874 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.2177, allocations: 4 kB / 0.7874 GB, free: 8.898 MB / 0.6075 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 8.234e-05/0.2178, allocations: 109.8 kB / 0.7875 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.2178, allocations: 11.91 kB / 0.7875 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.2179, allocations: 65.12 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.218, allocations: 3.938 kB / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.218, allocations: 0 / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.218, allocations: 0 / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.2181, allocations: 161.5 kB / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2181, allocations: 0 / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.2181, allocations: 4 kB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2181, allocations: 0 / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.2182, allocations: 4 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2182, allocations: 4 kB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2182, allocations: 0 / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.149e-05/0.2182, allocations: 73 kB / 0.7878 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.2183, allocations: 81.02 kB / 0.7879 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.2183, allocations: 7.984 kB / 0.7879 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.2183, allocations: 0 / 0.7879 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.2183, allocations: 4 kB / 0.7879 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.2184, allocations: 4 kB / 0.7879 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.954e-05/0.2184, allocations: 83.28 kB / 0.788 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2184, allocations: 0 / 0.788 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002249/0.2186, allocations: 24 kB / 0.788 GB, free: 8.16 MB / 0.6075 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.000241/0.2189, allocations: 127.2 kB / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.419e-05/0.219, allocations: 20.03 kB / 0.7882 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.219, allocations: 0 / 0.7882 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.219, allocations: 8 kB / 0.7882 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.2192, allocations: 15.92 kB / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.2194, allocations: 118 kB / 0.7883 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.2197, allocations: 0.6729 MB / 0.789 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.017e-05/0.2197, allocations: 11.94 kB / 0.789 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.2197, allocations: 11.42 kB / 0.789 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2198, allocations: 0 / 0.789 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of Templates: time 0.003046/0.2228, allocations: 0.8892 MB / 0.7899 GB, free: 6.234 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)