Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.201/2.201, allocations: 391.2 MB / 407 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 193.4 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 0.7948 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 115.7 kB / 0.9329 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 53.91 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2233, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002031/0.2254, allocations: 1.386 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.117/0.3424, allocations: 145.6 MB / 1.362 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.3425, allocations: 0 / 1.362 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.3426, allocations: 0 / 1.362 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.3428, allocations: 43.86 kB / 1.362 GB, free: 1.68 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009601/0.3437, allocations: 318.9 kB / 1.362 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.3439, allocations: 191.7 kB / 1.362 GB, free: 1.18 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.3439, allocations: 0 / 1.362 GB, free: 1.18 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.865e-05/0.344, allocations: 31.92 kB / 1.362 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3441, allocations: 59.81 kB / 1.362 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3441, allocations: 3.984 kB / 1.362 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006714/0.3448, allocations: 443 kB / 1.363 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/0.3449, allocations: 27.91 kB / 1.363 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.3449, allocations: 31.86 kB / 1.363 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.3453, allocations: 281.5 kB / 1.363 GB, free: 328 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3453, allocations: 0 / 1.363 GB, free: 328 kB / 0.8542 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3453, allocations: 3.984 kB / 1.363 GB, free: 324 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3454, allocations: 0 / 1.363 GB, free: 324 kB / 0.8542 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.0003818/0.3457, allocations: 399.3 kB / 1.363 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3458, allocations: 15.98 kB / 1.363 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.3458, allocations: 8.844 kB / 1.363 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.343e-05/0.3459, allocations: 167.7 kB / 1.364 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3459, allocations: 7.984 kB / 1.364 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.346, allocations: 0 / 1.364 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3461, allocations: 101.6 kB / 1.364 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3461, allocations: 0 / 1.364 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.3462, allocations: 0 / 1.364 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.3462, allocations: 15.92 kB / 1.364 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.3463, allocations: 86.14 kB / 1.364 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.3467, allocations: 336.7 kB / 1.364 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.3469, allocations: 106.5 kB / 1.364 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.347, allocations: 52.89 kB / 1.364 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007904/0.3478, allocations: 469.4 kB / 1.365 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.3478, allocations: 34.56 kB / 1.365 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 3.306e-06/0.3478, allocations: 96 / 1.365 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0002419/0.3481, allocations: 121.5 kB / 1.365 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.3481, allocations: 55.34 kB / 1.365 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.3482, allocations: 121.8 kB / 1.365 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.3482, allocations: 25.7 kB / 1.365 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.3482, allocations: 100.2 kB / 1.365 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.3483, allocations: 39.39 kB / 1.365 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.3483, allocations: 33.7 kB / 1.365 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.3484, allocations: 318.8 kB / 1.366 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.747e-05/0.3485, allocations: 31.97 kB / 1.366 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.3485, allocations: 69.08 kB / 1.366 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.3487, allocations: 117.1 kB / 1.366 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3487, allocations: 4.188 kB / 1.366 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001723/0.3489, allocations: 141.8 kB / 1.366 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3489, allocations: 9.234 kB / 1.366 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3489, allocations: 7.938 kB / 1.366 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3489, allocations: 4 kB / 1.366 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.349, allocations: 27.98 kB / 1.366 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.349, allocations: 7.938 kB / 1.366 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.3491, allocations: 7.938 kB / 1.366 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3491, allocations: 4 kB / 1.366 GB, free: 12.98 MB / 0.8698 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.094e-05/0.3492, allocations: 122 kB / 1.366 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.3492, allocations: 11.91 kB / 1.366 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.3494, allocations: 125.9 kB / 1.366 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3494, allocations: 0 / 1.366 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3494, allocations: 0 / 1.366 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3495, allocations: 4 kB / 1.366 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.3496, allocations: 185.5 kB / 1.366 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3496, allocations: 4 kB / 1.366 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.3497, allocations: 19.98 kB / 1.366 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3497, allocations: 0 / 1.366 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3497, allocations: 7.938 kB / 1.366 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3497, allocations: 4 kB / 1.366 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3497, allocations: 0 / 1.366 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.3501, allocations: 0.771 MB / 1.367 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.3502, allocations: 93.03 kB / 1.367 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.3502, allocations: 8 kB / 1.367 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.993e-05/0.3503, allocations: 0 / 1.367 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.3503, allocations: 7.984 kB / 1.367 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.3503, allocations: 3.938 kB / 1.367 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.3503, allocations: 95.2 kB / 1.367 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3503, allocations: 0 / 1.367 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004116/0.3508, allocations: 75.94 kB / 1.367 GB, free: 11.32 MB / 0.8698 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.0003128/0.3511, allocations: 192.4 kB / 1.368 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.3512, allocations: 79.84 kB / 1.368 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.3513, allocations: 4 kB / 1.368 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.622e-05/0.3513, allocations: 35.92 kB / 1.368 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.3516, allocations: 25.98 kB / 1.368 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.352, allocations: 335.1 kB / 1.368 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.3522, allocations: 0.6926 MB / 1.369 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.3523, allocations: 56.86 kB / 1.369 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.3524, allocations: 15.44 kB / 1.369 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of SimCode: time 2.1e-07/0.3524, allocations: 0 / 1.369 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of Templates: time 0.004191/0.3566, allocations: 1.881 MB / 1.371 GB, free: 8 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)