Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.001681/0.001681, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002028/0.002028, allocations: 218.3 kB / 23.04 MB, free: 5.074 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.00249/0.00249, allocations: 287.3 kB / 313.5 MB, free: 2.832 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.155/1.155, allocations: 180.6 MB / 0.5377 GB, free: 13.13 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.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.002788/0.002788, allocations: 97.77 kB / 0.7404 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1745, allocations: 95.39 MB / 0.8335 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001691/0.1762, allocations: 0.5519 MB / 0.8341 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.1772, allocations: 0.8081 MB / 0.8349 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.743e-05/0.1772, allocations: 4 kB / 0.8349 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.1772, allocations: 0 / 0.8349 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.042e-06/0.1772, allocations: 0 / 0.8349 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1774, allocations: 19.92 kB / 0.8349 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.784e-05/0.1775, allocations: 0 / 0.8349 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.509e-05/0.1775, allocations: 4 kB / 0.8349 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.555e-05/0.1775, allocations: 3.984 kB / 0.8349 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.1777, allocations: 27.97 kB / 0.8349 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.183e-06/0.1777, allocations: 0 / 0.8349 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.697e-06/0.1777, allocations: 0 / 0.8349 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.086e-06/0.1777, allocations: 0 / 0.8349 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.467e-05/0.1777, allocations: 0 / 0.8349 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 3.783e-05/0.1778, allocations: 2.672 kB / 0.8349 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1778, allocations: 0 / 0.8349 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1778, allocations: 0 / 0.8349 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1778, allocations: 0 / 0.8349 GB, free: 7.242 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002643/0.178, allocations: 230.5 kB / 0.8352 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1781, allocations: 20.56 kB / 0.8352 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.093e-05/0.1781, allocations: 4.188 kB / 0.8352 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.721e-05/0.1781, allocations: 30.75 kB / 0.8352 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.834e-05/0.1781, allocations: 0.9375 kB / 0.8352 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.879e-05/0.1782, allocations: 106.8 kB / 0.8353 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.1782, allocations: 384 / 0.8353 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.1782, allocations: 4.375 kB / 0.8353 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.552e-05/0.1783, allocations: 33.95 kB / 0.8353 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1783, allocations: 0 / 0.8353 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-06/0.1783, allocations: 4 kB / 0.8354 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1783, allocations: 0 / 0.8354 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.1783, allocations: 4 kB / 0.8354 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.1786, allocations: 346.5 kB / 0.8357 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.234e-05/0.1787, allocations: 177.1 kB / 0.8359 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.1788, allocations: 84.14 kB / 0.8359 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.1788, allocations: 79.28 kB / 0.836 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/0.1789, allocations: 105.8 kB / 0.8361 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.1789, allocations: 0 / 0.8361 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.366e-05/0.1789, allocations: 25.7 kB / 0.8361 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.179, allocations: 130.6 kB / 0.8363 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.1791, allocations: 101.8 kB / 0.8364 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.1791, allocations: 29.64 kB / 0.8364 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.1791, allocations: 84.12 kB / 0.8365 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.1791, allocations: 1.672 kB / 0.8365 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.1792, allocations: 21.7 kB / 0.8365 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1793, allocations: 310.8 kB / 0.8368 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-06/0.1793, allocations: 0 / 0.8368 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-06/0.1793, allocations: 0 / 0.8368 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.1793, allocations: 16.98 kB / 0.8368 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1793, allocations: 0 / 0.8368 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.29e-05/0.1794, allocations: 29.7 kB / 0.8368 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1794, allocations: 4 kB / 0.8368 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1794, allocations: 0 / 0.8368 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1794, allocations: 4 kB / 0.8368 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.946e-05/0.1795, allocations: 3.938 kB / 0.8368 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1795, allocations: 3.984 kB / 0.8368 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-06/0.1795, allocations: 3.938 kB / 0.8368 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.1795, allocations: 4.031 kB / 0.8369 GB, free: 5.078 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 0.0001017/0.1796, allocations: 193.7 kB / 0.837 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.1797, allocations: 104.9 kB / 0.8371 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.1797, allocations: 107.8 kB / 0.8372 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-05/0.1798, allocations: 184.2 kB / 0.8374 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.199e-05/0.1799, allocations: 184.2 kB / 0.8376 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.731e-05/0.1799, allocations: 192.2 kB / 0.8378 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.1802, allocations: 372.2 kB / 0.8381 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-05/0.1802, allocations: 104.9 kB / 0.8382 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.1803, allocations: 105 kB / 0.8383 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.03e-05/0.1803, allocations: 176.3 kB / 0.8385 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.628e-05/0.1804, allocations: 188.2 kB / 0.8387 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-05/0.1805, allocations: 180.3 kB / 0.8388 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.057e-05/0.1806, allocations: 180.2 kB / 0.839 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.1807, allocations: 308 kB / 0.8393 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.1808, allocations: 109 kB / 0.8394 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/0.1808, allocations: 184.3 kB / 0.8396 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.1809, allocations: 108.9 kB / 0.8397 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.181, allocations: 180.2 kB / 0.8399 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.181, allocations: 101 kB / 0.84 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.1811, allocations: 83.28 kB / 0.84 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1811, allocations: 0 / 0.84 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002162/0.1813, allocations: 4.094 kB / 0.8401 GB, free: 1.602 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 (0): * Single equations (assignments): 0 * 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.0004399/0.1817, allocations: 0.8125 MB / 0.8408 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.15e-05/0.1818, allocations: 8 kB / 0.8409 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1818, allocations: 4.062 kB / 0.8409 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.277e-06/0.1818, allocations: 3.938 kB / 0.8409 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1822, allocations: 457.6 kB / 0.8413 GB, free: 300 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.1825, allocations: 174 kB / 0.8415 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1828, allocations: 0.6768 MB / 0.8421 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.063e-05/0.1828, allocations: 0 / 0.8421 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.1828, allocations: 11.44 kB / 0.8421 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.1828, allocations: 0 / 0.8421 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.2024, allocations: 1.043 MB / 0.8432 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.85, allocations: 14.89 kB / 0.8432 GB, free: 14.5 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.837441938987467] Failed to read output from testmodel.py, exit status != 0: 10.998511482030153 11.013864005 10.833012962 Calling exit ...