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.001029/0.001029, allocations: 107 kB / 16.29 MB, free: 6.031 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.001064/0.001064, allocations: 182.7 kB / 17.22 MB, free: 5.641 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.437/1.437, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.779/1.779, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001434/0.001434, allocations: 67.91 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2108, allocations: 114.6 MB / 0.7841 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002426/0.2133, allocations: 1.339 MB / 0.7854 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5101/0.7235, allocations: 147.9 MB / 0.9298 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.7235, allocations: 0 / 0.9298 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.7236, allocations: 6.25 kB / 0.9298 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.7238, allocations: 40.36 kB / 0.9298 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.7249, allocations: 368.1 kB / 0.9302 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.7251, allocations: 62.33 kB / 0.9303 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.539e-05/0.7251, allocations: 1.375 kB / 0.9303 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.081e-05/0.7252, allocations: 39.14 kB / 0.9303 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.7253, allocations: 48.77 kB / 0.9303 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.7253, allocations: 2.75 kB / 0.9303 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009052/0.7262, allocations: 410.1 kB / 0.9307 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.7263, allocations: 31.7 kB / 0.9308 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.7264, allocations: 26.38 kB / 0.9308 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005166/0.7269, allocations: 275.2 kB / 0.9311 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.7269, allocations: 0 / 0.9311 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7269, allocations: 0 / 0.9311 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.7269, allocations: 0 / 0.9311 GB, free: 4.105 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.0004986/0.7274, allocations: 406.1 kB / 0.9314 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.7275, allocations: 8.031 kB / 0.9315 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.7275, allocations: 12.84 kB / 0.9315 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.7276, allocations: 167.9 kB / 0.9316 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.7277, allocations: 4 kB / 0.9316 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.7277, allocations: 0 / 0.9316 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.7279, allocations: 98.72 kB / 0.9317 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.7279, allocations: 0 / 0.9317 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.7279, allocations: 3.984 kB / 0.9317 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.7279, allocations: 15.98 kB / 0.9317 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.7281, allocations: 75.89 kB / 0.9318 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.7285, allocations: 340.7 kB / 0.9321 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.7287, allocations: 99.09 kB / 0.9322 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.036e-05/0.7288, allocations: 48.91 kB / 0.9323 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008605/0.7297, allocations: 477.4 kB / 0.9327 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.7297, allocations: 38.59 kB / 0.9328 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.7297, allocations: 0 / 0.9328 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0002806/0.73, allocations: 121.5 kB / 0.9329 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.73, allocations: 52.91 kB / 0.9329 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/0.7301, allocations: 121.8 kB / 0.9331 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.7302, allocations: 29.7 kB / 0.9331 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.7302, allocations: 88.19 kB / 0.9332 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.7303, allocations: 51.39 kB / 0.9332 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.7303, allocations: 33.7 kB / 0.9332 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7304, allocations: 310.8 kB / 0.9335 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.7305, allocations: 27.98 kB / 0.9336 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.21e-05/0.7306, allocations: 77.77 kB / 0.9336 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.7307, allocations: 117 kB / 0.9338 GB, free: 1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7307, allocations: 0 / 0.9338 GB, free: 1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001856/0.7309, allocations: 141.6 kB / 0.9339 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.7309, allocations: 4 kB / 0.9339 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.731, allocations: 4.5 kB / 0.9339 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.731, allocations: 3.938 kB / 0.9339 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.7311, allocations: 31.92 kB / 0.9339 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.7311, allocations: 0.9375 kB / 0.9339 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.7312, allocations: 15.5 kB / 0.9339 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.7312, allocations: 4 kB / 0.934 GB, free: 0.7969 MB / 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 8.116e-05/0.7313, allocations: 121.8 kB / 0.9341 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.7313, allocations: 11.94 kB / 0.9341 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.7315, allocations: 132.8 kB / 0.9342 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7315, allocations: 4 kB / 0.9342 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7316, allocations: 3.984 kB / 0.9342 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7316, allocations: 0 / 0.9342 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.7318, allocations: 181.5 kB / 0.9344 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7318, allocations: 5.688 kB / 0.9344 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.7318, allocations: 12 kB / 0.9344 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7318, allocations: 4 kB / 0.9344 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.7318, allocations: 7.938 kB / 0.9344 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.7319, allocations: 3.984 kB / 0.9344 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7319, allocations: 0 / 0.9344 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.732, allocations: 204.8 kB / 0.9346 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.7321, allocations: 89 kB / 0.9347 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.7321, allocations: 7.938 kB / 0.9347 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.326e-05/0.7322, allocations: 4 kB / 0.9347 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.7322, allocations: 11.98 kB / 0.9347 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.7323, allocations: 0 / 0.9347 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.7323, allocations: 87.28 kB / 0.9348 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7323, allocations: 0 / 0.9348 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003631/0.7327, allocations: 75.92 kB / 0.9349 GB, free: 15.75 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.0003689/0.7331, allocations: 183.1 kB / 0.9351 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.7332, allocations: 92.53 kB / 0.9351 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7333, allocations: 0 / 0.9351 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.7333, allocations: 32.83 kB / 0.9352 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.7336, allocations: 16.55 kB / 0.9352 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.734, allocations: 177.8 kB / 0.9354 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.7343, allocations: 0.7016 MB / 0.936 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.7344, allocations: 54.52 kB / 0.9361 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.7344, allocations: 15.44 kB / 0.9361 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7344, allocations: 0 / 0.9361 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of Templates: time 0.004829/0.7393, allocations: 1.895 MB / 0.938 GB, free: 12.62 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)