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.00112/0.00112, allocations: 108 kB / 15.61 MB, free: 152 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.001169/0.001169, allocations: 197 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.541/1.541, allocations: 251.7 MB / 0.5092 GB, free: 3.02 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.001493/0.001494, allocations: 71.91 kB / 0.6223 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4524, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002214/0.4546, allocations: 1.328 MB / 0.7258 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1513/0.606, allocations: 147.9 MB / 0.8703 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.606, allocations: 4 kB / 0.8703 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.6061, allocations: 3.938 kB / 0.8703 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.6063, allocations: 43.86 kB / 0.8703 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.6073, allocations: 358.5 kB / 0.8706 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.6074, allocations: 63.88 kB / 0.8707 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.6075, allocations: 7.938 kB / 0.8707 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.387e-05/0.6075, allocations: 27.92 kB / 0.8707 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.6077, allocations: 51.88 kB / 0.8708 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.6077, allocations: 7.938 kB / 0.8708 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007163/0.6084, allocations: 411.1 kB / 0.8712 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.11e-05/0.6085, allocations: 19.97 kB / 0.8712 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.6085, allocations: 35.84 kB / 0.8712 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.6089, allocations: 269.4 kB / 0.8715 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.609, allocations: 8 kB / 0.8715 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.444e-06/0.609, allocations: 4 kB / 0.8715 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.609, allocations: 0 / 0.8715 GB, free: 5.816 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.0003741/0.6094, allocations: 387.4 kB / 0.8719 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.6094, allocations: 12.03 kB / 0.8719 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.6094, allocations: 4.844 kB / 0.8719 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.429e-05/0.6095, allocations: 176.3 kB / 0.8721 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.6096, allocations: 3.938 kB / 0.8721 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.6096, allocations: 8 kB / 0.8721 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.6098, allocations: 93.59 kB / 0.8722 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6098, allocations: 7.938 kB / 0.8722 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.6098, allocations: 0 / 0.8722 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.6098, allocations: 8 kB / 0.8722 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.6099, allocations: 79.95 kB / 0.8723 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.6104, allocations: 340.6 kB / 0.8726 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.6105, allocations: 98.53 kB / 0.8727 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.64e-05/0.6106, allocations: 60.89 kB / 0.8727 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008339/0.6114, allocations: 465.4 kB / 0.8732 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.6115, allocations: 30.56 kB / 0.8732 GB, free: 3.824 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.6115, allocations: 0 / 0.8732 GB, free: 3.824 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.0002465/0.6117, allocations: 133.5 kB / 0.8733 GB, free: 3.688 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.6118, allocations: 59.34 kB / 0.8734 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.6119, allocations: 113.9 kB / 0.8735 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.6119, allocations: 25.7 kB / 0.8735 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.6119, allocations: 100.2 kB / 0.8736 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.612, allocations: 43.38 kB / 0.8737 GB, free: 3.32 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.612, allocations: 29.72 kB / 0.8737 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.6121, allocations: 318.8 kB / 0.874 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.926e-05/0.6122, allocations: 31.98 kB / 0.874 GB, free: 2.934 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.259e-05/0.6123, allocations: 76.78 kB / 0.8741 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.6124, allocations: 117.4 kB / 0.8742 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6124, allocations: 0 / 0.8742 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001905/0.6126, allocations: 145.3 kB / 0.8743 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6126, allocations: 11.94 kB / 0.8744 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.6126, allocations: 0 / 0.8744 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.6127, allocations: 4 kB / 0.8744 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.6128, allocations: 28.08 kB / 0.8744 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.6128, allocations: 11.94 kB / 0.8744 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.6128, allocations: 8.094 kB / 0.8744 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.6129, allocations: 12 kB / 0.8744 GB, free: 2.488 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 7.696e-05/0.6129, allocations: 121.8 kB / 0.8745 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.613, allocations: 7.906 kB / 0.8745 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.6132, allocations: 125.9 kB / 0.8747 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6132, allocations: 3.938 kB / 0.8747 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.6132, allocations: 0 / 0.8747 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.6132, allocations: 3.984 kB / 0.8747 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.6134, allocations: 177.6 kB / 0.8748 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.6134, allocations: 0 / 0.8748 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.765e-05/0.6135, allocations: 23.98 kB / 0.8749 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6135, allocations: 0 / 0.8749 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.6135, allocations: 0 / 0.8749 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6135, allocations: 3.938 kB / 0.8749 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6135, allocations: 0 / 0.8749 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.6137, allocations: 215.5 kB / 0.8751 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.6137, allocations: 97 kB / 0.8752 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.6138, allocations: 0 / 0.8752 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.514e-05/0.6138, allocations: 3.938 kB / 0.8752 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.6138, allocations: 8 kB / 0.8752 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.6139, allocations: 7.984 kB / 0.8752 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.932e-05/0.6139, allocations: 83.28 kB / 0.8753 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6139, allocations: 4 kB / 0.8753 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003261/0.6142, allocations: 75.92 kB / 0.8753 GB, free: 1.441 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.0003019/0.6146, allocations: 183.1 kB / 0.8755 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.6147, allocations: 100.1 kB / 0.8756 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6147, allocations: 4 kB / 0.8756 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.6148, allocations: 31.98 kB / 0.8756 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.6151, allocations: 15.98 kB / 0.8757 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.6154, allocations: 174.8 kB / 0.8758 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.6156, allocations: 0.6924 MB / 0.8765 GB, free: 188 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.6157, allocations: 52.92 kB / 0.8766 GB, free: 136 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.6158, allocations: 19.44 kB / 0.8766 GB, free: 120 kB / 0.6856 GB Notification: Performance of SimCode: time 2.4e-07/0.6158, allocations: 0 / 0.8766 GB, free: 120 kB / 0.6856 GB Notification: Performance of Templates: time 0.004591/0.6204, allocations: 1.902 MB / 0.8784 GB, free: 14.27 MB / 0.7012 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)