Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.284/1.284, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009287/0.0009289, allocations: 178.5 kB / 327.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 0.5785 GB, free: 20.5 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.0007858/0.0007859, allocations: 97.2 kB / 0.6831 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 15.19 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1683, allocations: 106.3 MB / 0.9012 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1492/0.3175, allocations: 132.8 MB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.3178, allocations: 91.94 kB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006862/0.3247, allocations: 2.359 MB / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.245e-06/0.3247, allocations: 0 / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3247, allocations: 0 / 1.033 GB, free: 8.531 MB / 0.6823 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.0002734/0.325, allocations: 345.3 kB / 1.034 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.325, allocations: 8.031 kB / 1.034 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.325, allocations: 8.938 kB / 1.034 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.886e-05/0.3251, allocations: 160.4 kB / 1.034 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3252, allocations: 384 / 1.034 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.3252, allocations: 8.359 kB / 1.034 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.586e-05/0.3253, allocations: 38.25 kB / 1.034 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3253, allocations: 192 / 1.034 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3253, allocations: 7.938 kB / 1.034 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3253, allocations: 3.938 kB / 1.034 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.3254, allocations: 7.984 kB / 1.034 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.3255, allocations: 153.7 kB / 1.034 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.3256, allocations: 34.61 kB / 1.034 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.3256, allocations: 12.92 kB / 1.034 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.3267, allocations: 0.5549 MB / 1.035 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3267, allocations: 34.56 kB / 1.035 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.3267, allocations: 0 / 1.035 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0001385/0.3268, allocations: 53.56 kB / 1.035 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.3269, allocations: 51.41 kB / 1.035 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.327, allocations: 101.8 kB / 1.035 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.327, allocations: 29.64 kB / 1.035 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.327, allocations: 84.27 kB / 1.035 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.327, allocations: 11.8 kB / 1.035 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.3271, allocations: 0 / 1.035 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3272, allocations: 318.8 kB / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.3272, allocations: 0 / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.3272, allocations: 4 kB / 1.035 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.624e-05/0.3272, allocations: 24.78 kB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3273, allocations: 0 / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.632e-05/0.3273, allocations: 41.7 kB / 1.035 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3273, allocations: 8 kB / 1.035 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3274, allocations: 7.922 kB / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.3274, allocations: 0 / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.381e-05/0.3274, allocations: 4 kB / 1.035 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.3274, allocations: 4 kB / 1.035 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.3275, allocations: 0 / 1.035 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.3275, allocations: 0 / 1.035 GB, free: 6.148 MB / 0.6823 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 5.993e-05/0.3275, allocations: 105.8 kB / 1.036 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.3275, allocations: 4 kB / 1.036 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.3277, allocations: 65.39 kB / 1.036 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3277, allocations: 0 / 1.036 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3277, allocations: 4.031 kB / 1.036 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3277, allocations: 3.984 kB / 1.036 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.548e-05/0.3278, allocations: 145.7 kB / 1.036 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3278, allocations: 0 / 1.036 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.3278, allocations: 7.984 kB / 1.036 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3278, allocations: 4 kB / 1.036 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.3278, allocations: 7.938 kB / 1.036 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3279, allocations: 0 / 1.036 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3279, allocations: 4 kB / 1.036 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.276e-05/0.3279, allocations: 72.97 kB / 1.036 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.328, allocations: 81.05 kB / 1.036 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.328, allocations: 7.875 kB / 1.036 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.353e-05/0.328, allocations: 4 kB / 1.036 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.328, allocations: 4 kB / 1.036 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.3281, allocations: 7.922 kB / 1.036 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.906e-05/0.3281, allocations: 89.06 kB / 1.036 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3281, allocations: 0 / 1.036 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002187/0.3283, allocations: 20 kB / 1.036 GB, free: 5.418 MB / 0.6823 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.0002331/0.3286, allocations: 131.2 kB / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.999e-05/0.3286, allocations: 20.08 kB / 1.036 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3286, allocations: 0 / 1.036 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.3287, allocations: 11.94 kB / 1.036 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.3289, allocations: 4.141 kB / 1.036 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.3291, allocations: 114.7 kB / 1.036 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.3293, allocations: 0.6731 MB / 1.037 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.3294, allocations: 8 kB / 1.037 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.3294, allocations: 11.42 kB / 1.037 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/0.3294, allocations: 0 / 1.037 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of Templates: time 0.002667/0.3321, allocations: 0.8027 MB / 1.038 GB, free: 3.625 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)