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.092/2.092, allocations: 251 MB / 265.9 MB, free: 11.69 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.001547/0.001547, allocations: 178.4 kB / 325.5 MB, free: 2.902 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.329/2.329, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001124/0.001124, allocations: 94.17 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006463/0.0006464, allocations: 11.91 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2109, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.623/6.834, allocations: 2.173 GB / 3.072 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/6.834, allocations: 98.88 kB / 3.072 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7151/7.549, allocations: 27.99 MB / 3.099 GB, free: 328.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.665e-06/7.549, allocations: 0 / 3.099 GB, free: 328.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.704e-06/7.549, allocations: 1.375 kB / 3.099 GB, free: 328.5 MB / 0.8855 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.0005096/7.55, allocations: 393.1 kB / 3.1 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/7.55, allocations: 9.5 kB / 3.1 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/7.55, allocations: 43.67 kB / 3.1 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/7.55, allocations: 8.812 kB / 3.1 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.377e-05/7.55, allocations: 162.3 kB / 3.1 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/7.55, allocations: 9.891 kB / 3.1 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/7.55, allocations: 9.391 kB / 3.1 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/7.551, allocations: 89.7 kB / 3.1 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/7.551, allocations: 1.406 kB / 3.1 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/7.551, allocations: 0.6875 kB / 3.1 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/7.551, allocations: 12.31 kB / 3.1 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/7.551, allocations: 79.55 kB / 3.1 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/7.551, allocations: 338.9 kB / 3.1 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/7.552, allocations: 107.3 kB / 3.101 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009298/7.553, allocations: 453.5 kB / 3.101 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/7.553, allocations: 35.48 kB / 3.101 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 2.375e-06/7.553, allocations: 0.8125 kB / 3.101 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0004273/7.553, allocations: 126.5 kB / 3.101 GB, free: 327 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/7.553, allocations: 58.17 kB / 3.101 GB, free: 326.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/7.553, allocations: 107.5 kB / 3.101 GB, free: 326.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/7.553, allocations: 25.7 kB / 3.101 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/7.553, allocations: 104.4 kB / 3.101 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/7.553, allocations: 36.36 kB / 3.101 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/7.553, allocations: 4.312 kB / 3.101 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.976e-05/7.554, allocations: 319 kB / 3.102 GB, free: 326.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.43e-05/7.554, allocations: 35.53 kB / 3.102 GB, free: 326.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/7.554, allocations: 75.48 kB / 3.102 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/7.554, allocations: 41.22 kB / 3.102 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/7.554, allocations: 0.7812 kB / 3.102 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003627/7.554, allocations: 142.2 kB / 3.102 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/7.554, allocations: 7.047 kB / 3.102 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/7.554, allocations: 0.875 kB / 3.102 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/7.554, allocations: 2.625 kB / 3.102 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/7.555, allocations: 29.39 kB / 3.102 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/7.555, allocations: 3.094 kB / 3.102 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.87e-05/7.555, allocations: 6.875 kB / 3.102 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/7.555, allocations: 10.48 kB / 3.102 GB, free: 326.3 MB / 0.8855 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 () * Number of clocked 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 0.0001151/7.555, allocations: 137.3 kB / 3.102 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/7.555, allocations: 8.719 kB / 3.102 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/7.555, allocations: 123.2 kB / 3.102 GB, free: 326.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/7.555, allocations: 4.5 kB / 3.102 GB, free: 326.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/7.555, allocations: 1.062 kB / 3.102 GB, free: 326.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/7.555, allocations: 4.641 kB / 3.102 GB, free: 326.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/7.556, allocations: 187.9 kB / 3.103 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/7.556, allocations: 0 / 3.103 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/7.556, allocations: 22.16 kB / 3.103 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/7.556, allocations: 0.8125 kB / 3.103 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/7.556, allocations: 4.375 kB / 3.103 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/7.556, allocations: 1.062 kB / 3.103 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/7.556, allocations: 0 / 3.103 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/7.556, allocations: 193.7 kB / 3.103 GB, free: 325.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/7.556, allocations: 94.8 kB / 3.103 GB, free: 325.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/7.556, allocations: 4.969 kB / 3.103 GB, free: 325.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/7.556, allocations: 5.391 kB / 3.103 GB, free: 325.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/7.556, allocations: 6.734 kB / 3.103 GB, free: 325.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/7.556, allocations: 6.062 kB / 3.103 GB, free: 325.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.629e-05/7.556, allocations: 89.28 kB / 3.103 GB, free: 325.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.41e-07/7.556, allocations: 3.656 kB / 3.103 GB, free: 325.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007326/7.557, allocations: 112.9 kB / 3.103 GB, free: 325.6 MB / 0.8855 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 (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.001771/7.559, allocations: 1.265 MB / 3.104 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003244/7.559, allocations: 83.05 kB / 3.104 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/7.559, allocations: 0 / 3.104 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/7.559, allocations: 36.12 kB / 3.104 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/7.56, allocations: 14.09 kB / 3.104 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008182/7.561, allocations: 273.3 kB / 3.105 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/7.561, allocations: 0.6953 MB / 3.105 GB, free: 323.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002455/7.561, allocations: 56.25 kB / 3.105 GB, free: 323.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/7.561, allocations: 26.95 kB / 3.105 GB, free: 323.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.303e-06/7.561, allocations: 0 / 3.105 GB, free: 323.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04549/7.607, allocations: 11.79 MB / 3.117 GB, free: 323 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/7.607, allocations: 244.9 kB / 3.117 GB, free: 322.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/10.4, allocations: 3.844 kB / 3.117 GB, free: 322.7 MB / 0.8855 GB