Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.64/1.64, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009682/0.0009684, allocations: 182.6 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.2 MB / 0.6626 GB, free: 4.191 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008546/0.0008545, allocations: 98.5 kB / 0.7808 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003958, allocations: 16 kB / 0.9088 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.593, allocations: 120.3 MB / 1.026 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.7574, allocations: 142.4 MB / 1.165 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.7576, allocations: 89.38 kB / 1.165 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007887/0.7655, allocations: 2.474 MB / 1.168 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.574e-06/0.7656, allocations: 4 kB / 1.168 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.7656, allocations: 0 / 1.168 GB, free: 15.68 MB / 0.7448 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.0003094/0.7659, allocations: 336.5 kB / 1.168 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.7659, allocations: 8.641 kB / 1.168 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.766, allocations: 0.9375 kB / 1.168 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.7661, allocations: 170.2 kB / 1.168 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.7661, allocations: 384 / 1.168 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.7661, allocations: 1.125 kB / 1.168 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.189e-05/0.7662, allocations: 46.52 kB / 1.168 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.7662, allocations: 192 / 1.168 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.7663, allocations: 7.938 kB / 1.168 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.7663, allocations: 0.7031 kB / 1.168 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.748e-05/0.7663, allocations: 5.922 kB / 1.168 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.7665, allocations: 152.7 kB / 1.169 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.774e-05/0.7666, allocations: 37 kB / 1.169 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.7666, allocations: 13.62 kB / 1.169 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.7677, allocations: 0.5508 MB / 1.169 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.7677, allocations: 40.03 kB / 1.169 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.7677, allocations: 1.219 kB / 1.169 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.00015/0.7679, allocations: 55.17 kB / 1.169 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.768, allocations: 55.34 kB / 1.169 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.629e-05/0.768, allocations: 99.27 kB / 1.169 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.768, allocations: 25.7 kB / 1.169 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.7681, allocations: 84.83 kB / 1.169 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.7681, allocations: 8.688 kB / 1.169 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.7681, allocations: 0 / 1.169 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.7682, allocations: 320.2 kB / 1.17 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.7682, allocations: 0.75 kB / 1.17 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.344e-05/0.7683, allocations: 4.656 kB / 1.17 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/0.7683, allocations: 18.27 kB / 1.17 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7683, allocations: 0 / 1.17 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.231e-05/0.7684, allocations: 49.53 kB / 1.17 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.7684, allocations: 4 kB / 1.17 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7684, allocations: 4.641 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.7684, allocations: 4 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.7685, allocations: 7.156 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.7685, allocations: 0 / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.7685, allocations: 4.656 kB / 1.17 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.7685, allocations: 1 kB / 1.17 GB, free: 13.4 MB / 0.7448 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.866e-05/0.7686, allocations: 106.6 kB / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.7686, allocations: 7.906 kB / 1.17 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.7687, allocations: 63.84 kB / 1.17 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.7688, allocations: 2.25 kB / 1.17 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7688, allocations: 0 / 1.17 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7688, allocations: 4.781 kB / 1.17 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.11e-05/0.7689, allocations: 156.1 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.7689, allocations: 1.547 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.7689, allocations: 5.594 kB / 1.17 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7689, allocations: 0 / 1.17 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.7689, allocations: 8.547 kB / 1.17 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7689, allocations: 0 / 1.17 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7689, allocations: 1.016 kB / 1.17 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.23e-05/0.769, allocations: 69.27 kB / 1.17 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.7691, allocations: 77.62 kB / 1.17 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.7691, allocations: 4.547 kB / 1.17 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.405e-05/0.7691, allocations: 5.812 kB / 1.17 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.7691, allocations: 1.547 kB / 1.17 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.7691, allocations: 1.969 kB / 1.17 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.7692, allocations: 87.98 kB / 1.17 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.262e-06/0.7692, allocations: 0 / 1.17 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002144/0.7694, allocations: 24.69 kB / 1.17 GB, free: 12.71 MB / 0.7448 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.0002364/0.7696, allocations: 132.5 kB / 1.171 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.349e-05/0.7697, allocations: 17.67 kB / 1.171 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7697, allocations: 5.219 kB / 1.171 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.835e-05/0.7698, allocations: 9.359 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.77, allocations: 1.312 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.7703, allocations: 120.3 kB / 1.171 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.7705, allocations: 0.6754 MB / 1.171 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.7705, allocations: 6.859 kB / 1.171 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.7705, allocations: 16.05 kB / 1.171 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.7705, allocations: 0 / 1.171 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of Templates: time 0.002919/0.7735, allocations: 0.7973 MB / 1.172 GB, free: 11.25 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)