Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.081/2.081, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 173.6 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.33/2.33, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00135/0.00135, allocations: 102.4 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004611, allocations: 12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.238, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00151/0.2396, allocations: 1.017 MB / 0.9005 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.2409, allocations: 0.6968 MB / 0.9012 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.241, allocations: 0 / 0.9012 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.241, allocations: 0 / 0.9012 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.2411, allocations: 11.98 kB / 0.9012 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.2415, allocations: 75.69 kB / 0.9013 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.222e-05/0.2416, allocations: 11.94 kB / 0.9013 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.2416, allocations: 3.938 kB / 0.9013 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.2417, allocations: 7.984 kB / 0.9013 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.468e-05/0.2417, allocations: 15.92 kB / 0.9013 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.2418, allocations: 4 kB / 0.9013 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.2422, allocations: 159.8 kB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.667e-06/0.2422, allocations: 0 / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.2422, allocations: 25.7 kB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.2424, allocations: 71.89 kB / 0.9016 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2424, allocations: 0 / 0.9016 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2424, allocations: 0 / 0.9016 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.2425, allocations: 0 / 0.9016 GB, free: 63.41 MB / 0.6042 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.0003158/0.2428, allocations: 335.7 kB / 0.9019 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.98e-05/0.2429, allocations: 8.031 kB / 0.9019 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.2429, allocations: 4.938 kB / 0.9019 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.845e-05/0.243, allocations: 164.4 kB / 0.902 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.243, allocations: 384 / 0.902 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.2431, allocations: 384 / 0.9021 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.2432, allocations: 41.94 kB / 0.9021 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.048e-06/0.2432, allocations: 0 / 0.9021 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2432, allocations: 8 kB / 0.9021 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2433, allocations: 0 / 0.9021 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.79e-05/0.2433, allocations: 7.984 kB / 0.9021 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.2435, allocations: 153.7 kB / 0.9023 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.2436, allocations: 34.58 kB / 0.9023 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.2436, allocations: 8.922 kB / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003929/0.2476, allocations: 1.039 MB / 0.9033 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2477, allocations: 38.44 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 3.015e-06/0.2477, allocations: 4 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002125/0.2479, allocations: 49.67 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.2479, allocations: 51.41 kB / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.888e-05/0.248, allocations: 97.8 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.248, allocations: 29.7 kB / 0.9036 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.861e-05/0.2481, allocations: 80.14 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.2481, allocations: 11.81 kB / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.2481, allocations: 0 / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.2482, allocations: 319 kB / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.2482, allocations: 8 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/0.2482, allocations: 0 / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.2483, allocations: 4 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2483, allocations: 3.938 kB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.925e-05/0.2484, allocations: 49.62 kB / 0.904 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2484, allocations: 9.812 kB / 0.904 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2484, allocations: 4 kB / 0.904 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2485, allocations: 0 / 0.904 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/0.2486, allocations: 4 kB / 0.904 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2486, allocations: 4 kB / 0.904 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.2486, allocations: 3.938 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.2486, allocations: 0 / 0.904 GB, free: 60.57 MB / 0.6042 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 6.425e-05/0.2487, allocations: 117.8 kB / 0.9042 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.2487, allocations: 3.938 kB / 0.9042 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.2489, allocations: 53.12 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2489, allocations: 0 / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2489, allocations: 4 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.2489, allocations: 85.02 kB / 0.9043 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.249, allocations: 0 / 0.9043 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.249, allocations: 0 / 0.9043 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.249, allocations: 3.984 kB / 0.9043 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.742e-05/0.2491, allocations: 125 kB / 0.9044 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001198/0.2493, allocations: 218.7 kB / 0.9046 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.857e-05/0.2493, allocations: 8 kB / 0.9046 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.416e-05/0.2493, allocations: 79.28 kB / 0.9047 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of Backend: time 8.91e-07/0.2494, allocations: 0 / 0.9047 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006274/0.25, allocations: 126.7 kB / 0.9048 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003912/0.2504, allocations: 0.5547 MB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.005036/0.2555, allocations: 0.8948 MB / 0.9062 GB, free: 58.21 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)