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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001814/0.001814, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.418/1.418, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.477/1.477, allocations: 251.6 MB / 0.5088 GB, free: 3.312 MB / 414.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.001357/0.001357, allocations: 63.91 kB / 0.6216 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4955, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002875/0.4984, allocations: 1.399 MB / 0.7252 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1549/0.6534, allocations: 145.6 MB / 0.8674 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.6535, allocations: 4 kB / 0.8674 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.6536, allocations: 3.938 kB / 0.8674 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.6538, allocations: 43.86 kB / 0.8674 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.655, allocations: 318.8 kB / 0.8677 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.6552, allocations: 183.7 kB / 0.8679 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.6552, allocations: 4 kB / 0.8679 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.24e-05/0.6552, allocations: 27.92 kB / 0.8679 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.6554, allocations: 67.8 kB / 0.868 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.6554, allocations: 4 kB / 0.868 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007886/0.6562, allocations: 443 kB / 0.8684 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.6563, allocations: 19.97 kB / 0.8685 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.6563, allocations: 27.86 kB / 0.8685 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.6568, allocations: 285.3 kB / 0.8688 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6568, allocations: 0 / 0.8688 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6569, allocations: 4 kB / 0.8688 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.6569, allocations: 0 / 0.8688 GB, free: 8.16 MB / 0.6856 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.0004973/0.6574, allocations: 395.4 kB / 0.8691 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.6574, allocations: 8.031 kB / 0.8691 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.6575, allocations: 8.844 kB / 0.8691 GB, free: 7.711 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.6576, allocations: 168.3 kB / 0.8693 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.6576, allocations: 7.938 kB / 0.8693 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.6577, allocations: 11.97 kB / 0.8693 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.6579, allocations: 97.59 kB / 0.8694 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.6579, allocations: 0 / 0.8694 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6579, allocations: 0 / 0.8694 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.6579, allocations: 8 kB / 0.8694 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.6581, allocations: 83.89 kB / 0.8695 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.6586, allocations: 336.7 kB / 0.8698 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.6588, allocations: 102.5 kB / 0.8699 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.815e-05/0.6589, allocations: 56.89 kB / 0.87 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008966/0.6598, allocations: 469.4 kB / 0.8704 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.6598, allocations: 34.56 kB / 0.8705 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 3.166e-06/0.6598, allocations: 96 / 0.8705 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.0002954/0.6601, allocations: 129.4 kB / 0.8706 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.6602, allocations: 59.34 kB / 0.8706 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.6603, allocations: 113.9 kB / 0.8708 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.6603, allocations: 29.7 kB / 0.8708 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.6604, allocations: 96.17 kB / 0.8709 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.6604, allocations: 39.39 kB / 0.8709 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.6605, allocations: 33.66 kB / 0.8709 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6606, allocations: 322.8 kB / 0.8712 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/0.6607, allocations: 31.98 kB / 0.8713 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.687e-05/0.6608, allocations: 76.16 kB / 0.8714 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.6609, allocations: 117.1 kB / 0.8715 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6609, allocations: 0 / 0.8715 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001991/0.6611, allocations: 145.8 kB / 0.8716 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6611, allocations: 4 kB / 0.8716 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6612, allocations: 4 kB / 0.8716 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6612, allocations: 0 / 0.8716 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.6613, allocations: 27.92 kB / 0.8716 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.6613, allocations: 12.09 kB / 0.8716 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.6614, allocations: 12.09 kB / 0.8717 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.6614, allocations: 8 kB / 0.8717 GB, free: 4.828 MB / 0.6856 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.983e-05/0.6615, allocations: 117.8 kB / 0.8718 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.6615, allocations: 11.89 kB / 0.8718 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.6618, allocations: 121.9 kB / 0.8719 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.6618, allocations: 7.938 kB / 0.8719 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6618, allocations: 4 kB / 0.8719 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6618, allocations: 0 / 0.8719 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.662, allocations: 181.6 kB / 0.8721 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.662, allocations: 0 / 0.8721 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.6621, allocations: 19.98 kB / 0.8721 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6621, allocations: 0 / 0.8721 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.6621, allocations: 4 kB / 0.8721 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.6621, allocations: 7.938 kB / 0.8721 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6621, allocations: 0 / 0.8721 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.6623, allocations: 207.5 kB / 0.8723 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.6624, allocations: 93 kB / 0.8724 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.6624, allocations: 3.984 kB / 0.8724 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-05/0.6624, allocations: 7.938 kB / 0.8724 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.6625, allocations: 0 / 0.8724 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.6625, allocations: 8 kB / 0.8724 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.6625, allocations: 87.27 kB / 0.8725 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6625, allocations: 0 / 0.8725 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003462/0.6629, allocations: 79.92 kB / 0.8726 GB, free: 3.781 MB / 0.6856 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.0003775/0.6633, allocations: 187.1 kB / 0.8728 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.6635, allocations: 83.77 kB / 0.8728 GB, free: 3.508 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6635, allocations: 320 / 0.8728 GB, free: 3.508 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.6635, allocations: 43.98 kB / 0.8729 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.6638, allocations: 15.92 kB / 0.8729 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.6642, allocations: 188.7 kB / 0.8731 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.6645, allocations: 0.6926 MB / 0.8738 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.6646, allocations: 52.97 kB / 0.8738 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.6647, allocations: 15.44 kB / 0.8738 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of SimCode: time 2.4e-07/0.6647, allocations: 4 kB / 0.8738 GB, free: 2.449 MB / 0.6856 GB Notification: Performance of Templates: time 0.0046/0.6693, allocations: 1.856 MB / 0.8756 GB, free: 0.6445 MB / 0.6856 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)