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.001219/0.001219, allocations: 108 kB / 15.6 MB, free: 132 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.001276/0.001276, allocations: 192 kB / 16.53 MB, free: 6.391 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.165/1.165, 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.552/1.552, 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.001348/0.001348, allocations: 72.91 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1784, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002236/0.1807, allocations: 1.327 MB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4781/0.6587, allocations: 147.9 MB / 0.9292 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.6588, allocations: 0 / 0.9292 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.6589, allocations: 5.156 kB / 0.9292 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.6591, allocations: 40.45 kB / 0.9293 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.6601, allocations: 362.7 kB / 0.9296 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.6602, allocations: 63.05 kB / 0.9297 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.6603, allocations: 2.031 kB / 0.9297 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.6603, allocations: 36.45 kB / 0.9297 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.6604, allocations: 50.05 kB / 0.9297 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.6605, allocations: 0 / 0.9297 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007424/0.6612, allocations: 410.5 kB / 0.9301 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.6613, allocations: 28.69 kB / 0.9302 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.6613, allocations: 28.5 kB / 0.9302 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.6618, allocations: 282.1 kB / 0.9305 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6618, allocations: 0 / 0.9305 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6618, allocations: 0 / 0.9305 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.6618, allocations: 0 / 0.9305 GB, free: 2.938 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.0004965/0.6624, allocations: 395.3 kB / 0.9308 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.6624, allocations: 8.828 kB / 0.9308 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.6624, allocations: 39.77 kB / 0.9309 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.6625, allocations: 3.75 kB / 0.9309 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.6626, allocations: 171.7 kB / 0.9311 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.6626, allocations: 9.969 kB / 0.9311 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.6626, allocations: 3.031 kB / 0.9311 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.6628, allocations: 94.97 kB / 0.9312 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.6628, allocations: 1.031 kB / 0.9312 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.6628, allocations: 2.969 kB / 0.9312 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.6628, allocations: 14.5 kB / 0.9312 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.663, allocations: 83.14 kB / 0.9313 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.6634, allocations: 333.6 kB / 0.9316 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.6635, allocations: 106.2 kB / 0.9317 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.6636, allocations: 50.53 kB / 0.9317 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008699/0.6645, allocations: 469 kB / 0.9322 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.6645, allocations: 41.31 kB / 0.9322 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.6645, allocations: 0 / 0.9322 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0002557/0.6648, allocations: 123.5 kB / 0.9323 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.6648, allocations: 51.41 kB / 0.9324 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.6649, allocations: 120.6 kB / 0.9325 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.6649, allocations: 33.39 kB / 0.9325 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.665, allocations: 94.11 kB / 0.9326 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.665, allocations: 44.06 kB / 0.9327 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.6651, allocations: 33.52 kB / 0.9327 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.6651, allocations: 319.4 kB / 0.933 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.964e-05/0.6652, allocations: 33.72 kB / 0.933 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.6653, allocations: 72.41 kB / 0.9331 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.6654, allocations: 115.2 kB / 0.9332 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6654, allocations: 0 / 0.9332 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001832/0.6656, allocations: 136.8 kB / 0.9333 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.6656, allocations: 5.125 kB / 0.9333 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.6656, allocations: 1.094 kB / 0.9333 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6656, allocations: 10.78 kB / 0.9333 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.6657, allocations: 30.48 kB / 0.9334 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6658, allocations: 4 kB / 0.9334 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.6658, allocations: 11.11 kB / 0.9334 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.6658, allocations: 11.19 kB / 0.9334 GB, free: 16.59 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 7.717e-05/0.6659, allocations: 120.3 kB / 0.9335 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.6659, allocations: 6.781 kB / 0.9335 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.6662, allocations: 134.6 kB / 0.9337 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6662, allocations: 2.625 kB / 0.9337 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6662, allocations: 0.7031 kB / 0.9337 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6662, allocations: 0.6562 kB / 0.9337 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.6663, allocations: 178.5 kB / 0.9338 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6664, allocations: 0.6562 kB / 0.9338 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.6664, allocations: 19.38 kB / 0.9338 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.6664, allocations: 0 / 0.9338 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.6664, allocations: 8.469 kB / 0.9339 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.6665, allocations: 6.625 kB / 0.9339 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6665, allocations: 3.984 kB / 0.9339 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.6666, allocations: 201 kB / 0.9341 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.6667, allocations: 95.42 kB / 0.9341 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.6667, allocations: 4.781 kB / 0.9341 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.503e-05/0.6668, allocations: 2.125 kB / 0.9342 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.6668, allocations: 7.75 kB / 0.9342 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.6668, allocations: 10.5 kB / 0.9342 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.15e-05/0.6668, allocations: 87.95 kB / 0.9343 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6669, allocations: 0 / 0.9343 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000347/0.6672, allocations: 79.06 kB / 0.9343 GB, free: 15.88 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.0006147/0.6678, allocations: 0.8153 MB / 0.9351 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.668, allocations: 98.92 kB / 0.9352 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.668, allocations: 0 / 0.9352 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.904e-05/0.6681, allocations: 36.67 kB / 0.9353 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.6683, allocations: 17.17 kB / 0.9353 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.6689, allocations: 246.5 kB / 0.9355 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.6691, allocations: 0.6923 MB / 0.9362 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000128/0.6692, allocations: 57.92 kB / 0.9362 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.6693, allocations: 19.78 kB / 0.9363 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.6693, allocations: 0 / 0.9363 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.179/2.848, allocations: 3.164 MB / 0.9393 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/13.71, allocations: 9.438 kB / 0.9394 GB, free: 13.83 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --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)