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.001582/0.001582, allocations: 100.9 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 196.7 kB / 17.29 MB, free: 5.516 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.35/1.35, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.76/1.76, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001486/0.001487, allocations: 67.89 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.213, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002563/0.2156, allocations: 1.327 MB / 0.7861 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4785/0.6941, allocations: 147.9 MB / 0.9305 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.6942, allocations: 0 / 0.9305 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.6943, allocations: 7.984 kB / 0.9305 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.6944, allocations: 40.91 kB / 0.9305 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.6956, allocations: 355.4 kB / 0.9309 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.6957, allocations: 68.69 kB / 0.9309 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.6958, allocations: 6.672 kB / 0.931 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.085e-05/0.6959, allocations: 30.25 kB / 0.931 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.696, allocations: 59.5 kB / 0.931 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.696, allocations: 5.312 kB / 0.931 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007876/0.6968, allocations: 407.1 kB / 0.9314 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.6969, allocations: 27.89 kB / 0.9315 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.6969, allocations: 23.88 kB / 0.9315 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.6974, allocations: 277.4 kB / 0.9317 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6974, allocations: 0 / 0.9317 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.965e-06/0.6974, allocations: 4 kB / 0.9318 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.6974, allocations: 0 / 0.9318 GB, free: 3.652 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.000465/0.6979, allocations: 394.8 kB / 0.9321 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.6979, allocations: 16.03 kB / 0.9321 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.698, allocations: 4.844 kB / 0.9321 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.6981, allocations: 171.9 kB / 0.9323 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.6981, allocations: 4 kB / 0.9323 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.6981, allocations: 4 kB / 0.9323 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.6983, allocations: 95.41 kB / 0.9324 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.6983, allocations: 4 kB / 0.9324 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.6984, allocations: 0 / 0.9324 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.6984, allocations: 11.98 kB / 0.9324 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.6985, allocations: 79.95 kB / 0.9325 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.699, allocations: 344.6 kB / 0.9328 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.6992, allocations: 102.5 kB / 0.9329 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.6993, allocations: 54.02 kB / 0.933 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008788/0.7001, allocations: 469.4 kB / 0.9334 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.7002, allocations: 30.56 kB / 0.9335 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.7002, allocations: 0 / 0.9335 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0002729/0.7005, allocations: 125.5 kB / 0.9336 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.7005, allocations: 59.44 kB / 0.9336 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.539e-05/0.7006, allocations: 121 kB / 0.9337 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.7006, allocations: 25.7 kB / 0.9338 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.7007, allocations: 104.2 kB / 0.9339 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.7007, allocations: 40.05 kB / 0.9339 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.7008, allocations: 33.7 kB / 0.9339 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.7009, allocations: 314.8 kB / 0.9342 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.847e-05/0.7009, allocations: 31.97 kB / 0.9343 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.128e-05/0.701, allocations: 70.12 kB / 0.9343 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.7012, allocations: 113.1 kB / 0.9344 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7012, allocations: 0 / 0.9344 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002128/0.7014, allocations: 147.6 kB / 0.9346 GB, free: 416 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.7014, allocations: 8 kB / 0.9346 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.7014, allocations: 3.984 kB / 0.9346 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.7015, allocations: 7.938 kB / 0.9346 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.7016, allocations: 27.92 kB / 0.9346 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.7016, allocations: 4 kB / 0.9346 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.7017, allocations: 3.938 kB / 0.9346 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.7017, allocations: 12 kB / 0.9347 GB, free: 348 kB / 0.7169 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.333e-05/0.7018, allocations: 125.9 kB / 0.9348 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.7018, allocations: 7.906 kB / 0.9348 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.702, allocations: 124.8 kB / 0.9349 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7021, allocations: 0 / 0.9349 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7021, allocations: 0 / 0.9349 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7021, allocations: 0 / 0.9349 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.7023, allocations: 181.6 kB / 0.9351 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7023, allocations: 0 / 0.9351 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.7024, allocations: 27.92 kB / 0.9351 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7024, allocations: 4 kB / 0.9351 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.7024, allocations: 3.938 kB / 0.9351 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.7024, allocations: 0 / 0.9351 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.7024, allocations: 0 / 0.9351 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.7026, allocations: 192.7 kB / 0.9353 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.7027, allocations: 98.88 kB / 0.9354 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.7027, allocations: 5.625 kB / 0.9354 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.618e-05/0.7028, allocations: 0 / 0.9354 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.7028, allocations: 19.92 kB / 0.9354 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.7028, allocations: 4 kB / 0.9354 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.741e-05/0.7029, allocations: 87.27 kB / 0.9355 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7029, allocations: 0 / 0.9355 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003647/0.7032, allocations: 75.94 kB / 0.9356 GB, free: 15.31 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.0003518/0.7036, allocations: 191 kB / 0.9358 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.7038, allocations: 81 kB / 0.9358 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7038, allocations: 0 / 0.9358 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.401e-05/0.7039, allocations: 43.84 kB / 0.9359 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.7041, allocations: 17.73 kB / 0.9359 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.7045, allocations: 174 kB / 0.9361 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.7048, allocations: 0.6998 MB / 0.9367 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.705, allocations: 54.3 kB / 0.9368 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.705, allocations: 19.42 kB / 0.9368 GB, free: 14 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.705, allocations: 0 / 0.9368 GB, free: 14 MB / 0.7325 GB Notification: Performance of Templates: time 0.004696/0.7097, allocations: 1.898 MB / 0.9387 GB, free: 12.17 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)