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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, 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.001544/0.001544, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.39/1.39, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.735/1.735, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001469/0.001469, allocations: 72.06 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.237, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.00255/0.2396, allocations: 1.331 MB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5411/0.7808, allocations: 147.9 MB / 0.9291 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.7809, allocations: 0 / 0.9291 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.716e-05/0.781, allocations: 1.5 kB / 0.9291 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.7812, allocations: 41.33 kB / 0.9291 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.7823, allocations: 361.4 kB / 0.9295 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.802e-05/0.7824, allocations: 66.73 kB / 0.9295 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.7824, allocations: 3.328 kB / 0.9295 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.7825, allocations: 31.41 kB / 0.9296 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.7826, allocations: 57 kB / 0.9296 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.7826, allocations: 2.625 kB / 0.9296 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006824/0.7833, allocations: 409.7 kB / 0.93 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.7834, allocations: 27.22 kB / 0.9301 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.7834, allocations: 32.73 kB / 0.9301 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.7839, allocations: 270.2 kB / 0.9303 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7839, allocations: 0 / 0.9303 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.815e-06/0.7839, allocations: 0 / 0.9303 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.7839, allocations: 5.141 kB / 0.9303 GB, free: 2.91 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.0005337/0.7844, allocations: 398.5 kB / 0.9307 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.7845, allocations: 8 kB / 0.9307 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.7845, allocations: 4.5 kB / 0.9307 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.7846, allocations: 166 kB / 0.9309 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.7847, allocations: 7.281 kB / 0.9309 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.7847, allocations: 6.562 kB / 0.9309 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.7848, allocations: 95.09 kB / 0.931 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.7849, allocations: 3.984 kB / 0.931 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.7849, allocations: 0 / 0.931 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.7849, allocations: 18.86 kB / 0.931 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.785, allocations: 75.06 kB / 0.9311 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.7855, allocations: 336.1 kB / 0.9314 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.7856, allocations: 103.6 kB / 0.9315 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.365e-05/0.7857, allocations: 60.78 kB / 0.9316 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00087/0.7866, allocations: 470.3 kB / 0.932 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.7866, allocations: 36.56 kB / 0.9321 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.7866, allocations: 0 / 0.9321 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0002983/0.7869, allocations: 122 kB / 0.9322 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.787, allocations: 54.78 kB / 0.9322 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.7871, allocations: 114.1 kB / 0.9323 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.7871, allocations: 32.73 kB / 0.9324 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.7871, allocations: 96.77 kB / 0.9325 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.7872, allocations: 39.45 kB / 0.9325 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.7872, allocations: 42.84 kB / 0.9325 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7873, allocations: 316.9 kB / 0.9328 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.7874, allocations: 35.52 kB / 0.9329 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.7874, allocations: 70.47 kB / 0.9329 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.7876, allocations: 115.8 kB / 0.933 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7876, allocations: 0 / 0.933 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000185/0.7878, allocations: 134.1 kB / 0.9332 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.7878, allocations: 6.641 kB / 0.9332 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.7878, allocations: 7.75 kB / 0.9332 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.7878, allocations: 3.938 kB / 0.9332 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.7879, allocations: 32.53 kB / 0.9332 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.788, allocations: 0 / 0.9332 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.788, allocations: 11.38 kB / 0.9332 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.788, allocations: 8.938 kB / 0.9332 GB, free: 16.61 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.035e-05/0.7881, allocations: 120.2 kB / 0.9334 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.7882, allocations: 14.31 kB / 0.9334 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.7884, allocations: 128.3 kB / 0.9335 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.7884, allocations: 3.938 kB / 0.9335 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7884, allocations: 4.219 kB / 0.9335 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7884, allocations: 0.6094 kB / 0.9335 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.7886, allocations: 175.5 kB / 0.9337 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7886, allocations: 0 / 0.9337 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/0.7887, allocations: 17.64 kB / 0.9337 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7887, allocations: 0 / 0.9337 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.7887, allocations: 0.7031 kB / 0.9337 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.7887, allocations: 14.5 kB / 0.9337 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7887, allocations: 1.203 kB / 0.9337 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.7889, allocations: 201.2 kB / 0.9339 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.7889, allocations: 90.64 kB / 0.934 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.789, allocations: 4.719 kB / 0.934 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.422e-05/0.789, allocations: 9.812 kB / 0.934 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.7891, allocations: 8.156 kB / 0.934 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.7891, allocations: 10.44 kB / 0.934 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.7891, allocations: 85.69 kB / 0.9341 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7891, allocations: 0 / 0.9341 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003498/0.7895, allocations: 79.3 kB / 0.9342 GB, free: 15.89 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.0003585/0.7898, allocations: 187.9 kB / 0.9343 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.79, allocations: 97.12 kB / 0.9344 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7901, allocations: 2.625 kB / 0.9344 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.894e-05/0.7901, allocations: 35.41 kB / 0.9345 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.7904, allocations: 21.53 kB / 0.9345 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.7909, allocations: 178.5 kB / 0.9347 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.7912, allocations: 0.6941 MB / 0.9353 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.7914, allocations: 53.06 kB / 0.9354 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.7914, allocations: 16.42 kB / 0.9354 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of SimCode: time 1.363e-06/0.7914, allocations: 0 / 0.9354 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of Templates: time 0.004739/0.7962, allocations: 1.903 MB / 0.9373 GB, free: 14.78 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)