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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 292.3 MB / 308.1 MB, free: 4.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 190.3 kB / 376.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008922/0.0008922, allocations: 103.4 kB / 0.748 GB, free: 61.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001178, allocations: 55.86 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2375, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002523/0.24, allocations: 1.358 MB / 0.9836 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2412, allocations: 0.7619 MB / 0.9843 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.2413, allocations: 0 / 0.9843 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.2413, allocations: 7.922 kB / 0.9843 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.434e-05/0.2413, allocations: 4 kB / 0.9843 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.2417, allocations: 75.98 kB / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.141e-05/0.2417, allocations: 15.88 kB / 0.9844 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.2418, allocations: 3.984 kB / 0.9844 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.403e-05/0.2418, allocations: 7.984 kB / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.2419, allocations: 8 kB / 0.9844 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2419, allocations: 4 kB / 0.9844 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.2422, allocations: 160.9 kB / 0.9846 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.2423, allocations: 7.938 kB / 0.9846 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.2423, allocations: 7.984 kB / 0.9846 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.2425, allocations: 100.5 kB / 0.9847 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2425, allocations: 0 / 0.9847 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2425, allocations: 0 / 0.9847 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2425, allocations: 0 / 0.9847 GB, free: 7.855 MB / 0.7136 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.0003451/0.2429, allocations: 339.5 kB / 0.985 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2429, allocations: 8.031 kB / 0.985 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.243, allocations: 0.9375 kB / 0.985 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2431, allocations: 172.3 kB / 0.9852 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2431, allocations: 384 / 0.9852 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.2431, allocations: 8.062 kB / 0.9852 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.2432, allocations: 37.69 kB / 0.9852 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2432, allocations: 0 / 0.9852 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2433, allocations: 0 / 0.9852 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.2433, allocations: 4 kB / 0.9852 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.2433, allocations: 7.938 kB / 0.9852 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.2435, allocations: 153.7 kB / 0.9854 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.966e-05/0.2436, allocations: 38.61 kB / 0.9854 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.2436, allocations: 16.86 kB / 0.9854 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/0.2455, allocations: 0.6494 MB / 0.9861 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.2456, allocations: 38.55 kB / 0.9861 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2456, allocations: 0 / 0.9861 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001538/0.2457, allocations: 49.64 kB / 0.9862 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.2458, allocations: 55.39 kB / 0.9862 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.229e-05/0.2459, allocations: 97.86 kB / 0.9863 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.2459, allocations: 25.7 kB / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.2459, allocations: 80.14 kB / 0.9864 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.246, allocations: 11.81 kB / 0.9864 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.246, allocations: 17.66 kB / 0.9864 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.2461, allocations: 314.8 kB / 0.9867 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.2461, allocations: 8 kB / 0.9867 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/0.2461, allocations: 4 kB / 0.9867 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.2462, allocations: 20.92 kB / 0.9868 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2462, allocations: 4 kB / 0.9868 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.84e-05/0.2463, allocations: 45.62 kB / 0.9868 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2463, allocations: 8 kB / 0.9868 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2463, allocations: 0 / 0.9868 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2463, allocations: 0 / 0.9868 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/0.2464, allocations: 7.984 kB / 0.9868 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2464, allocations: 0 / 0.9868 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.417e-05/0.2464, allocations: 336 / 0.9868 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-06/0.2464, allocations: 4 kB / 0.9868 GB, free: 5.363 MB / 0.7136 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 6.637e-05/0.2465, allocations: 113.8 kB / 0.9869 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.2465, allocations: 7.938 kB / 0.9869 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.2466, allocations: 65.05 kB / 0.987 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2466, allocations: 4 kB / 0.987 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2466, allocations: 0 / 0.987 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2466, allocations: 0 / 0.987 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.497e-05/0.2467, allocations: 161.5 kB / 0.9872 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2467, allocations: 0 / 0.9872 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.2468, allocations: 4 kB / 0.9872 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2468, allocations: 4 kB / 0.9872 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.2468, allocations: 3.984 kB / 0.9872 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2468, allocations: 4 kB / 0.9872 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2468, allocations: 0 / 0.9872 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.2471, allocations: 0.6239 MB / 0.9878 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.2472, allocations: 81.09 kB / 0.9879 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.2472, allocations: 4 kB / 0.9879 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.201e-05/0.2472, allocations: 0 / 0.9879 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.2472, allocations: 0 / 0.9879 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2472, allocations: 4 kB / 0.9879 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.2473, allocations: 83.22 kB / 0.988 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.393e-06/0.2473, allocations: 0 / 0.988 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003221/0.2476, allocations: 35.92 kB / 0.988 GB, free: 4.031 MB / 0.7136 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.0002551/0.2479, allocations: 127.3 kB / 0.9881 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.733e-05/0.248, allocations: 16 kB / 0.9881 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.248, allocations: 0 / 0.9881 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.497e-05/0.248, allocations: 7.984 kB / 0.9881 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.2482, allocations: 4 kB / 0.9881 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.2485, allocations: 218.5 kB / 0.9883 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.2488, allocations: 0.677 MB / 0.989 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.2488, allocations: 7.938 kB / 0.989 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.488e-05/0.2488, allocations: 11.44 kB / 0.989 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.2488, allocations: 0 / 0.989 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of Templates: time 0.002831/0.2517, allocations: 0.8869 MB / 0.9899 GB, free: 2.012 MB / 0.7136 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)