Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",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.198/2.198, allocations: 248.5 MB / 261.1 MB, free: 5.977 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.001455/0.001455, allocations: 172.9 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.2 MB / 0.5711 GB, free: 11.8 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.001066/0.001066, allocations: 101.1 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.03e-05/4.042e-05, allocations: 4 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2107, allocations: 106.2 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.433/7.644, allocations: 2.173 GB / 3.064 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/7.644, allocations: 95.06 kB / 3.064 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09335/7.738, allocations: 27.93 MB / 3.091 GB, free: 138 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/7.738, allocations: 0 / 3.091 GB, free: 138 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.344e-06/7.738, allocations: 0 / 3.091 GB, free: 138 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004339/7.738, allocations: 394 kB / 3.091 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/7.738, allocations: 12.03 kB / 3.091 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/7.738, allocations: 38.5 kB / 3.091 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/7.738, allocations: 7.906 kB / 3.092 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.592e-05/7.738, allocations: 167 kB / 3.092 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/7.738, allocations: 7.312 kB / 3.092 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/7.738, allocations: 3.984 kB / 3.092 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/7.739, allocations: 88.05 kB / 3.092 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/7.739, allocations: 0 / 3.092 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/7.739, allocations: 3.953 kB / 3.092 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/7.739, allocations: 15.98 kB / 3.092 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/7.739, allocations: 74.41 kB / 3.092 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/7.739, allocations: 351.3 kB / 3.092 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/7.74, allocations: 89.73 kB / 3.092 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/7.74, allocations: 51.78 kB / 3.092 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008977/7.741, allocations: 461 kB / 3.093 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/7.741, allocations: 38.36 kB / 3.093 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.905e-06/7.741, allocations: 0 / 3.093 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0002875/7.741, allocations: 97.88 kB / 3.093 GB, free: 136 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/7.741, allocations: 55.41 kB / 3.093 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.156e-05/7.741, allocations: 104.8 kB / 3.093 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/7.741, allocations: 25.7 kB / 3.093 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/7.741, allocations: 103.9 kB / 3.093 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/7.741, allocations: 39.33 kB / 3.093 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/7.741, allocations: 0 / 3.093 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.453e-05/7.741, allocations: 314.7 kB / 3.094 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-05/7.741, allocations: 31.61 kB / 3.094 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/7.742, allocations: 71.7 kB / 3.094 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/7.742, allocations: 46.22 kB / 3.094 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/7.742, allocations: 3.984 kB / 3.094 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002701/7.742, allocations: 143.9 kB / 3.094 GB, free: 135 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/7.742, allocations: 8 kB / 3.094 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/7.742, allocations: 160 / 3.094 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/7.742, allocations: 8 kB / 3.094 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/7.742, allocations: 27.92 kB / 3.094 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/7.742, allocations: 7.938 kB / 3.094 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/7.742, allocations: 8.156 kB / 3.094 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/7.742, allocations: 7.438 kB / 3.094 GB, free: 135 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.264e-05/7.742, allocations: 108.8 kB / 3.094 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/7.742, allocations: 11.95 kB / 3.094 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/7.743, allocations: 137.5 kB / 3.094 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/7.743, allocations: 0 / 3.094 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/7.743, allocations: 0 / 3.094 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/7.743, allocations: 0 / 3.094 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/7.743, allocations: 180.8 kB / 3.094 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/7.743, allocations: 0 / 3.094 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/7.743, allocations: 19.62 kB / 3.094 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/7.743, allocations: 3.953 kB / 3.094 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/7.743, allocations: 3.984 kB / 3.094 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/7.743, allocations: 4 kB / 3.094 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/7.743, allocations: 0 / 3.094 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/7.743, allocations: 193.8 kB / 3.094 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/7.744, allocations: 97.02 kB / 3.095 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/7.744, allocations: 7.766 kB / 3.095 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/7.744, allocations: 0 / 3.095 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/7.744, allocations: 11.92 kB / 3.095 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/7.744, allocations: 7.812 kB / 3.095 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.004e-05/7.744, allocations: 87.28 kB / 3.095 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.2e-07/7.744, allocations: 0 / 3.095 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006476/7.744, allocations: 116.5 kB / 3.095 GB, free: 134 MB / 0.8698 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 (11): * Single equations (assignments): 11 * 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.001324/7.746, allocations: 1.255 MB / 3.096 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002219/7.746, allocations: 86.11 kB / 3.096 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/7.746, allocations: 4 kB / 3.096 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/7.746, allocations: 35.55 kB / 3.096 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/7.746, allocations: 23.38 kB / 3.096 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/7.747, allocations: 186.5 kB / 3.096 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/7.747, allocations: 0.6929 MB / 3.097 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002278/7.747, allocations: 53.2 kB / 3.097 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/7.747, allocations: 29.39 kB / 3.097 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of SimCode: time 7.11e-07/7.747, allocations: 0 / 3.097 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04356/7.791, allocations: 13.55 MB / 3.11 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/7.791, allocations: 206.6 kB / 3.111 GB, free: 118 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/10.7, allocations: 7.938 kB / 3.111 GB, free: 118 MB / 0.8698 GB