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.001547/0.001547, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002132/0.002132, allocations: 190.4 kB / 16.14 MB, free: 6.703 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.32/1.32, allocations: 205.1 MB / 222 MB, free: 4.781 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.655/1.655, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001324/0.001324, allocations: 66.17 kB / 0.6708 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2242, allocations: 114.6 MB / 0.7827 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002626/0.2269, allocations: 1.341 MB / 0.784 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.228, allocations: 0.759 MB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.5e-05/0.2281, allocations: 0 / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.2281, allocations: 0 / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.76e-05/0.2282, allocations: 7.938 kB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.2285, allocations: 75.98 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.527e-05/0.2285, allocations: 23.92 kB / 0.7848 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.2286, allocations: 4 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.2286, allocations: 7.938 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.2286, allocations: 7.922 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.2287, allocations: 4 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.229, allocations: 153 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.229, allocations: 0 / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.229, allocations: 7.938 kB / 0.785 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.2292, allocations: 104.5 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2293, allocations: 4 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2293, allocations: 3.938 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2293, allocations: 3.938 kB / 0.7851 GB, free: 11.45 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.0004036/0.2297, allocations: 331.6 kB / 0.7854 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2297, allocations: 8.031 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.2298, allocations: 4.844 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2299, allocations: 172.3 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2299, allocations: 384 / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.2299, allocations: 4.125 kB / 0.7856 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.405e-05/0.23, allocations: 33.7 kB / 0.7857 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.23, allocations: 0 / 0.7857 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.23, allocations: 8 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2301, allocations: 0 / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.2301, allocations: 7.984 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.2303, allocations: 161.7 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.307e-05/0.2304, allocations: 30.58 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.2304, allocations: 20.84 kB / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/0.2321, allocations: 0.6533 MB / 0.7865 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.2322, allocations: 34.56 kB / 0.7865 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.2322, allocations: 0 / 0.7865 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001519/0.2323, allocations: 53.62 kB / 0.7866 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.2324, allocations: 51.41 kB / 0.7866 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.2324, allocations: 93.86 kB / 0.7867 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2325, allocations: 29.7 kB / 0.7868 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.2325, allocations: 88.11 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.2325, allocations: 8.031 kB / 0.7869 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.2326, allocations: 17.72 kB / 0.7869 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2327, allocations: 310.8 kB / 0.7872 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.2327, allocations: 4 kB / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/0.2327, allocations: 7.984 kB / 0.7872 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/0.2327, allocations: 16.86 kB / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2328, allocations: 0 / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.896e-05/0.2328, allocations: 57.47 kB / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2329, allocations: 4.938 kB / 0.7873 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.2329, allocations: 7.938 kB / 0.7873 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2329, allocations: 0 / 0.7873 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/0.2329, allocations: 7.938 kB / 0.7873 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.2329, allocations: 0 / 0.7873 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.233, allocations: 0 / 0.7873 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.233, allocations: 4 kB / 0.7873 GB, free: 8.949 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 7.022e-05/0.233, allocations: 110.5 kB / 0.7874 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.2331, allocations: 3.938 kB / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.2332, allocations: 65.11 kB / 0.7874 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2332, allocations: 0 / 0.7874 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2332, allocations: 0 / 0.7874 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2332, allocations: 0 / 0.7874 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.73e-05/0.2333, allocations: 161.5 kB / 0.7876 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2333, allocations: 0 / 0.7876 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.2333, allocations: 4 kB / 0.7876 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.2334, allocations: 0 / 0.7876 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.2334, allocations: 4 kB / 0.7876 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2334, allocations: 0 / 0.7876 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2334, allocations: 4 kB / 0.7876 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.048e-05/0.2335, allocations: 69.06 kB / 0.7877 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.2335, allocations: 81.44 kB / 0.7878 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.2335, allocations: 0 / 0.7878 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.454e-05/0.2335, allocations: 7.984 kB / 0.7878 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.2336, allocations: 7.938 kB / 0.7878 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2336, allocations: 4 kB / 0.7878 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.2336, allocations: 83.28 kB / 0.7879 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2336, allocations: 0 / 0.7879 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002151/0.2338, allocations: 24 kB / 0.7879 GB, free: 8.223 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.000243/0.2341, allocations: 127.2 kB / 0.788 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.98e-05/0.2342, allocations: 15.98 kB / 0.788 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2342, allocations: 4.094 kB / 0.788 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.63e-05/0.2342, allocations: 8 kB / 0.788 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.2344, allocations: 23.03 kB / 0.788 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.2347, allocations: 115.7 kB / 0.7882 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.2349, allocations: 0.6731 MB / 0.7888 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.2349, allocations: 8 kB / 0.7888 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.2349, allocations: 7.438 kB / 0.7888 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2349, allocations: 0 / 0.7888 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of Templates: time 0.002828/0.2378, allocations: 0.8791 MB / 0.7897 GB, free: 6.312 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)