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.00166/0.00166, allocations: 110.7 kB / 16.46 MB, free: 6.5 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.001976/0.001976, allocations: 216 kB / 19.43 MB, free: 3.656 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.371/1.371, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002443/0.002443, allocations: 279.6 kB / 309.1 MB, free: 4.012 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.159/1.159, allocations: 180.9 MB / 0.5333 GB, free: 13.95 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.00275/0.00275, allocations: 107.3 kB / 0.7343 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1539, allocations: 95.34 MB / 0.8274 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002257/0.1561, allocations: 1.26 MB / 0.8286 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1577, allocations: 0.9299 MB / 0.8295 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.1577, allocations: 0 / 0.8295 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.1577, allocations: 4 kB / 0.8295 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.1578, allocations: 31.94 kB / 0.8296 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/0.1586, allocations: 251.4 kB / 0.8298 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.501e-05/0.1587, allocations: 23.97 kB / 0.8298 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.1587, allocations: 0 / 0.8298 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.1587, allocations: 19.97 kB / 0.8299 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.1589, allocations: 55.94 kB / 0.8299 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.1589, allocations: 0 / 0.8299 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.1593, allocations: 291.5 kB / 0.8302 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.1594, allocations: 19.92 kB / 0.8302 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.1594, allocations: 23.8 kB / 0.8302 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.1597, allocations: 239.6 kB / 0.8305 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1597, allocations: 0 / 0.8305 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1597, allocations: 0 / 0.8305 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1597, allocations: 0 / 0.8305 GB, free: 6.758 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.0004441/0.1602, allocations: 394.9 kB / 0.8308 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1602, allocations: 12.03 kB / 0.8308 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.1602, allocations: 30.75 kB / 0.8309 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.1603, allocations: 8.891 kB / 0.8309 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1604, allocations: 180.2 kB / 0.8311 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1604, allocations: 384 / 0.8311 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.1604, allocations: 384 / 0.8311 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.1606, allocations: 65.75 kB / 0.8311 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1606, allocations: 4 kB / 0.8311 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.1606, allocations: 4 kB / 0.8311 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.1606, allocations: 11.98 kB / 0.8311 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.1606, allocations: 24 kB / 0.8312 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.1609, allocations: 181.5 kB / 0.8313 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.876e-05/0.1609, allocations: 50.59 kB / 0.8314 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.161, allocations: 32.88 kB / 0.8314 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.074e-06/0.161, allocations: 0 / 0.8314 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.161, allocations: 42.48 kB / 0.8315 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 7.72e-07/0.161, allocations: 0 / 0.8315 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0002092/0.1612, allocations: 129.7 kB / 0.8316 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1613, allocations: 59.34 kB / 0.8316 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1614, allocations: 129.8 kB / 0.8318 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1614, allocations: 25.7 kB / 0.8318 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.1615, allocations: 88.12 kB / 0.8319 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.1615, allocations: 27.75 kB / 0.8319 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.1615, allocations: 25.73 kB / 0.8319 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1617, allocations: 314.8 kB / 0.8322 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.1617, allocations: 31.98 kB / 0.8322 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/0.1617, allocations: 23.98 kB / 0.8323 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.31e-05/0.1618, allocations: 73.14 kB / 0.8323 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1618, allocations: 0 / 0.8323 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001183/0.1619, allocations: 105.5 kB / 0.8324 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.162, allocations: 8 kB / 0.8324 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.162, allocations: 0 / 0.8324 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.162, allocations: 64 / 0.8324 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-06/0.162, allocations: 7.938 kB / 0.8325 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.162, allocations: 0 / 0.8325 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.162, allocations: 3.953 kB / 0.8325 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.162, allocations: 4 kB / 0.8325 GB, free: 4.469 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.679e-05/0.1621, allocations: 118.5 kB / 0.8326 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.1621, allocations: 11.89 kB / 0.8326 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.756e-05/0.1621, allocations: 16.36 kB / 0.8326 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.1621, allocations: 8 kB / 0.8326 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1621, allocations: 4 kB / 0.8326 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1621, allocations: 0 / 0.8326 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.1623, allocations: 169.7 kB / 0.8328 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1623, allocations: 0 / 0.8328 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-06/0.1623, allocations: 7.938 kB / 0.8328 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1623, allocations: 0 / 0.8328 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.1623, allocations: 0 / 0.8328 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1623, allocations: 0 / 0.8328 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1623, allocations: 0 / 0.8328 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.1625, allocations: 137 kB / 0.8329 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.1625, allocations: 92.88 kB / 0.833 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.1625, allocations: 0 / 0.833 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.578e-05/0.1625, allocations: 8 kB / 0.833 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.1625, allocations: 0 / 0.833 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1625, allocations: 0 / 0.833 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.57e-05/0.1626, allocations: 107.3 kB / 0.8331 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1626, allocations: 0 / 0.8331 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003065/0.1629, allocations: 67.86 kB / 0.8332 GB, free: 3.641 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.0006332/0.1636, allocations: 0.741 MB / 0.8339 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.1637, allocations: 59.98 kB / 0.834 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1637, allocations: 0 / 0.834 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.1637, allocations: 35.92 kB / 0.834 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.1639, allocations: 4.047 kB / 0.834 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.1644, allocations: 259.7 kB / 0.8342 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1647, allocations: 0.6924 MB / 0.8349 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.1647, allocations: 4 kB / 0.8349 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.1647, allocations: 29.48 kB / 0.835 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1647, allocations: 0 / 0.835 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.1894, allocations: 2.86 MB / 0.8377 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.067, allocations: 10.41 kB / 0.8378 GB, free: 15.08 MB / 0.5919 GB " [Timeout remaining time 652] (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: 12.02876919740811] Failed to read output from testmodel.py, exit status != 0: 8.135841992218047 8.159689925 7.995651718 Calling exit ...