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.144/2.144, allocations: 251 MB / 265.9 MB, free: 11.68 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.001574/0.001573, allocations: 179.1 kB / 325.5 MB, free: 2.883 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.36/2.36, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.00117/0.00117, allocations: 85.06 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004581, allocations: 11.19 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2033, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.4265, allocations: 132.6 MB / 1.028 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.4269, allocations: 87.94 kB / 1.028 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01259/0.4395, allocations: 2.362 MB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4395, allocations: 3.938 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.4396, allocations: 0 / 1.031 GB, free: 10.16 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.0003917/0.44, allocations: 353.1 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.44, allocations: 8.031 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.4401, allocations: 30.56 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.4401, allocations: 4 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.4402, allocations: 163 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4403, allocations: 4 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.4403, allocations: 0 / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.4404, allocations: 37.62 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4404, allocations: 0 / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.4405, allocations: 11.98 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4405, allocations: 0 / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.551e-05/0.4405, allocations: 11.98 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.4407, allocations: 153.6 kB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.4408, allocations: 30.61 kB / 1.032 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001983/0.4428, allocations: 0.5551 MB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.4429, allocations: 34.5 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.4429, allocations: 0 / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0001879/0.4431, allocations: 53.69 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.4432, allocations: 51.41 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.4432, allocations: 89 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.4433, allocations: 25.7 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.4433, allocations: 84.14 kB / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.4434, allocations: 11.75 kB / 1.032 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.4434, allocations: 0 / 1.032 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4435, allocations: 322.8 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.4436, allocations: 8.125 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/0.4436, allocations: 7.938 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.861e-05/0.4436, allocations: 4 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4436, allocations: 0 / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001011/0.4437, allocations: 41.69 kB / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4438, allocations: 8 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4438, allocations: 0 / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4438, allocations: 0 / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.4439, allocations: 4 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4439, allocations: 0 / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.4439, allocations: 4 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.444, allocations: 4 kB / 1.033 GB, free: 7.781 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 0.0001089/0.4441, allocations: 117.8 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.4441, allocations: 0 / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.4443, allocations: 57.06 kB / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.4443, allocations: 4 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4443, allocations: 0 / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4443, allocations: 0 / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.4444, allocations: 161.6 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4445, allocations: 0 / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.009e-05/0.4445, allocations: 4 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4445, allocations: 0 / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.4445, allocations: 0 / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.4445, allocations: 4 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4446, allocations: 0 / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.4447, allocations: 78.2 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.4448, allocations: 97.03 kB / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.4448, allocations: 3.984 kB / 1.033 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.4448, allocations: 0 / 1.033 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.4448, allocations: 4 kB / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.4448, allocations: 0 / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.94e-05/0.4449, allocations: 75.28 kB / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.595e-06/0.4449, allocations: 0 / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002986/0.4452, allocations: 27.94 kB / 1.033 GB, free: 7.055 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.0007435/0.446, allocations: 0.6398 MB / 1.034 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.4461, allocations: 19.94 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4461, allocations: 0 / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.586e-05/0.4461, allocations: 11.98 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.4463, allocations: 4 kB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.4468, allocations: 152.2 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.4471, allocations: 0.6848 MB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.392e-05/0.4471, allocations: 4 kB / 1.035 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.4472, allocations: 15.38 kB / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of SimCode: time 7.72e-07/0.4472, allocations: 0 / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.4698, allocations: 1.458 MB / 1.036 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003331/0.4702, allocations: 209.1 kB / 1.037 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/2.753, allocations: 4 kB / 1.037 GB, free: 3.906 MB / 0.6823 GB