Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_8_0_0_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_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 8.0.0/package.mo): time 2.581/2.581, allocations: 287.3 MB / 302.3 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001594, allocations: 196.3 kB / 370.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.24/2.24, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 100.8 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.000496, allocations: 12.05 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2139, allocations: 115.3 MB / 0.9783 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001426/0.2154, allocations: 1.033 MB / 0.9793 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8383/1.054, allocations: 125 MB / 1.101 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/1.054, allocations: 0 / 1.101 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 5.081e-05/1.054, allocations: 3.531 kB / 1.101 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/1.054, allocations: 27.7 kB / 1.101 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009891/1.055, allocations: 242.7 kB / 1.102 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.19e-05/1.055, allocations: 35.34 kB / 1.102 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/1.055, allocations: 1.375 kB / 1.102 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.286e-05/1.055, allocations: 22.38 kB / 1.102 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/1.055, allocations: 31.08 kB / 1.102 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/1.055, allocations: 1.375 kB / 1.102 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008127/1.056, allocations: 301.4 kB / 1.102 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/1.056, allocations: 14.98 kB / 1.102 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/1.056, allocations: 39.27 kB / 1.102 GB, free: 17.97 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004121/1.057, allocations: 150 kB / 1.102 GB, free: 17.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/1.057, allocations: 2.438 kB / 1.102 GB, free: 17.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.894e-06/1.057, allocations: 5.531 kB / 1.102 GB, free: 17.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.679e-06/1.057, allocations: 0 / 1.102 GB, free: 17.96 MB / 0.698 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.0004497/1.057, allocations: 386.4 kB / 1.103 GB, free: 17.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.057, allocations: 14.23 kB / 1.103 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/1.057, allocations: 35.64 kB / 1.103 GB, free: 17.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/1.058, allocations: 8.672 kB / 1.103 GB, free: 17.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/1.058, allocations: 172.6 kB / 1.103 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/1.058, allocations: 0 / 1.103 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/1.058, allocations: 2.844 kB / 1.103 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/1.058, allocations: 94.66 kB / 1.103 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.058, allocations: 1.062 kB / 1.103 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/1.058, allocations: 2.812 kB / 1.103 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/1.058, allocations: 11.8 kB / 1.103 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/1.058, allocations: 81.94 kB / 1.103 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/1.059, allocations: 341.2 kB / 1.103 GB, free: 17.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/1.059, allocations: 104.5 kB / 1.103 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/1.06, allocations: 483.7 kB / 1.104 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/1.06, allocations: 36.02 kB / 1.104 GB, free: 16.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.235e-06/1.06, allocations: 0 / 1.104 GB, free: 16.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.000368/1.061, allocations: 122.2 kB / 1.104 GB, free: 16.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/1.061, allocations: 52.5 kB / 1.104 GB, free: 16.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/1.061, allocations: 119 kB / 1.104 GB, free: 16.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/1.061, allocations: 29.7 kB / 1.104 GB, free: 16.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/1.061, allocations: 101.9 kB / 1.104 GB, free: 16.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/1.061, allocations: 33.48 kB / 1.104 GB, free: 16.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-06/1.061, allocations: 5.156 kB / 1.104 GB, free: 16.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.061, allocations: 318.4 kB / 1.105 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/1.061, allocations: 32.5 kB / 1.105 GB, free: 15.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/1.062, allocations: 72.14 kB / 1.105 GB, free: 15.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/1.062, allocations: 42.72 kB / 1.105 GB, free: 15.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.062, allocations: 0 / 1.105 GB, free: 15.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003058/1.062, allocations: 138.1 kB / 1.105 GB, free: 15.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.062, allocations: 5.625 kB / 1.105 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/1.062, allocations: 9.484 kB / 1.105 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.062, allocations: 3.75 kB / 1.105 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/1.062, allocations: 33 kB / 1.105 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/1.062, allocations: 2.656 kB / 1.105 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/1.062, allocations: 14.72 kB / 1.105 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/1.062, allocations: 4.219 kB / 1.105 GB, free: 15.68 MB / 0.698 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.0001239/1.063, allocations: 123.1 kB / 1.105 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/1.063, allocations: 7.734 kB / 1.105 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/1.063, allocations: 129.2 kB / 1.105 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.063, allocations: 5.328 kB / 1.105 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.063, allocations: 0.7031 kB / 1.105 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.063, allocations: 2 kB / 1.105 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/1.063, allocations: 182.2 kB / 1.105 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.063, allocations: 1.312 kB / 1.105 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/1.063, allocations: 23.12 kB / 1.105 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.063, allocations: 1.406 kB / 1.105 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/1.063, allocations: 6.094 kB / 1.105 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.063, allocations: 0 / 1.105 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.063, allocations: 5.391 kB / 1.105 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/1.064, allocations: 194.3 kB / 1.106 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/1.064, allocations: 92.98 kB / 1.106 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/1.064, allocations: 3.781 kB / 1.106 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/1.064, allocations: 4.766 kB / 1.106 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/1.064, allocations: 8.672 kB / 1.106 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/1.064, allocations: 7.484 kB / 1.106 GB, free: 15.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.829e-05/1.064, allocations: 89.33 kB / 1.106 GB, free: 15 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.064, allocations: 0 / 1.106 GB, free: 15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005118/1.065, allocations: 75.69 kB / 1.106 GB, free: 14.98 MB / 0.698 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.0009311/1.066, allocations: 0.8086 MB / 1.107 GB, free: 14.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002559/1.066, allocations: 80.77 kB / 1.107 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.066, allocations: 0 / 1.107 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.602e-05/1.066, allocations: 40.06 kB / 1.107 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/1.066, allocations: 23.41 kB / 1.107 GB, free: 14.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007073/1.067, allocations: 263.8 kB / 1.107 GB, free: 14.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/1.067, allocations: 0.6943 MB / 1.108 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002632/1.068, allocations: 54.36 kB / 1.108 GB, free: 13.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/1.068, allocations: 21.09 kB / 1.108 GB, free: 13.39 MB / 0.698 GB Notification: Performance of SimCode: time 1.733e-06/1.068, allocations: 0 / 1.108 GB, free: 13.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/1.097, allocations: 2.926 MB / 1.111 GB, free: 13.13 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002864/1.098, allocations: 239 kB / 1.111 GB, free: 12.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.552, allocations: 0 / 1.111 GB, free: 12.89 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)