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.001269/0.001269, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001324/0.001324, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.42/1.42, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002365/0.002365, allocations: 282.9 kB / 309.8 MB, free: 3.473 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.034/1.034, allocations: 180.6 MB / 0.5338 GB, free: 12.39 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.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.002909/0.002909, allocations: 99.84 kB / 0.7347 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5121, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00158/0.5137, allocations: 0.5494 MB / 0.8284 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000875/0.5146, allocations: 0.7957 MB / 0.8291 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.5146, allocations: 0.9062 kB / 0.8291 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.5146, allocations: 0 / 0.8291 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.5146, allocations: 0 / 0.8291 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.5149, allocations: 23.55 kB / 0.8292 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.409e-05/0.5149, allocations: 0.6562 kB / 0.8292 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.5149, allocations: 10.59 kB / 0.8292 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.515, allocations: 1.312 kB / 0.8292 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.5151, allocations: 18.64 kB / 0.8292 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-06/0.5151, allocations: 0 / 0.8292 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.166e-06/0.5151, allocations: 0.875 kB / 0.8292 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.225e-06/0.5151, allocations: 0 / 0.8292 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.485e-05/0.5151, allocations: 5.922 kB / 0.8292 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 3.587e-05/0.5152, allocations: 3.797 kB / 0.8292 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5152, allocations: 4 kB / 0.8292 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5152, allocations: 0 / 0.8292 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5152, allocations: 5.25 kB / 0.8292 GB, free: 2.062 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.0002066/0.5154, allocations: 308 kB / 0.8295 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.5154, allocations: 10.16 kB / 0.8295 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.33e-05/0.5154, allocations: 4.188 kB / 0.8295 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.644e-05/0.5154, allocations: 33.88 kB / 0.8296 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.844e-05/0.5155, allocations: 4.938 kB / 0.8296 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.195e-05/0.5155, allocations: 161.6 kB / 0.8297 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.5155, allocations: 4.375 kB / 0.8297 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.5155, allocations: 384 / 0.8297 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.312e-05/0.5156, allocations: 32.97 kB / 0.8297 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.5156, allocations: 3.938 kB / 0.8298 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.5156, allocations: 0.6094 kB / 0.8298 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.5156, allocations: 3 kB / 0.8298 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.595e-05/0.5157, allocations: 3.938 kB / 0.8298 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.5158, allocations: 385 kB / 0.8301 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.324e-05/0.5159, allocations: 173.1 kB / 0.8303 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.5159, allocations: 80.84 kB / 0.8304 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.5159, allocations: 75.28 kB / 0.8304 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.5159, allocations: 116.1 kB / 0.8305 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.5159, allocations: 0 / 0.8305 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 5.862e-05/0.516, allocations: 33.14 kB / 0.8306 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.516, allocations: 126.7 kB / 0.8307 GB, free: 384 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.607e-05/0.5161, allocations: 91.31 kB / 0.8308 GB, free: 284 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-06/0.5161, allocations: 27.17 kB / 0.8308 GB, free: 252 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.498e-05/0.5161, allocations: 80.14 kB / 0.8309 GB, free: 168 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.5161, allocations: 0 / 0.8309 GB, free: 168 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.5161, allocations: 20.06 kB / 0.8309 GB, free: 144 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5162, allocations: 313 kB / 0.8312 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.5162, allocations: 0 / 0.8312 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-06/0.5162, allocations: 2.344 kB / 0.8312 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/0.5163, allocations: 15.39 kB / 0.8312 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5163, allocations: 0 / 0.8312 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.66e-05/0.5164, allocations: 31.3 kB / 0.8313 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.5164, allocations: 5.406 kB / 0.8313 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5164, allocations: 6.469 kB / 0.8313 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.5164, allocations: 0 / 0.8313 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.242e-05/0.5164, allocations: 2.906 kB / 0.8313 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.5164, allocations: 0 / 0.8313 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.034e-05/0.5164, allocations: 4.641 kB / 0.8313 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.5164, allocations: 0 / 0.8313 GB, free: 15.77 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: 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.0001136/0.5166, allocations: 192.8 kB / 0.8315 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.5166, allocations: 105.5 kB / 0.8316 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.5167, allocations: 109.5 kB / 0.8317 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.262e-05/0.5168, allocations: 180.3 kB / 0.8318 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.53e-05/0.5168, allocations: 180.9 kB / 0.832 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.256e-05/0.5169, allocations: 177 kB / 0.8322 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.5172, allocations: 414.2 kB / 0.8326 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-05/0.5172, allocations: 105.5 kB / 0.8327 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.5173, allocations: 101.5 kB / 0.8328 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.239e-05/0.5174, allocations: 182 kB / 0.8329 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.5175, allocations: 179.4 kB / 0.8331 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.503e-05/0.5175, allocations: 185.3 kB / 0.8333 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.13e-05/0.5176, allocations: 180.8 kB / 0.8335 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.5178, allocations: 317.5 kB / 0.8338 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.646e-05/0.5179, allocations: 185.9 kB / 0.8339 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/0.518, allocations: 180.8 kB / 0.8341 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.979e-05/0.5181, allocations: 105.2 kB / 0.8342 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.5181, allocations: 184.8 kB / 0.8344 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.5182, allocations: 105.6 kB / 0.8345 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.513e-05/0.5182, allocations: 77.84 kB / 0.8346 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5182, allocations: 0 / 0.8346 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002104/0.5184, allocations: 0.6562 kB / 0.8346 GB, free: 12.22 MB / 0.5919 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.0004897/0.5189, allocations: 0.8163 MB / 0.8354 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.616e-05/0.519, allocations: 3.906 kB / 0.8354 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.519, allocations: 0 / 0.8354 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-06/0.519, allocations: 0.6094 kB / 0.8354 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.5194, allocations: 463 kB / 0.8358 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.5197, allocations: 171.2 kB / 0.836 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.52, allocations: 0.6702 MB / 0.8366 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.321e-05/0.52, allocations: 4 kB / 0.8366 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.5201, allocations: 7.438 kB / 0.8366 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.5201, allocations: 2.531 kB / 0.8366 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.537, allocations: 1.027 MB / 0.8376 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.433, allocations: 15.81 kB / 0.8377 GB, free: 9.711 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.305279883963522] Failed to read output from testmodel.py, exit status != 0: 8.552671933022793 8.56668819 8.048671018 Calling exit ...