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.001559/0.001559, allocations: 109.4 kB / 15.69 MB, free: 128 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.001997/0.001997, allocations: 187.9 kB / 16.62 MB, free: 6.582 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.407/1.407, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.803/1.803, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001471/0.001471, allocations: 72.33 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.291, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002396/0.2934, allocations: 1.333 MB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.528/0.8214, allocations: 147.9 MB / 0.9298 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.8215, allocations: 0 / 0.9298 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.8215, allocations: 5.859 kB / 0.9299 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.8217, allocations: 36.92 kB / 0.9299 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009715/0.8227, allocations: 356.4 kB / 0.9302 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.973e-05/0.8228, allocations: 66.25 kB / 0.9303 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.8229, allocations: 8.203 kB / 0.9303 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.8229, allocations: 36.03 kB / 0.9303 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.823, allocations: 61.22 kB / 0.9304 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.823, allocations: 0 / 0.9304 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006276/0.8237, allocations: 404.6 kB / 0.9308 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.8237, allocations: 30.23 kB / 0.9308 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.8238, allocations: 25.75 kB / 0.9308 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.8242, allocations: 273.5 kB / 0.9311 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.8242, allocations: 3.312 kB / 0.9311 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.193e-06/0.8242, allocations: 2.625 kB / 0.9311 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.8242, allocations: 0 / 0.9311 GB, free: 3.199 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.0004628/0.8247, allocations: 403.6 kB / 0.9315 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.8247, allocations: 7.875 kB / 0.9315 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.8247, allocations: 3.562 kB / 0.9315 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.66e-05/0.8248, allocations: 174.9 kB / 0.9317 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.8249, allocations: 3.125 kB / 0.9317 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.8249, allocations: 5.438 kB / 0.9317 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.825, allocations: 94.89 kB / 0.9318 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.8251, allocations: 0 / 0.9318 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.8251, allocations: 0.6562 kB / 0.9318 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.8251, allocations: 17.17 kB / 0.9318 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.8252, allocations: 81.58 kB / 0.9319 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.8256, allocations: 331 kB / 0.9322 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.8257, allocations: 103.9 kB / 0.9323 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.328e-05/0.8258, allocations: 56.61 kB / 0.9323 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007824/0.8266, allocations: 474.9 kB / 0.9328 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.8266, allocations: 30.56 kB / 0.9328 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.8266, allocations: 2.625 kB / 0.9328 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0002323/0.8269, allocations: 124.9 kB / 0.9329 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.8269, allocations: 54.03 kB / 0.933 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/0.827, allocations: 118.4 kB / 0.9331 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.827, allocations: 29.7 kB / 0.9331 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.8271, allocations: 97.06 kB / 0.9332 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.8271, allocations: 38.47 kB / 0.9332 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.8271, allocations: 35.67 kB / 0.9333 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.8272, allocations: 318.8 kB / 0.9336 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.8273, allocations: 33.03 kB / 0.9336 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.8273, allocations: 71.69 kB / 0.9337 GB, free: 17 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.8274, allocations: 112.1 kB / 0.9338 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8275, allocations: 1.094 kB / 0.9338 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001705/0.8276, allocations: 140.8 kB / 0.9339 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.8276, allocations: 5.25 kB / 0.9339 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.8277, allocations: 3.719 kB / 0.9339 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.8277, allocations: 4.5 kB / 0.9339 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.8278, allocations: 28.94 kB / 0.934 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8278, allocations: 1.25 kB / 0.934 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.8278, allocations: 15.39 kB / 0.934 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.8279, allocations: 7.219 kB / 0.934 GB, free: 16.89 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.922e-05/0.8279, allocations: 126.6 kB / 0.9341 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.828, allocations: 8.5 kB / 0.9341 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.8282, allocations: 126.8 kB / 0.9342 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.8282, allocations: 5.125 kB / 0.9342 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.8282, allocations: 0.6562 kB / 0.9342 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8282, allocations: 4.641 kB / 0.9343 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.8284, allocations: 178.2 kB / 0.9344 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.8284, allocations: 4 kB / 0.9344 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.144e-05/0.8284, allocations: 18.56 kB / 0.9344 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8285, allocations: 0 / 0.9344 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.8285, allocations: 4.078 kB / 0.9344 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8285, allocations: 5.375 kB / 0.9345 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8285, allocations: 0 / 0.9345 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.8286, allocations: 206 kB / 0.9346 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.8287, allocations: 90 kB / 0.9347 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.8287, allocations: 11.88 kB / 0.9347 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.8288, allocations: 3.938 kB / 0.9347 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.8288, allocations: 5.453 kB / 0.9348 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.8288, allocations: 7.719 kB / 0.9348 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.8289, allocations: 86.77 kB / 0.9348 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8289, allocations: 0 / 0.9348 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003367/0.8292, allocations: 77.31 kB / 0.9349 GB, free: 16.18 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.000307/0.8295, allocations: 192.3 kB / 0.9351 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.8297, allocations: 78.11 kB / 0.9352 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8297, allocations: 0 / 0.9352 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.8297, allocations: 46.14 kB / 0.9352 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.83, allocations: 22.98 kB / 0.9352 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.8303, allocations: 178.1 kB / 0.9354 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.8306, allocations: 0.6909 MB / 0.9361 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.8307, allocations: 57.86 kB / 0.9361 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.8307, allocations: 16.16 kB / 0.9362 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8307, allocations: 0 / 0.9362 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.004104/0.8348, allocations: 1.894 MB / 0.938 GB, free: 15.07 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)