Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.791/1.791, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001679/0.00168, allocations: 188.1 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.4 MB / 0.5783 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008242/0.0008242, allocations: 87.78 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003974, allocations: 15.83 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2497, allocations: 106.3 MB / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001432/0.2512, allocations: 1.049 MB / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1577/0.4089, allocations: 134.3 MB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.409, allocations: 8 kB / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.409, allocations: 3.938 kB / 1.033 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.4092, allocations: 39.86 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.4104, allocations: 262.9 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.4106, allocations: 143.7 kB / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.4106, allocations: 0 / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.14e-05/0.4107, allocations: 31.92 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.4108, allocations: 55.88 kB / 1.034 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.4109, allocations: 7.984 kB / 1.034 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006283/0.4115, allocations: 299.4 kB / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.4116, allocations: 27.91 kB / 1.034 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.4116, allocations: 33.7 kB / 1.034 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.4119, allocations: 175.9 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4119, allocations: 4 kB / 1.034 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.905e-06/0.4119, allocations: 0 / 1.034 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4119, allocations: 0 / 1.034 GB, free: 7.066 MB / 0.6823 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.0004341/0.4124, allocations: 383.2 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4124, allocations: 8.031 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.4125, allocations: 7.859 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.4126, allocations: 171 kB / 1.035 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.4126, allocations: 0 / 1.035 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.4126, allocations: 4 kB / 1.035 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.4129, allocations: 99.27 kB / 1.035 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4129, allocations: 4 kB / 1.035 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4129, allocations: 0 / 1.035 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/0.4129, allocations: 23.92 kB / 1.035 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.4131, allocations: 75.95 kB / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.4136, allocations: 332.7 kB / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.4137, allocations: 102.5 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.4138, allocations: 52.86 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008889/0.4147, allocations: 489.4 kB / 1.036 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4148, allocations: 38.56 kB / 1.036 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.4148, allocations: 0 / 1.036 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0002654/0.415, allocations: 121.6 kB / 1.036 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.4151, allocations: 55.34 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.4152, allocations: 117.9 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.4152, allocations: 29.7 kB / 1.036 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.4153, allocations: 92.19 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.4153, allocations: 43.39 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.4153, allocations: 4 kB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4154, allocations: 326.8 kB / 1.037 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/0.4155, allocations: 31.98 kB / 1.037 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.4156, allocations: 69.12 kB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.886e-05/0.4156, allocations: 47.92 kB / 1.037 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4156, allocations: 0 / 1.037 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001887/0.4158, allocations: 145.3 kB / 1.037 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.4159, allocations: 4 kB / 1.037 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4159, allocations: 4 kB / 1.037 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4159, allocations: 0 / 1.037 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.416, allocations: 28.14 kB / 1.037 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.416, allocations: 7.938 kB / 1.037 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.4161, allocations: 15.84 kB / 1.037 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4161, allocations: 4 kB / 1.037 GB, free: 3.863 MB / 0.6823 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 9.056e-05/0.4162, allocations: 121.8 kB / 1.037 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.4162, allocations: 7.953 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.4164, allocations: 130.4 kB / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4164, allocations: 0 / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4165, allocations: 0 / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4165, allocations: 7.984 kB / 1.037 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.4166, allocations: 177.6 kB / 1.037 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4167, allocations: 0 / 1.037 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.16e-05/0.4168, allocations: 16 kB / 1.037 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4168, allocations: 3.938 kB / 1.037 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.4168, allocations: 3.953 kB / 1.037 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4168, allocations: 4 kB / 1.037 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4168, allocations: 0 / 1.037 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.417, allocations: 203.3 kB / 1.038 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.417, allocations: 93.09 kB / 1.038 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.4171, allocations: 0 / 1.038 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/0.4171, allocations: 3.953 kB / 1.038 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.4171, allocations: 11.98 kB / 1.038 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.4172, allocations: 4 kB / 1.038 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.407e-05/0.4172, allocations: 83.53 kB / 1.038 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4172, allocations: 4 kB / 1.038 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000323/0.4175, allocations: 79.92 kB / 1.038 GB, free: 2.824 MB / 0.6823 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.0003287/0.4179, allocations: 183.2 kB / 1.038 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.418, allocations: 80.3 kB / 1.038 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.418, allocations: 8.062 kB / 1.038 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.4181, allocations: 35.92 kB / 1.038 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.4184, allocations: 19.92 kB / 1.038 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.4187, allocations: 228.9 kB / 1.038 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.419, allocations: 0.6965 MB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.419, allocations: 15.44 kB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.419, allocations: 0 / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of Templates: time 0.003446/0.4225, allocations: 1.829 MB / 1.041 GB, free: 15.68 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)