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.000811/0.0008161, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008122/0.0008123, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 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.4 MB / 222.1 MB, free: 5.891 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.586/1.586, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0004898/0.0004898, allocations: 19.78 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2204, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001312/0.2218, allocations: 1.014 MB / 0.7883 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2229, allocations: 0.693 MB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.2229, allocations: 0 / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.2229, allocations: 0 / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.223, allocations: 7.938 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.2233, allocations: 75.73 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.49e-05/0.2234, allocations: 11.94 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.2234, allocations: 0 / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.533e-05/0.2235, allocations: 4 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.2235, allocations: 19.92 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2235, allocations: 4 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.2238, allocations: 151.8 kB / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.924e-06/0.2239, allocations: 3.984 kB / 0.7892 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.2239, allocations: 25.7 kB / 0.7893 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.224, allocations: 68.12 kB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.224, allocations: 0 / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.224, allocations: 7.875 kB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.224, allocations: 0 / 0.7893 GB, free: 9.855 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.0003213/0.2244, allocations: 339.4 kB / 0.7896 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2244, allocations: 8.031 kB / 0.7897 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.2244, allocations: 7.906 kB / 0.7897 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2246, allocations: 167 kB / 0.7898 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2246, allocations: 0 / 0.7898 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.2246, allocations: 0 / 0.7898 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.947e-05/0.2247, allocations: 41.69 kB / 0.7899 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2247, allocations: 0 / 0.7899 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.2247, allocations: 0 / 0.7899 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2247, allocations: 8 kB / 0.7899 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.585e-05/0.2248, allocations: 7.984 kB / 0.7899 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.2249, allocations: 157.7 kB / 0.79 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.611e-05/0.225, allocations: 34.52 kB / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.2251, allocations: 8.922 kB / 0.7901 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002208/0.2273, allocations: 1.046 MB / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.2273, allocations: 30.56 kB / 0.7911 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.2273, allocations: 0 / 0.7911 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000151/0.2275, allocations: 49.62 kB / 0.7912 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.2275, allocations: 55.41 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.2276, allocations: 89.86 kB / 0.7913 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2277, allocations: 29.83 kB / 0.7913 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.2277, allocations: 88.14 kB / 0.7914 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.2277, allocations: 3.906 kB / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.2277, allocations: 0 / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2278, allocations: 318.8 kB / 0.7917 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.2279, allocations: 8 kB / 0.7917 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.104e-05/0.2279, allocations: 4 kB / 0.7917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.647e-05/0.2279, allocations: 288 / 0.7917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2279, allocations: 4 kB / 0.7917 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.039e-05/0.228, allocations: 49.58 kB / 0.7918 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.228, allocations: 15.94 kB / 0.7918 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.228, allocations: 0 / 0.7918 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.228, allocations: 3.938 kB / 0.7918 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.2281, allocations: 4 kB / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2281, allocations: 0 / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.2281, allocations: 0 / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2281, allocations: 4 kB / 0.7918 GB, free: 7.012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.2282, allocations: 117.8 kB / 0.7919 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/0.2282, allocations: 0 / 0.7919 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.2283, allocations: 57.12 kB / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2284, allocations: 4 kB / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2284, allocations: 0 / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2284, allocations: 0 / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.2285, allocations: 157.6 kB / 0.7921 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2285, allocations: 0 / 0.7921 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.2285, allocations: 7.938 kB / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2285, allocations: 0 / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.2285, allocations: 0 / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2285, allocations: 4 kB / 0.7921 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2286, allocations: 4 kB / 0.7922 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.345e-05/0.2286, allocations: 65.12 kB / 0.7922 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.2287, allocations: 92.95 kB / 0.7923 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.2287, allocations: 0 / 0.7923 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.22e-05/0.2287, allocations: 0 / 0.7923 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.2287, allocations: 0 / 0.7923 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.2287, allocations: 4 kB / 0.7923 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.644e-05/0.2288, allocations: 79.28 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2288, allocations: 0 / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002355/0.229, allocations: 31.94 kB / 0.7924 GB, free: 6.289 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 (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.0002286/0.2293, allocations: 131.2 kB / 0.7925 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.137e-05/0.2293, allocations: 16.09 kB / 0.7926 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.2293, allocations: 0 / 0.7926 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.415e-05/0.2294, allocations: 11.92 kB / 0.7926 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.2296, allocations: 8 kB / 0.7926 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.2298, allocations: 106.7 kB / 0.7927 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.23, allocations: 0.6809 MB / 0.7933 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.061e-05/0.2301, allocations: 12.27 kB / 0.7934 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.2301, allocations: 11.44 kB / 0.7934 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2301, allocations: 0 / 0.7934 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.002906/0.233, allocations: 0.8735 MB / 0.7942 GB, free: 4.387 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: