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.001315/0.001315, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.009064/0.009064, allocations: 169.4 kB / 16.26 MB, free: 6.648 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.39/1.39, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.7/1.7, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005239/0.0005237, allocations: 19.03 kB / 0.6743 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2068, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001325/0.2082, allocations: 1.018 MB / 0.7889 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2094, allocations: 0.7474 MB / 0.7896 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.43e-05/0.2094, allocations: 0 / 0.7896 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.2094, allocations: 7.938 kB / 0.7896 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.777e-05/0.2095, allocations: 0 / 0.7896 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.2098, allocations: 72 kB / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.695e-05/0.2098, allocations: 23.91 kB / 0.7897 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.2099, allocations: 4 kB / 0.7897 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/0.2099, allocations: 8 kB / 0.7897 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.475e-05/0.21, allocations: 7.938 kB / 0.7897 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.21, allocations: 0 / 0.7897 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.2103, allocations: 156.9 kB / 0.7899 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.2103, allocations: 0 / 0.7899 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.2104, allocations: 37.62 kB / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.2106, allocations: 100.5 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2106, allocations: 0 / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2106, allocations: 0 / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2106, allocations: 4 kB / 0.79 GB, free: 9.355 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.0003076/0.2109, allocations: 323.6 kB / 0.7903 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.211, allocations: 12.03 kB / 0.7903 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.211, allocations: 4.844 kB / 0.7904 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.2111, allocations: 176.3 kB / 0.7905 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2111, allocations: 4.375 kB / 0.7905 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.2112, allocations: 3.938 kB / 0.7905 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.327e-05/0.2113, allocations: 33.64 kB / 0.7906 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.2113, allocations: 0 / 0.7906 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2113, allocations: 11.92 kB / 0.7906 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2113, allocations: 0 / 0.7906 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.225e-05/0.2114, allocations: 19.92 kB / 0.7906 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.2115, allocations: 153.7 kB / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.995e-05/0.2116, allocations: 34.52 kB / 0.7908 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/0.2116, allocations: 12.91 kB / 0.7908 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002395/0.214, allocations: 1.035 MB / 0.7918 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.2141, allocations: 34.56 kB / 0.7918 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2141, allocations: 0 / 0.7918 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001378/0.2142, allocations: 49.62 kB / 0.7919 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.2143, allocations: 51.41 kB / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.434e-05/0.2143, allocations: 93.86 kB / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2144, allocations: 29.83 kB / 0.792 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.2144, allocations: 80.14 kB / 0.7921 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.2144, allocations: 11.91 kB / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.2145, allocations: 13.7 kB / 0.7921 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2146, allocations: 310.8 kB / 0.7924 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.2146, allocations: 8 kB / 0.7924 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-06/0.2146, allocations: 0 / 0.7924 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.2147, allocations: 24.78 kB / 0.7925 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2147, allocations: 0 / 0.7925 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.061e-05/0.2147, allocations: 49.55 kB / 0.7925 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2148, allocations: 4 kB / 0.7925 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.2148, allocations: 4 kB / 0.7925 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.2148, allocations: 0 / 0.7925 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-05/0.2148, allocations: 11.98 kB / 0.7925 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2148, allocations: 0 / 0.7925 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.2149, allocations: 0 / 0.7925 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.2149, allocations: 0 / 0.7925 GB, free: 6.488 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.151e-05/0.215, allocations: 113.8 kB / 0.7926 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.215, allocations: 4 kB / 0.7926 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.2151, allocations: 57.12 kB / 0.7927 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2151, allocations: 3.938 kB / 0.7927 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2151, allocations: 4 kB / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2151, allocations: 3.938 kB / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.2152, allocations: 153.6 kB / 0.7929 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2152, allocations: 0 / 0.7929 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.2153, allocations: 7.984 kB / 0.7929 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2153, allocations: 384 / 0.7929 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.2153, allocations: 4 kB / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2153, allocations: 0 / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2153, allocations: 0 / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.185e-05/0.2154, allocations: 88.98 kB / 0.793 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.2154, allocations: 77.11 kB / 0.793 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.2155, allocations: 0 / 0.793 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.209e-05/0.2155, allocations: 0 / 0.793 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.2155, allocations: 0 / 0.793 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.2155, allocations: 8 kB / 0.793 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.98e-05/0.2155, allocations: 79.27 kB / 0.7931 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2155, allocations: 0 / 0.7931 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002295/0.2158, allocations: 35.94 kB / 0.7931 GB, free: 5.75 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.0002373/0.216, allocations: 123.3 kB / 0.7933 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.954e-05/0.2161, allocations: 19.98 kB / 0.7933 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2161, allocations: 4 kB / 0.7933 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.626e-05/0.2161, allocations: 7.938 kB / 0.7933 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.2163, allocations: 7.938 kB / 0.7933 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.2165, allocations: 122.5 kB / 0.7934 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.2168, allocations: 0.6731 MB / 0.7941 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.747e-05/0.2168, allocations: 7.938 kB / 0.7941 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.2168, allocations: 11.44 kB / 0.7941 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2168, allocations: 0 / 0.7941 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.002935/0.2198, allocations: 0.8738 MB / 0.7949 GB, free: 3.855 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: