Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_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_1.6_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.001149/0.001149, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001277/0.001277, allocations: 195.6 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 472.6 MB / 0.7447 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 72.61 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2719, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002377/0.2743, allocations: 1.357 MB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.2755, allocations: 0.7718 MB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.335e-05/0.2755, allocations: 0 / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.2755, allocations: 0 / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.128e-05/0.2756, allocations: 7.938 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.2759, allocations: 68.06 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.659e-05/0.2759, allocations: 27.84 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.276, allocations: 4 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.276, allocations: 4 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.276, allocations: 3.938 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.2761, allocations: 8 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.2764, allocations: 153 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.2764, allocations: 0 / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.2764, allocations: 7.984 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.2766, allocations: 104.5 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2766, allocations: 0 / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2766, allocations: 0 / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2767, allocations: 0 / 1.07 GB, free: 8.367 MB / 0.8262 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.0003374/0.277, allocations: 339.5 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.277, allocations: 8.031 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.2771, allocations: 8.844 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2772, allocations: 168.3 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.2772, allocations: 384 / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.2772, allocations: 384 / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.509e-05/0.2773, allocations: 38 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.2773, allocations: 4 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2773, allocations: 4 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2774, allocations: 3.938 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/0.2774, allocations: 11.98 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.2776, allocations: 157.7 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.972e-05/0.2777, allocations: 38.45 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.2777, allocations: 8.922 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001799/0.2795, allocations: 0.6611 MB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.2795, allocations: 34.5 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2795, allocations: 4 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001415/0.2797, allocations: 45.69 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.2797, allocations: 55.41 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.965e-05/0.2798, allocations: 97.8 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2798, allocations: 29.7 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.2799, allocations: 80.14 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.2799, allocations: 3.906 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.2799, allocations: 21.7 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.28, allocations: 310.8 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.2801, allocations: 8.125 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.225e-05/0.2801, allocations: 4 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.55e-05/0.2801, allocations: 20.84 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2801, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.776e-05/0.2802, allocations: 45.94 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2802, allocations: 11.92 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2802, allocations: 0 / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2802, allocations: 0 / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.722e-05/0.2803, allocations: 7.938 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.2803, allocations: 0 / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.2803, allocations: 8 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.2803, allocations: 3.984 kB / 1.072 GB, free: 5.859 MB / 0.8262 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.847e-05/0.2804, allocations: 109.8 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.2804, allocations: 7.938 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.2805, allocations: 49.19 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2806, allocations: 3.984 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2806, allocations: 3.938 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.2806, allocations: 0 / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.2807, allocations: 153.7 kB / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2807, allocations: 0 / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.2807, allocations: 11.92 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2807, allocations: 3.938 kB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.2807, allocations: 4 kB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2807, allocations: 3.938 kB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2808, allocations: 0 / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.974e-05/0.2808, allocations: 65.12 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.2809, allocations: 92.98 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.2809, allocations: 4 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.2809, allocations: 4 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.2809, allocations: 0 / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.2809, allocations: 3.984 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.896e-05/0.281, allocations: 79.28 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.281, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002248/0.2812, allocations: 24 kB / 1.073 GB, free: 5.141 MB / 0.8262 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.000249/0.2815, allocations: 135.2 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.517e-05/0.2816, allocations: 15.98 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2816, allocations: 0 / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.658e-05/0.2816, allocations: 8 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.2818, allocations: 4.562 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.282, allocations: 123.6 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.2823, allocations: 0.677 MB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.198e-05/0.2824, allocations: 11.88 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.2824, allocations: 7.438 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2824, allocations: 0 / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of Templates: time 0.00301/0.2854, allocations: 0.8895 MB / 1.075 GB, free: 3.219 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)