Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.001197/0.001197, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001351/0.001351, allocations: 216.5 kB / 22.26 MB, free: 5.117 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.329/1.329, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] 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.002359/0.002359, allocations: 296.1 kB / 312.7 MB, free: 2.797 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.133/1.133, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.002741/0.002741, allocations: 103.2 kB / 0.7396 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1513, allocations: 95.39 MB / 0.8328 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002271/0.1536, allocations: 1.309 MB / 0.8341 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.1544, allocations: 496.4 kB / 0.8345 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.1545, allocations: 0 / 0.8345 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.634e-05/0.1545, allocations: 0 / 0.8345 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-05/0.1546, allocations: 11.92 kB / 0.8345 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1548, allocations: 39.89 kB / 0.8346 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.844e-05/0.1549, allocations: 19.92 kB / 0.8346 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.1549, allocations: 0 / 0.8346 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.383e-05/0.1549, allocations: 23.91 kB / 0.8346 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.155, allocations: 8 kB / 0.8346 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.155, allocations: 0 / 0.8346 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1551, allocations: 51.88 kB / 0.8347 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.1552, allocations: 15.91 kB / 0.8347 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.1552, allocations: 19.88 kB / 0.8347 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.1553, allocations: 60.03 kB / 0.8348 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1553, allocations: 0 / 0.8348 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1553, allocations: 0 / 0.8348 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1554, allocations: 0 / 0.8348 GB, free: 6.684 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003454/0.1557, allocations: 274.2 kB / 0.835 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1557, allocations: 13.28 kB / 0.835 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.1558, allocations: 34.73 kB / 0.8351 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.1558, allocations: 8.891 kB / 0.8351 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1559, allocations: 110.5 kB / 0.8352 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-06/0.1559, allocations: 4.312 kB / 0.8352 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.1559, allocations: 4.375 kB / 0.8352 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.469e-05/0.156, allocations: 47.53 kB / 0.8352 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.156, allocations: 4 kB / 0.8353 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.156, allocations: 0 / 0.8353 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.156, allocations: 0 / 0.8353 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.364e-05/0.1561, allocations: 15.88 kB / 0.8353 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.1562, allocations: 145.5 kB / 0.8354 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.452e-05/0.1563, allocations: 41.14 kB / 0.8354 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.1563, allocations: 21.84 kB / 0.8355 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.1563, allocations: 0 / 0.8355 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1564, allocations: 46.44 kB / 0.8355 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.1564, allocations: 0 / 0.8355 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000127/0.1565, allocations: 45.62 kB / 0.8356 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.1565, allocations: 81.36 kB / 0.8356 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.1567, allocations: 144.3 kB / 0.8358 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.1567, allocations: 25.7 kB / 0.8358 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.1567, allocations: 88.14 kB / 0.8359 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.1567, allocations: 7.891 kB / 0.8359 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.1568, allocations: 29.7 kB / 0.8359 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1569, allocations: 318.8 kB / 0.8362 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.891e-05/0.1569, allocations: 20 kB / 0.8362 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.991e-05/0.157, allocations: 23.98 kB / 0.8363 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.763e-05/0.157, allocations: 52.84 kB / 0.8363 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.157, allocations: 0 / 0.8363 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001313/0.1572, allocations: 106.4 kB / 0.8364 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1572, allocations: 4 kB / 0.8364 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.1572, allocations: 0 / 0.8364 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1572, allocations: 0 / 0.8364 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.897e-05/0.1573, allocations: 4 kB / 0.8364 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1573, allocations: 0 / 0.8364 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.1573, allocations: 11.89 kB / 0.8364 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.1573, allocations: 3.984 kB / 0.8364 GB, free: 4.766 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.108e-05/0.1574, allocations: 118.5 kB / 0.8365 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.1574, allocations: 11.89 kB / 0.8366 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.1574, allocations: 3.469 kB / 0.8366 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1574, allocations: 0 / 0.8366 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1574, allocations: 0 / 0.8366 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1574, allocations: 7.922 kB / 0.8366 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.1575, allocations: 132.7 kB / 0.8367 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1575, allocations: 4 kB / 0.8367 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.1575, allocations: 3.938 kB / 0.8367 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1576, allocations: 11.94 kB / 0.8367 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-06/0.1576, allocations: 0 / 0.8367 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1576, allocations: 0 / 0.8367 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1576, allocations: 3.938 kB / 0.8367 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.571e-05/0.1576, allocations: 77.94 kB / 0.8368 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.1577, allocations: 7.938 kB / 0.8368 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.1577, allocations: 0 / 0.8368 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.1577, allocations: 4.031 kB / 0.8368 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.1577, allocations: 3.984 kB / 0.8368 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1577, allocations: 4 kB / 0.8368 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.49e-05/0.1578, allocations: 96.64 kB / 0.8369 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1578, allocations: 0 / 0.8369 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001934/0.158, allocations: 16 kB / 0.8369 GB, free: 4.191 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 0.0004105/0.1584, allocations: 0.6326 MB / 0.8375 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.1585, allocations: 77.67 kB / 0.8376 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1585, allocations: 0 / 0.8376 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.385e-05/0.1585, allocations: 7.938 kB / 0.8376 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.1587, allocations: 4 kB / 0.8376 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1598, allocations: 1.314 MB / 0.8389 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.1601, allocations: 0.6846 MB / 0.8396 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.1601, allocations: 0 / 0.8396 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.1602, allocations: 15.44 kB / 0.8396 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.1602, allocations: 0 / 0.8396 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.186, allocations: 1.787 MB / 0.8413 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.945/10.13, allocations: 9.719 kB / 0.8413 GB, free: 15.7 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_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_AggregationCellTimes.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.981634340998426] Failed to read output from testmodel.py, exit status != 0: 10.227108387000044 10.242337342 10.084061226 Calling exit ...