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.001371/0.001371, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001538/0.001538, allocations: 212.3 kB / 22.24 MB, free: 5.262 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.781 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.002594/0.002594, allocations: 284.5 kB / 312.7 MB, free: 2.68 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.21/1.21, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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.002863/0.002863, allocations: 97.78 kB / 0.7395 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1612, allocations: 95.39 MB / 0.8327 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002448/0.1637, allocations: 1.274 MB / 0.8339 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1653, allocations: 0.8557 MB / 0.8348 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.1653, allocations: 0 / 0.8348 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.1653, allocations: 0 / 0.8348 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.1654, allocations: 31.95 kB / 0.8348 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.1662, allocations: 268.5 kB / 0.8351 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.163e-05/0.1663, allocations: 23.97 kB / 0.8351 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.1663, allocations: 3.938 kB / 0.8351 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.286e-05/0.1664, allocations: 19.97 kB / 0.8351 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1665, allocations: 51.92 kB / 0.8352 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.1665, allocations: 4 kB / 0.8352 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005003/0.167, allocations: 295.5 kB / 0.8354 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.1671, allocations: 19.92 kB / 0.8355 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.1671, allocations: 15.88 kB / 0.8355 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.1674, allocations: 251.5 kB / 0.8357 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1674, allocations: 0 / 0.8357 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1675, allocations: 0 / 0.8357 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1675, allocations: 0 / 0.8357 GB, free: 5.207 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.0003919/0.1678, allocations: 309.8 kB / 0.836 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1679, allocations: 8.625 kB / 0.836 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.1679, allocations: 34.75 kB / 0.8361 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.1679, allocations: 8.891 kB / 0.8361 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1681, allocations: 118.4 kB / 0.8362 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1681, allocations: 384 / 0.8362 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-06/0.1681, allocations: 4.312 kB / 0.8362 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.1682, allocations: 61.75 kB / 0.8362 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1682, allocations: 3.984 kB / 0.8362 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1682, allocations: 3.984 kB / 0.8362 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.1682, allocations: 12 kB / 0.8363 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.077e-05/0.1683, allocations: 27.98 kB / 0.8363 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.1685, allocations: 148.6 kB / 0.8364 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.578e-05/0.1685, allocations: 46.56 kB / 0.8365 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.1686, allocations: 37.06 kB / 0.8365 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.1686, allocations: 3.938 kB / 0.8365 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1686, allocations: 34.5 kB / 0.8365 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1686, allocations: 0 / 0.8365 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0002033/0.1688, allocations: 133.5 kB / 0.8367 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.1688, allocations: 51.69 kB / 0.8367 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.169, allocations: 129.8 kB / 0.8368 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.169, allocations: 29.69 kB / 0.8369 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.169, allocations: 92.08 kB / 0.837 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.1691, allocations: 35.77 kB / 0.837 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.1691, allocations: 13.72 kB / 0.837 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1692, allocations: 322.8 kB / 0.8373 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.354e-05/0.1693, allocations: 27.98 kB / 0.8373 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.1693, allocations: 24 kB / 0.8374 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.487e-05/0.1694, allocations: 68.83 kB / 0.8374 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1694, allocations: 4 kB / 0.8374 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001168/0.1695, allocations: 105.5 kB / 0.8375 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.1695, allocations: 4 kB / 0.8375 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.1695, allocations: 0 / 0.8375 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1695, allocations: 0 / 0.8375 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-06/0.1695, allocations: 8.047 kB / 0.8375 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1695, allocations: 0 / 0.8375 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.1695, allocations: 7.953 kB / 0.8376 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1695, allocations: 0 / 0.8376 GB, free: 3.133 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 9.316e-05/0.1696, allocations: 122.5 kB / 0.8377 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.1696, allocations: 11.83 kB / 0.8377 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.425e-05/0.1697, allocations: 8.375 kB / 0.8377 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.1697, allocations: 15.98 kB / 0.8377 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1697, allocations: 0 / 0.8377 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1697, allocations: 3.938 kB / 0.8377 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.1698, allocations: 140.8 kB / 0.8378 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1698, allocations: 0 / 0.8378 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.592e-06/0.1698, allocations: 8.031 kB / 0.8378 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1698, allocations: 7.922 kB / 0.8379 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1698, allocations: 4 kB / 0.8379 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1698, allocations: 0 / 0.8379 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1698, allocations: 0 / 0.8379 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.17, allocations: 129 kB / 0.838 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.17, allocations: 11.83 kB / 0.838 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.17, allocations: 0 / 0.838 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.101e-05/0.17, allocations: 0 / 0.838 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-06/0.17, allocations: 8.031 kB / 0.838 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.17, allocations: 7.969 kB / 0.838 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.026e-05/0.1701, allocations: 103.3 kB / 0.8381 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1701, allocations: 0 / 0.8381 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002747/0.1704, allocations: 67.88 kB / 0.8382 GB, free: 2.422 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.0006081/0.171, allocations: 0.7318 MB / 0.8389 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.1711, allocations: 59.97 kB / 0.8389 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1711, allocations: 0 / 0.8389 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.1711, allocations: 36.08 kB / 0.839 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.1712, allocations: 0 / 0.839 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.1717, allocations: 263.5 kB / 0.8392 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.721e-05/0.1718, allocations: 75.33 kB / 0.8393 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.1718, allocations: 4.062 kB / 0.8393 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.1719, allocations: 27.41 kB / 0.8393 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.1719, allocations: 3.938 kB / 0.8393 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.1989, allocations: 3.275 MB / 0.8425 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.89, allocations: 9.25 kB / 0.8425 GB, free: 14.05 MB / 0.5919 GB " [Timeout remaining time 649] (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.983583556022495] Failed to read output from testmodel.py, exit status != 0: 11.001144409645349 11.018659171 10.848160595 Calling exit ...