Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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) 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 Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.605/1.605, allocations: 297.4 MB / 312.6 MB, free: 2.953 MB / 234.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.001062/0.001062, allocations: 182 kB / 382.3 MB, free: 14.85 MB / 314.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.391/1.391, allocations: 225.7 MB / 0.6617 GB, free: 7.23 MB / 490.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.0008366/0.0008364, allocations: 98.33 kB / 0.7789 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 10.69 kB / 0.9059 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6959/0.6962, allocations: 119.2 MB / 1.022 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001462/0.6978, allocations: 0.9797 MB / 1.023 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.6994, allocations: 1.341 MB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.6994, allocations: 0 / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.6994, allocations: 1 kB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.6996, allocations: 33.72 kB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.7002, allocations: 187.1 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.71e-05/0.7003, allocations: 40.58 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.7003, allocations: 2.266 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.7004, allocations: 20.59 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.7005, allocations: 50.25 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.7006, allocations: 0.5312 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.701, allocations: 263.8 kB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.431e-05/0.7011, allocations: 21.88 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.7012, allocations: 41.14 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.7015, allocations: 242.5 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7016, allocations: 0 / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7016, allocations: 0 / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.7016, allocations: 0 / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003474/0.7019, allocations: 385.9 kB / 1.026 GB, free: 55.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.702, allocations: 9.781 kB / 1.026 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.702, allocations: 11.62 kB / 1.026 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.7021, allocations: 176.2 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.7021, allocations: 384 / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.7022, allocations: 2.625 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.7023, allocations: 63.77 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.7023, allocations: 1.5 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.7023, allocations: 0 / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.7024, allocations: 11.92 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.404e-05/0.7024, allocations: 29.45 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.7026, allocations: 171.8 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.409e-05/0.7027, allocations: 52.3 kB / 1.026 GB, free: 55.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/0.7027, allocations: 37.94 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.7027, allocations: 4.203 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.7027, allocations: 38.44 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.7028, allocations: 2.297 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.000214/0.703, allocations: 133.1 kB / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.703, allocations: 52.03 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.7031, allocations: 129.8 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.7031, allocations: 26.41 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.7031, allocations: 89.45 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.7032, allocations: 29.48 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/0.7032, allocations: 0.75 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.7033, allocations: 321 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.7033, allocations: 28.12 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.7033, allocations: 27.89 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.146e-05/0.7034, allocations: 71.67 kB / 1.027 GB, free: 54.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7034, allocations: 0.75 kB / 1.027 GB, free: 54.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001045/0.7035, allocations: 102.7 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7035, allocations: 8.844 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.7036, allocations: 1.688 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.7036, allocations: 1.531 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.7036, allocations: 3.375 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.7036, allocations: 0 / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.7036, allocations: 15.45 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.7036, allocations: 2.906 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 6.326e-05/0.7037, allocations: 120.3 kB / 1.028 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.7037, allocations: 12.56 kB / 1.028 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.634e-05/0.7037, allocations: 14.73 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.7038, allocations: 11.66 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.7038, allocations: 0 / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.7038, allocations: 0 / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.7039, allocations: 168.8 kB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7039, allocations: 1.75 kB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.7039, allocations: 2.688 kB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7039, allocations: 3.938 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.7039, allocations: 1.281 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.7039, allocations: 0.5938 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7039, allocations: 0.7031 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.704, allocations: 132.9 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.7041, allocations: 92.86 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.7041, allocations: 0 / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.264e-05/0.7041, allocations: 4.922 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.7041, allocations: 0 / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.7041, allocations: 2.594 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.7042, allocations: 101 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7042, allocations: 0 / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003047/0.7045, allocations: 74.72 kB / 1.028 GB, free: 53.83 MB / 0.698 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0002964/0.7048, allocations: 187.4 kB / 1.028 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.7049, allocations: 67.39 kB / 1.028 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7049, allocations: 0 / 1.028 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.705, allocations: 37.44 kB / 1.028 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.7051, allocations: 1.641 kB / 1.028 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.7054, allocations: 221.2 kB / 1.029 GB, free: 53.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.7056, allocations: 0.7018 MB / 1.029 GB, free: 52.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.7056, allocations: 8.531 kB / 1.029 GB, free: 52.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.7057, allocations: 15.44 kB / 1.029 GB, free: 52.83 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7057, allocations: 0 / 1.029 GB, free: 52.83 MB / 0.698 GB Notification: Performance of Templates: time 0.003664/0.7093, allocations: 1.453 MB / 1.031 GB, free: 52.71 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)