Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 195.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.804/1.804, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 66.64 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2522, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003049/0.2553, allocations: 1.327 MB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6964/0.9518, allocations: 147.9 MB / 0.9292 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.739e-05/0.9519, allocations: 0 / 0.9292 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.052e-05/0.9521, allocations: 2.375 kB / 0.9292 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.9523, allocations: 45.3 kB / 0.9292 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.9536, allocations: 356.5 kB / 0.9296 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.9538, allocations: 64.05 kB / 0.9296 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.9538, allocations: 3.141 kB / 0.9297 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.9539, allocations: 36.69 kB / 0.9297 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.954, allocations: 56.14 kB / 0.9297 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.9541, allocations: 2.625 kB / 0.9297 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008166/0.9549, allocations: 413.7 kB / 0.9301 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.955, allocations: 25.48 kB / 0.9302 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.955, allocations: 29.7 kB / 0.9302 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.9555, allocations: 270.5 kB / 0.9304 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.9556, allocations: 0 / 0.9304 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9556, allocations: 2.75 kB / 0.9305 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.9556, allocations: 0 / 0.9305 GB, free: 2.898 MB / 0.7169 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.0005829/0.9562, allocations: 408.7 kB / 0.9308 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.9562, allocations: 8.656 kB / 0.9308 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.9563, allocations: 38.88 kB / 0.9309 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.9563, allocations: 3.938 kB / 0.9309 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.9564, allocations: 164.9 kB / 0.931 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.9564, allocations: 3.562 kB / 0.931 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.9565, allocations: 3.875 kB / 0.9311 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.9567, allocations: 100.3 kB / 0.9311 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.9567, allocations: 1.5 kB / 0.9312 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.9567, allocations: 4.75 kB / 0.9312 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.9567, allocations: 13.59 kB / 0.9312 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.9569, allocations: 79.02 kB / 0.9312 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.9574, allocations: 340.8 kB / 0.9316 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.9575, allocations: 100.4 kB / 0.9317 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.675e-05/0.9576, allocations: 51.17 kB / 0.9317 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000982/0.9586, allocations: 476.6 kB / 0.9322 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.9587, allocations: 36.95 kB / 0.9322 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.9587, allocations: 2.844 kB / 0.9322 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0002822/0.959, allocations: 117.2 kB / 0.9323 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.959, allocations: 62.16 kB / 0.9324 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.836e-05/0.9591, allocations: 121.9 kB / 0.9325 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.9591, allocations: 25.7 kB / 0.9325 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.9592, allocations: 100.5 kB / 0.9326 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.9592, allocations: 34.22 kB / 0.9326 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.9593, allocations: 38.17 kB / 0.9327 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.9594, allocations: 316.7 kB / 0.933 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.066e-05/0.9595, allocations: 30 kB / 0.933 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.9595, allocations: 74.73 kB / 0.9331 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.9597, allocations: 113.8 kB / 0.9332 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9597, allocations: 3.531 kB / 0.9332 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001944/0.9599, allocations: 132.8 kB / 0.9333 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.9599, allocations: 4.906 kB / 0.9333 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.9599, allocations: 2.641 kB / 0.9333 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.9599, allocations: 6.688 kB / 0.9333 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.9601, allocations: 30.42 kB / 0.9334 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.9601, allocations: 3.188 kB / 0.9334 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.9601, allocations: 19.81 kB / 0.9334 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.9602, allocations: 8.219 kB / 0.9334 GB, free: 16.55 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.858e-05/0.9603, allocations: 120.6 kB / 0.9335 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.9603, allocations: 9.469 kB / 0.9335 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.9605, allocations: 124.5 kB / 0.9336 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.9605, allocations: 4.766 kB / 0.9336 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.9605, allocations: 4 kB / 0.9336 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9605, allocations: 0 / 0.9336 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.9607, allocations: 182 kB / 0.9338 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9608, allocations: 3.938 kB / 0.9338 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-05/0.9608, allocations: 26.34 kB / 0.9338 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.9608, allocations: 0 / 0.9338 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.9608, allocations: 4.547 kB / 0.9339 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.9608, allocations: 2.562 kB / 0.9339 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.9609, allocations: 1.438 kB / 0.9339 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.9611, allocations: 198.3 kB / 0.934 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.68e-05/0.9611, allocations: 94.23 kB / 0.9341 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.9612, allocations: 4.594 kB / 0.9341 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.315e-05/0.9612, allocations: 2.719 kB / 0.9341 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.9612, allocations: 10.22 kB / 0.9342 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.9613, allocations: 2.625 kB / 0.9342 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.9613, allocations: 93.56 kB / 0.9342 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9613, allocations: 0 / 0.9342 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003957/0.9617, allocations: 74.84 kB / 0.9343 GB, free: 15.84 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007081/0.9624, allocations: 0.8164 MB / 0.9351 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.9626, allocations: 109 kB / 0.9352 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9626, allocations: 0 / 0.9352 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.262e-05/0.9627, allocations: 35.25 kB / 0.9353 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.963, allocations: 18.16 kB / 0.9353 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.9636, allocations: 250 kB / 0.9355 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.9639, allocations: 0.6968 MB / 0.9362 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.964, allocations: 54.27 kB / 0.9362 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.9641, allocations: 18.62 kB / 0.9363 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.9641, allocations: 0 / 0.9363 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.9844, allocations: 3.159 MB / 0.9393 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/8.59, allocations: 9.328 kB / 0.9393 GB, free: 13.78 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.csv --start-time 10 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)