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 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.345/2.345, allocations: 248.7 MB / 256.2 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 185.2 kB / 315.4 MB, free: 3.996 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.07/2.07, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 101.5 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.229e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.211, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8956/1.107, allocations: 132.8 MB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/1.107, allocations: 86.12 kB / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01286/1.12, allocations: 2.346 MB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/1.12, allocations: 0 / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.868e-06/1.12, allocations: 0 / 1.016 GB, free: 3.719 MB / 0.6355 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.0005077/1.121, allocations: 330.4 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/1.121, allocations: 20.02 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/1.121, allocations: 0 / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/1.121, allocations: 171 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/1.121, allocations: 0 / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/1.121, allocations: 7.938 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.597e-05/1.121, allocations: 4 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.8e-05/1.121, allocations: 41.38 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.121, allocations: 0 / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/1.121, allocations: 0 / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/1.121, allocations: 4 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/1.121, allocations: 134.2 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/1.122, allocations: 30.52 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.992e-05/1.122, allocations: 15.48 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00205/1.124, allocations: 0.5511 MB / 1.017 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/1.124, allocations: 30.56 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 4.118e-06/1.124, allocations: 0 / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002817/1.124, allocations: 53.48 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/1.124, allocations: 55.41 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.433e-05/1.124, allocations: 89 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/1.124, allocations: 25.7 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/1.124, allocations: 80.14 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/1.124, allocations: 11.62 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/1.124, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002179/1.125, allocations: 310.8 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/1.125, allocations: 4 kB / 1.018 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/1.125, allocations: 4.125 kB / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.791e-05/1.125, allocations: 15.92 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.125, allocations: 0 / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001381/1.125, allocations: 41.64 kB / 1.018 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.125, allocations: 11.94 kB / 1.018 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.125, allocations: 0.6875 kB / 1.018 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/1.125, allocations: 0 / 1.018 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/1.125, allocations: 4 kB / 1.018 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.125, allocations: 0 / 1.018 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.566e-05/1.125, allocations: 0 / 1.018 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/1.125, allocations: 4 kB / 1.018 GB, free: 1.457 MB / 0.6355 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 () * 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 8.876e-05/1.125, allocations: 108.9 kB / 1.018 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001256/1.125, allocations: 50.02 kB / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/1.125, allocations: 0 / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/1.126, allocations: 61.22 kB / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.126, allocations: 0 / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.126, allocations: 2.25 kB / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.126, allocations: 0 / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/1.126, allocations: 134.2 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.126, allocations: 4 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/1.126, allocations: 4 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1.126, allocations: 4 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/1.126, allocations: 3.984 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.126, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.126, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/1.126, allocations: 71.59 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/1.126, allocations: 81.06 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/1.126, allocations: 4 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.226e-05/1.126, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/1.126, allocations: 7.938 kB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/1.126, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.513e-05/1.126, allocations: 79.28 kB / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.126, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003585/1.127, allocations: 27.92 kB / 1.019 GB, free: 0.7461 MB / 0.6355 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 () * 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.000746/1.128, allocations: 0.6399 MB / 1.019 GB, free: 88 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000106/1.128, allocations: 15.94 kB / 1.019 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.128, allocations: 0 / 1.019 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.166e-05/1.128, allocations: 4 kB / 1.019 GB, free: 68 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/1.128, allocations: 15.86 kB / 1.019 GB, free: 56 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/1.128, allocations: 97.52 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/1.129, allocations: 0.6807 MB / 1.02 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.152e-05/1.129, allocations: 3.938 kB / 1.02 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/1.129, allocations: 11.44 kB / 1.02 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.302e-06/1.129, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03654/1.165, allocations: 1.158 MB / 1.021 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000401/1.166, allocations: 177.7 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.359, allocations: 3.125 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB