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.001258/0.001258, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001398/0.001398, allocations: 216.1 kB / 23.03 MB, free: 4.922 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.392/1.392, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002383/0.002383, allocations: 281.5 kB / 313.5 MB, free: 2.609 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.187/1.187, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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="cs",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="cs",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.002778/0.002778, allocations: 99.16 kB / 0.7403 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1664, allocations: 95.39 MB / 0.8335 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002458/0.1688, allocations: 1.302 MB / 0.8347 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000852/0.1697, allocations: 444.7 kB / 0.8352 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.1697, allocations: 0 / 0.8352 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.713e-05/0.1698, allocations: 3.938 kB / 0.8352 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.1699, allocations: 11.97 kB / 0.8352 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1701, allocations: 31.91 kB / 0.8352 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.185e-05/0.1702, allocations: 31.84 kB / 0.8352 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.1702, allocations: 0 / 0.8352 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.1703, allocations: 11.94 kB / 0.8352 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.1703, allocations: 11.92 kB / 0.8353 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1704, allocations: 0 / 0.8353 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1705, allocations: 51.88 kB / 0.8353 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.1705, allocations: 15.98 kB / 0.8353 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.1706, allocations: 15.92 kB / 0.8353 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1707, allocations: 63.91 kB / 0.8354 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1707, allocations: 4 kB / 0.8354 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1707, allocations: 0 / 0.8354 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1707, allocations: 0 / 0.8354 GB, free: 6.324 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.0003788/0.1711, allocations: 270.2 kB / 0.8357 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1711, allocations: 9.344 kB / 0.8357 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.809e-05/0.1711, allocations: 4.188 kB / 0.8357 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/0.1712, allocations: 30.75 kB / 0.8357 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.1712, allocations: 8.891 kB / 0.8357 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1714, allocations: 119.6 kB / 0.8358 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1714, allocations: 4.375 kB / 0.8358 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.1714, allocations: 4.359 kB / 0.8358 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1715, allocations: 43.36 kB / 0.8359 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1715, allocations: 0 / 0.8359 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-06/0.1715, allocations: 3.938 kB / 0.8359 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1715, allocations: 0 / 0.8359 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.829e-05/0.1715, allocations: 15.98 kB / 0.8359 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.1717, allocations: 137.6 kB / 0.836 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.339e-05/0.1718, allocations: 45.16 kB / 0.8361 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.1718, allocations: 21.77 kB / 0.8361 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.1718, allocations: 7.875 kB / 0.8361 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1719, allocations: 34.56 kB / 0.8361 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1719, allocations: 0 / 0.8361 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.172, allocations: 45.62 kB / 0.8362 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.1721, allocations: 81.11 kB / 0.8362 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1722, allocations: 139.5 kB / 0.8364 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1722, allocations: 25.95 kB / 0.8364 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.1723, allocations: 96.11 kB / 0.8365 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.1723, allocations: 7.891 kB / 0.8365 GB, free: 5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.1723, allocations: 29.7 kB / 0.8365 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1725, allocations: 314.8 kB / 0.8368 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-05/0.1725, allocations: 23.98 kB / 0.8369 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.1726, allocations: 31.92 kB / 0.8369 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.733e-05/0.1727, allocations: 47.34 kB / 0.8369 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1727, allocations: 4 kB / 0.8369 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001343/0.1728, allocations: 97.58 kB / 0.837 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1728, allocations: 7.984 kB / 0.837 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.1728, allocations: 11.94 kB / 0.837 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1728, allocations: 0 / 0.837 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.64e-05/0.1729, allocations: 4 kB / 0.837 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1729, allocations: 0 / 0.837 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.1729, allocations: 7.891 kB / 0.8371 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1729, allocations: 4 kB / 0.8371 GB, free: 4.406 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 9.915e-05/0.173, allocations: 122.4 kB / 0.8372 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.173, allocations: 7.891 kB / 0.8372 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/0.1731, allocations: 3.469 kB / 0.8372 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1731, allocations: 4 kB / 0.8372 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1731, allocations: 4 kB / 0.8372 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.1731, allocations: 0 / 0.8372 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.1732, allocations: 128.8 kB / 0.8373 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1732, allocations: 3.938 kB / 0.8373 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.1732, allocations: 4 kB / 0.8373 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1732, allocations: 0 / 0.8373 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.1732, allocations: 0 / 0.8373 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1732, allocations: 4 kB / 0.8373 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1732, allocations: 0 / 0.8373 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.152e-05/0.1733, allocations: 81.88 kB / 0.8374 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.1733, allocations: 11.91 kB / 0.8374 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1733, allocations: 7.984 kB / 0.8374 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.646e-05/0.1734, allocations: 0 / 0.8374 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.1734, allocations: 0 / 0.8374 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.1734, allocations: 0 / 0.8374 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.175e-05/0.1734, allocations: 99.27 kB / 0.8375 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1734, allocations: 0 / 0.8375 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002072/0.1736, allocations: 16 kB / 0.8375 GB, free: 3.84 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.0004854/0.1741, allocations: 0.6308 MB / 0.8382 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1743, allocations: 81.64 kB / 0.8382 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1743, allocations: 0 / 0.8382 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.1743, allocations: 4 kB / 0.8382 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.1745, allocations: 8 kB / 0.8382 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.1758, allocations: 1.299 MB / 0.8395 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.989e-05/0.1758, allocations: 79.2 kB / 0.8396 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.1758, allocations: 0 / 0.8396 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.1759, allocations: 23.62 kB / 0.8396 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.1759, allocations: 3.938 kB / 0.8396 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.1977, allocations: 1.846 MB / 0.8414 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.85, allocations: 19.22 kB / 0.8414 GB, free: 15.92 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.862514800974168] Failed to read output from testmodel.py, exit status != 0: 11.009676385903731 11.028434055 10.854350561 Calling exit ...