Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 216.4 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.358/1.358, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002366/0.002366, allocations: 283.6 kB / 312.7 MB, free: 2.777 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.166/1.166, allocations: 180.6 MB / 0.5369 GB, free: 12.94 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 99.86 kB / 0.7396 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1559, allocations: 95.39 MB / 0.8328 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002295/0.1582, allocations: 1.284 MB / 0.834 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1597, allocations: 0.9335 MB / 0.8349 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.1597, allocations: 0 / 0.8349 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.1597, allocations: 0 / 0.8349 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.1598, allocations: 27.95 kB / 0.835 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007904/0.1606, allocations: 271.3 kB / 0.8352 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.785e-05/0.1607, allocations: 23.97 kB / 0.8353 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.142e-05/0.1607, allocations: 4 kB / 0.8353 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.1608, allocations: 19.97 kB / 0.8353 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1609, allocations: 55.92 kB / 0.8353 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1609, allocations: 4 kB / 0.8353 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004944/0.1614, allocations: 323.5 kB / 0.8356 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.1615, allocations: 19.92 kB / 0.8357 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.1615, allocations: 23.81 kB / 0.8357 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.1618, allocations: 243.6 kB / 0.8359 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1618, allocations: 0 / 0.8359 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1618, allocations: 0 / 0.8359 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1618, allocations: 0 / 0.8359 GB, free: 5.527 MB / 0.5762 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.0003769/0.1622, allocations: 313.8 kB / 0.8362 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1622, allocations: 8.625 kB / 0.8362 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.1623, allocations: 38.73 kB / 0.8363 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.1623, allocations: 8.891 kB / 0.8363 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1624, allocations: 118.4 kB / 0.8364 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.1624, allocations: 8.312 kB / 0.8364 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-06/0.1624, allocations: 384 / 0.8364 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1625, allocations: 61.81 kB / 0.8364 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.1625, allocations: 0 / 0.8364 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.1626, allocations: 0 / 0.8364 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.1626, allocations: 15.98 kB / 0.8365 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.143e-05/0.1626, allocations: 27.98 kB / 0.8365 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.1628, allocations: 148.6 kB / 0.8366 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.1629, allocations: 50.59 kB / 0.8367 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.1629, allocations: 32.88 kB / 0.8367 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.1629, allocations: 4 kB / 0.8367 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.163, allocations: 34.5 kB / 0.8367 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 2.745e-06/0.163, allocations: 3.984 kB / 0.8368 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0002131/0.1632, allocations: 133.6 kB / 0.8369 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.1632, allocations: 51.41 kB / 0.8369 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1633, allocations: 129.8 kB / 0.8371 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1633, allocations: 29.7 kB / 0.8371 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.1634, allocations: 92.14 kB / 0.8372 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.1634, allocations: 27.73 kB / 0.8372 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.1634, allocations: 17.72 kB / 0.8372 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1636, allocations: 322.8 kB / 0.8375 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.107e-05/0.1636, allocations: 24 kB / 0.8375 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.1636, allocations: 23.98 kB / 0.8376 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.097e-05/0.1637, allocations: 81.08 kB / 0.8376 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1637, allocations: 4.031 kB / 0.8376 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001096/0.1638, allocations: 101.6 kB / 0.8377 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1638, allocations: 4 kB / 0.8377 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1638, allocations: 0 / 0.8377 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1639, allocations: 0 / 0.8377 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-06/0.1639, allocations: 4 kB / 0.8378 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1639, allocations: 3.938 kB / 0.8378 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.1639, allocations: 3.953 kB / 0.8378 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1639, allocations: 3.984 kB / 0.8378 GB, free: 3.441 MB / 0.5762 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 8.624e-05/0.164, allocations: 122.5 kB / 0.8379 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.164, allocations: 11.88 kB / 0.8379 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.445e-05/0.164, allocations: 8.375 kB / 0.8379 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.164, allocations: 12 kB / 0.8379 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.164, allocations: 0 / 0.8379 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.164, allocations: 3.984 kB / 0.8379 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.1642, allocations: 140.8 kB / 0.838 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1642, allocations: 4 kB / 0.8381 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-06/0.1642, allocations: 3.938 kB / 0.8381 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1642, allocations: 0 / 0.8381 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1642, allocations: 8 kB / 0.8381 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1642, allocations: 3.984 kB / 0.8381 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1642, allocations: 0 / 0.8381 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.1643, allocations: 125 kB / 0.8382 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.1643, allocations: 15.83 kB / 0.8382 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.1643, allocations: 0 / 0.8382 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.1643, allocations: 3.938 kB / 0.8382 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.1644, allocations: 7.938 kB / 0.8382 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1644, allocations: 4.031 kB / 0.8382 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.811e-05/0.1644, allocations: 107.2 kB / 0.8383 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1644, allocations: 0 / 0.8383 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002837/0.1647, allocations: 67.88 kB / 0.8384 GB, free: 2.73 MB / 0.5762 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.0005969/0.1653, allocations: 0.7293 MB / 0.8391 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.1654, allocations: 64 kB / 0.8392 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1654, allocations: 0 / 0.8392 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.1654, allocations: 31.94 kB / 0.8392 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.1656, allocations: 0 / 0.8392 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.1661, allocations: 255.7 kB / 0.8394 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1664, allocations: 0.6924 MB / 0.8401 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.441e-05/0.1664, allocations: 9.953 kB / 0.8401 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.1664, allocations: 23.42 kB / 0.8401 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1664, allocations: 0 / 0.8401 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.1945, allocations: 2.952 MB / 0.843 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.961/10.16, allocations: 4.484 kB / 0.843 GB, free: 14.06 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.145761735999258] Failed to read output from testmodel.py, exit status != 0: 10.266403976998845 10.281240424 10.116569196 Calling exit ...