Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7597/0.7597, allocations: 143.8 MB / 159.1 MB, free: 6.488 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 179.3 kB / 192 MB, free: 6.719 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.7 MB / 450.4 MB, free: 6.695 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007766/0.0007767, allocations: 95.61 kB / 0.5211 GB, free: 3.359 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001585/0.001585, allocations: 277.9 kB / 0.6025 GB, free: 49.53 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004691, allocations: 19.98 kB / 0.6948 GB, free: 2.781 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2929, allocations: 82.45 MB / 0.7754 GB, free: 26.96 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0005452/0.2935, allocations: 278.1 kB / 0.7756 GB, free: 26.7 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007428/0.2943, allocations: 0.8559 MB / 0.7765 GB, free: 25.81 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-06/0.2943, allocations: 0 / 0.7765 GB, free: 25.81 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.2943, allocations: 0 / 0.7765 GB, free: 25.81 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.278e-06/0.2943, allocations: 0 / 0.7765 GB, free: 25.81 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.2945, allocations: 15.92 kB / 0.7765 GB, free: 25.79 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 3.16e-05/0.2946, allocations: 11.98 kB / 0.7765 GB, free: 25.78 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.2946, allocations: 4 kB / 0.7765 GB, free: 25.78 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.319e-05/0.2946, allocations: 0 / 0.7765 GB, free: 25.78 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.2948, allocations: 19.98 kB / 0.7765 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.853e-06/0.2948, allocations: 0 / 0.7765 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.457e-06/0.2948, allocations: 0 / 0.7765 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.2948, allocations: 0 / 0.7765 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.2948, allocations: 25.7 kB / 0.7765 GB, free: 25.73 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 3.15e-05/0.2949, allocations: 11.92 kB / 0.7765 GB, free: 25.71 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2949, allocations: 0 / 0.7765 GB, free: 25.71 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2949, allocations: 0 / 0.7765 GB, free: 25.71 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.2949, allocations: 0 / 0.7765 GB, free: 25.71 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001588/0.2951, allocations: 307.6 kB / 0.7768 GB, free: 25.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.2951, allocations: 8.094 kB / 0.7768 GB, free: 25.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.004e-05/0.2951, allocations: 4.922 kB / 0.7768 GB, free: 25.35 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.47e-05/0.2952, allocations: 160.4 kB / 0.777 GB, free: 25.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2952, allocations: 4.375 kB / 0.777 GB, free: 25.15 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.2952, allocations: 4.375 kB / 0.777 GB, free: 25.15 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.079e-05/0.2953, allocations: 30.27 kB / 0.777 GB, free: 25.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.2953, allocations: 192 / 0.777 GB, free: 25.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.2953, allocations: 3.938 kB / 0.777 GB, free: 25.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.2953, allocations: 0 / 0.777 GB, free: 25.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.2953, allocations: 7.938 kB / 0.777 GB, free: 25.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.2955, allocations: 371.5 kB / 0.7774 GB, free: 24.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.708e-05/0.2955, allocations: 181.1 kB / 0.7776 GB, free: 24.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.2956, allocations: 80.14 kB / 0.7777 GB, free: 24.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.2956, allocations: 75.28 kB / 0.7777 GB, free: 24.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.2956, allocations: 109.8 kB / 0.7778 GB, free: 24.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2956, allocations: 0 / 0.7778 GB, free: 24.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 5.43e-05/0.2957, allocations: 29.7 kB / 0.7779 GB, free: 24.19 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.2957, allocations: 130.6 kB / 0.778 GB, free: 24.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.644e-05/0.2958, allocations: 101.8 kB / 0.7781 GB, free: 23.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.449e-06/0.2958, allocations: 25.7 kB / 0.7781 GB, free: 23.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.518e-05/0.2958, allocations: 82.81 kB / 0.7782 GB, free: 23.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.2958, allocations: 0 / 0.7782 GB, free: 23.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-06/0.2958, allocations: 0 / 0.7782 GB, free: 23.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.2958, allocations: 310.8 kB / 0.7785 GB, free: 23.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-06/0.2959, allocations: 8.125 kB / 0.7785 GB, free: 23.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-06/0.2959, allocations: 0 / 0.7785 GB, free: 23.51 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.682e-05/0.2959, allocations: 8.797 kB / 0.7785 GB, free: 23.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2959, allocations: 0 / 0.7785 GB, free: 23.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.449e-05/0.296, allocations: 41.64 kB / 0.7785 GB, free: 23.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.296, allocations: 7.938 kB / 0.7785 GB, free: 23.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.296, allocations: 3.984 kB / 0.7785 GB, free: 23.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.296, allocations: 0 / 0.7785 GB, free: 23.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.2961, allocations: 4.094 kB / 0.7786 GB, free: 23.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2961, allocations: 4 kB / 0.7786 GB, free: 23.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-06/0.2961, allocations: 0 / 0.7786 GB, free: 23.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-06/0.2961, allocations: 0 / 0.7786 GB, free: 23.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.41e-05/0.2962, allocations: 185.1 kB / 0.7787 GB, free: 23.24 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.2962, allocations: 109 kB / 0.7788 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.2962, allocations: 112.1 kB / 0.7789 GB, free: 23.01 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.2962, allocations: 188.2 kB / 0.7791 GB, free: 22.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/0.2963, allocations: 180.3 kB / 0.7793 GB, free: 22.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.2963, allocations: 180.3 kB / 0.7795 GB, free: 22.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.2964, allocations: 409.1 kB / 0.7799 GB, free: 21.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.2964, allocations: 101 kB / 0.78 GB, free: 21.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.2965, allocations: 104.9 kB / 0.7801 GB, free: 21.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.086e-05/0.2965, allocations: 188.3 kB / 0.7802 GB, free: 21.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.2965, allocations: 176.3 kB / 0.7804 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.925e-05/0.2965, allocations: 180.2 kB / 0.7806 GB, free: 21.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.875e-05/0.2966, allocations: 180.2 kB / 0.7807 GB, free: 21.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.429e-05/0.2966, allocations: 315.6 kB / 0.781 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.2966, allocations: 178.1 kB / 0.7812 GB, free: 20.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.2967, allocations: 188.2 kB / 0.7814 GB, free: 20.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.2967, allocations: 105.3 kB / 0.7815 GB, free: 20.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.2968, allocations: 180.2 kB / 0.7817 GB, free: 20.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.2968, allocations: 109 kB / 0.7818 GB, free: 19.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.554e-05/0.2968, allocations: 83.28 kB / 0.7818 GB, free: 19.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2968, allocations: 0 / 0.7818 GB, free: 19.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.297, allocations: 0 / 0.7818 GB, free: 19.83 MB / 458.7 MB 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 (0): * Single equations (assignments): 0 * 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 8.18e-05/0.2971, allocations: 186.5 kB / 0.782 GB, free: 19.63 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 4.608e-05/0.2971, allocations: 7.938 kB / 0.782 GB, free: 19.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2971, allocations: 3.938 kB / 0.782 GB, free: 19.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.2971, allocations: 4.156 kB / 0.782 GB, free: 19.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.2974, allocations: 0.5185 MB / 0.7825 GB, free: 19.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001185/0.2975, allocations: 151.5 kB / 0.7827 GB, free: 18.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.157e-05/0.2976, allocations: 0.6692 MB / 0.7833 GB, free: 18.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.152e-05/0.2976, allocations: 0 / 0.7833 GB, free: 18.22 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.186e-05/0.2976, allocations: 15.44 kB / 0.7834 GB, free: 18.21 MB / 458.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2976, allocations: 0 / 0.7834 GB, free: 18.21 MB / 458.7 MB Notification: Performance of Templates: time 0.001432/0.2991, allocations: 169.5 kB / 0.7835 GB, free: 18.04 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)