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.001792/0.001792, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002113/0.002113, allocations: 215 kB / 20.13 MB, free: 2.949 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.423/1.423, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.0025/0.0025, allocations: 285 kB / 309.8 MB, free: 3.449 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.04/1.04, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.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.002794/0.002794, allocations: 100.3 kB / 0.7347 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.5002, allocations: 95.34 MB / 0.8278 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002249/0.5024, allocations: 1.301 MB / 0.8291 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006634/0.5031, allocations: 493.5 kB / 0.8296 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.5031, allocations: 3.938 kB / 0.8296 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.085e-05/0.5032, allocations: 1.359 kB / 0.8296 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.984e-05/0.5033, allocations: 9.188 kB / 0.8296 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.5035, allocations: 37.52 kB / 0.8296 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.88e-05/0.5036, allocations: 22.62 kB / 0.8296 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.5036, allocations: 5.25 kB / 0.8296 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.5036, allocations: 9.188 kB / 0.8297 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.5037, allocations: 15.3 kB / 0.8297 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.5037, allocations: 0 / 0.8297 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.5038, allocations: 41.61 kB / 0.8297 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.5038, allocations: 18.89 kB / 0.8297 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.5039, allocations: 16.41 kB / 0.8297 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.504, allocations: 66.5 kB / 0.8298 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.504, allocations: 0 / 0.8298 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.883e-06/0.504, allocations: 0 / 0.8298 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.504, allocations: 2.625 kB / 0.8298 GB, free: 1.691 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.000281/0.5043, allocations: 351.5 kB / 0.8301 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.5043, allocations: 11.3 kB / 0.8302 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.209e-05/0.5043, allocations: 8.188 kB / 0.8302 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.507e-05/0.5043, allocations: 30.75 kB / 0.8302 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.277e-05/0.5044, allocations: 8.266 kB / 0.8302 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.372e-05/0.5044, allocations: 169.2 kB / 0.8304 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.5045, allocations: 3 kB / 0.8304 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.5045, allocations: 384 / 0.8304 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.589e-05/0.5046, allocations: 54.84 kB / 0.8304 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5046, allocations: 3.984 kB / 0.8304 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-06/0.5046, allocations: 0 / 0.8304 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.5046, allocations: 0 / 0.8304 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.5046, allocations: 5.453 kB / 0.8304 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.5047, allocations: 181.1 kB / 0.8306 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.422e-05/0.5048, allocations: 39.14 kB / 0.8306 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.5048, allocations: 17.03 kB / 0.8307 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.5048, allocations: 8.594 kB / 0.8307 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.5048, allocations: 37.98 kB / 0.8307 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.5048, allocations: 0 / 0.8307 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001167/0.5049, allocations: 48.41 kB / 0.8307 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.505, allocations: 81.77 kB / 0.8308 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.505, allocations: 135.1 kB / 0.8309 GB, free: 440 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.505, allocations: 25.7 kB / 0.831 GB, free: 408 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.07e-05/0.5051, allocations: 92.69 kB / 0.8311 GB, free: 316 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.5051, allocations: 7.953 kB / 0.8311 GB, free: 308 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.5051, allocations: 27.64 kB / 0.8311 GB, free: 288 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.5052, allocations: 323.1 kB / 0.8314 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.5052, allocations: 25.45 kB / 0.8314 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.5053, allocations: 31.45 kB / 0.8315 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.687e-05/0.5053, allocations: 41.91 kB / 0.8315 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5053, allocations: 0 / 0.8315 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000124/0.5055, allocations: 105.7 kB / 0.8316 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.5055, allocations: 9.25 kB / 0.8316 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.5055, allocations: 0.75 kB / 0.8316 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.5055, allocations: 0 / 0.8316 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.924e-05/0.5055, allocations: 3.422 kB / 0.8316 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.5055, allocations: 0 / 0.8316 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.5056, allocations: 14.45 kB / 0.8316 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.5056, allocations: 6.562 kB / 0.8316 GB, free: 15.86 MB / 0.5919 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 7.971e-05/0.5056, allocations: 118.8 kB / 0.8317 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.5057, allocations: 10.52 kB / 0.8318 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.851e-05/0.5057, allocations: 8.234 kB / 0.8318 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5057, allocations: 3.281 kB / 0.8318 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5057, allocations: 0 / 0.8318 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5057, allocations: 0 / 0.8318 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.5058, allocations: 158.6 kB / 0.8319 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5058, allocations: 3.938 kB / 0.8319 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.5058, allocations: 9.766 kB / 0.8319 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5058, allocations: 0 / 0.8319 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.5058, allocations: 4.656 kB / 0.8319 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5058, allocations: 0 / 0.8319 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5058, allocations: 3.406 kB / 0.8319 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.32e-05/0.5059, allocations: 81.61 kB / 0.832 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.506, allocations: 81.84 kB / 0.8321 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.506, allocations: 0 / 0.8321 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.786e-05/0.506, allocations: 7.219 kB / 0.8321 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.506, allocations: 0.5156 kB / 0.8321 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.506, allocations: 2.625 kB / 0.8321 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.074e-05/0.5061, allocations: 100.5 kB / 0.8322 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5061, allocations: 1.156 kB / 0.8322 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000208/0.5063, allocations: 26.28 kB / 0.8322 GB, free: 15.24 MB / 0.5919 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.000419/0.5067, allocations: 0.6256 MB / 0.8328 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.5068, allocations: 78.66 kB / 0.8329 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5068, allocations: 0 / 0.8329 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/0.5068, allocations: 4.172 kB / 0.8329 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.507, allocations: 6.625 kB / 0.8329 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.5081, allocations: 1.307 MB / 0.8342 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.5084, allocations: 0.6887 MB / 0.8349 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.5084, allocations: 0.7031 kB / 0.8349 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.5084, allocations: 16.11 kB / 0.8349 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.5084, allocations: 0 / 0.8349 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.5257, allocations: 1.788 MB / 0.8366 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.637, allocations: 6.328 kB / 0.8366 GB, free: 12.33 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.431187851994764] Failed to read output from testmodel.py, exit status != 0: 8.759282913000789 8.780602136 8.272764161 Calling exit ...