Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.231/2.231, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 187.7 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.409/2.409, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 91.92 kB / 0.6811 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004577, allocations: 13.91 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2069, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001472/0.2085, allocations: 1.001 MB / 0.8999 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.2097, allocations: 0.6937 MB / 0.9006 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.2098, allocations: 0 / 0.9006 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.2098, allocations: 4 kB / 0.9006 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.2099, allocations: 7.984 kB / 0.9006 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.2103, allocations: 63.88 kB / 0.9006 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.313e-05/0.2103, allocations: 15.92 kB / 0.9006 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.77e-05/0.2104, allocations: 7.984 kB / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.2104, allocations: 4 kB / 0.9007 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.2105, allocations: 7.984 kB / 0.9007 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.2105, allocations: 0 / 0.9007 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.2109, allocations: 163.8 kB / 0.9008 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.397e-06/0.211, allocations: 3.938 kB / 0.9008 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.211, allocations: 29.7 kB / 0.9008 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.2112, allocations: 67.89 kB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2112, allocations: 0 / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2112, allocations: 0 / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2112, allocations: 0 / 0.9009 GB, free: 63.43 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.0002986/0.2115, allocations: 331.5 kB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2116, allocations: 12.03 kB / 0.9012 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.2116, allocations: 7.953 kB / 0.9012 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.2117, allocations: 163.1 kB / 0.9014 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2118, allocations: 0 / 0.9014 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.2118, allocations: 4 kB / 0.9014 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.802e-05/0.2119, allocations: 33.7 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.2119, allocations: 0 / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2119, allocations: 3.938 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2119, allocations: 3.953 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.213e-05/0.212, allocations: 19.92 kB / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.2122, allocations: 157.7 kB / 0.9016 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.2123, allocations: 26.58 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003841/0.2161, allocations: 1.039 MB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.2162, allocations: 30.56 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 3.085e-06/0.2162, allocations: 4 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002122/0.2164, allocations: 57.55 kB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.2165, allocations: 55.41 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.307e-05/0.2165, allocations: 97.81 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.2166, allocations: 25.7 kB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.2166, allocations: 80.14 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.2166, allocations: 11.81 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.2166, allocations: 0 / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.2167, allocations: 323 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.2167, allocations: 4 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.799e-05/0.2168, allocations: 4 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.2168, allocations: 0 / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2168, allocations: 0 / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.769e-05/0.2169, allocations: 49.62 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2169, allocations: 8 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.217, allocations: 3.984 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.217, allocations: 0 / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.2171, allocations: 4 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2171, allocations: 4 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.2171, allocations: 3.938 kB / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2171, allocations: 7.953 kB / 0.9034 GB, free: 60.59 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.113e-05/0.2172, allocations: 113.8 kB / 0.9035 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.2172, allocations: 0 / 0.9035 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.2174, allocations: 53.12 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2174, allocations: 0 / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2174, allocations: 4 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2174, allocations: 4 kB / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.2175, allocations: 161.6 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2176, allocations: 0 / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.2176, allocations: 4 kB / 0.9037 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2176, allocations: 0 / 0.9037 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.2176, allocations: 0 / 0.9037 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2177, allocations: 0 / 0.9037 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2177, allocations: 0 / 0.9037 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.2178, allocations: 84.92 kB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.2178, allocations: 85.09 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2178, allocations: 0 / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.2179, allocations: 3.938 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.2179, allocations: 0 / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.2179, allocations: 4 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.506e-05/0.2179, allocations: 75.28 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.218, allocations: 0 / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003255/0.2183, allocations: 28 kB / 0.904 GB, free: 59.88 MB / 0.6042 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.0003144/0.2186, allocations: 140.9 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.2187, allocations: 11.98 kB / 0.9041 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2187, allocations: 0 / 0.9041 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.318e-05/0.2188, allocations: 11.94 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.219, allocations: 15.94 kB / 0.9042 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.2193, allocations: 106.7 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.2195, allocations: 0.677 MB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.454e-05/0.2195, allocations: 7.938 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.2196, allocations: 11.44 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of SimCode: time 8.11e-07/0.2196, allocations: 0 / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.003864/0.2234, allocations: 0.869 MB / 0.9058 GB, free: 57.98 MB / 0.6042 GB