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.001665/0.001665, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.001986/0.001986, allocations: 215.5 kB / 23 MB, free: 5.113 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.002563/0.002563, allocations: 288.2 kB / 313.5 MB, free: 2.824 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.246/1.246, allocations: 180.6 MB / 0.5377 GB, free: 12.96 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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") [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.002931/0.002931, allocations: 99.22 kB / 0.7409 GB, free: 27.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2079, allocations: 95.39 MB / 0.834 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001857/0.2098, allocations: 0.5481 MB / 0.8345 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2109, allocations: 0.8042 MB / 0.8353 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.81e-05/0.2109, allocations: 7.938 kB / 0.8353 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.2109, allocations: 0 / 0.8353 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-06/0.2109, allocations: 0 / 0.8353 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.2112, allocations: 19.92 kB / 0.8354 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.52e-05/0.2112, allocations: 4 kB / 0.8354 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.2113, allocations: 0 / 0.8354 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.678e-05/0.2113, allocations: 3.984 kB / 0.8354 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.2114, allocations: 19.98 kB / 0.8354 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-06/0.2114, allocations: 0 / 0.8354 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.778e-06/0.2114, allocations: 0 / 0.8354 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.2115, allocations: 0 / 0.8354 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.2115, allocations: 0 / 0.8354 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 5.968e-05/0.2115, allocations: 3.984 kB / 0.8354 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2115, allocations: 4 kB / 0.8354 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2115, allocations: 0 / 0.8354 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2116, allocations: 4 kB / 0.8354 GB, free: 6.688 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.0002829/0.2118, allocations: 226.5 kB / 0.8356 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2119, allocations: 17.25 kB / 0.8356 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.2119, allocations: 0.9375 kB / 0.8356 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.098e-05/0.212, allocations: 110.5 kB / 0.8357 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.212, allocations: 384 / 0.8357 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.212, allocations: 384 / 0.8357 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.2121, allocations: 42.17 kB / 0.8358 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2121, allocations: 192 / 0.8358 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2121, allocations: 3.938 kB / 0.8358 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2121, allocations: 0 / 0.8358 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.2122, allocations: 4 kB / 0.8358 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.2125, allocations: 346.6 kB / 0.8361 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.2126, allocations: 177 kB / 0.8363 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.2127, allocations: 84.17 kB / 0.8364 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.2127, allocations: 75.28 kB / 0.8364 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.992e-05/0.2128, allocations: 113.8 kB / 0.8365 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2128, allocations: 0 / 0.8365 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.275e-05/0.2128, allocations: 25.7 kB / 0.8366 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.2129, allocations: 126.7 kB / 0.8367 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.213, allocations: 101.8 kB / 0.8368 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.213, allocations: 25.7 kB / 0.8368 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.2131, allocations: 84.27 kB / 0.8369 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-06/0.2131, allocations: 0 / 0.8369 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.2131, allocations: 17.66 kB / 0.8369 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2133, allocations: 314.8 kB / 0.8372 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.2133, allocations: 0 / 0.8372 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.2133, allocations: 5.609 kB / 0.8372 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.2133, allocations: 8.859 kB / 0.8372 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2133, allocations: 0 / 0.8372 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.703e-05/0.2134, allocations: 41.7 kB / 0.8373 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2134, allocations: 4 kB / 0.8373 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2134, allocations: 0 / 0.8373 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2134, allocations: 0 / 0.8373 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/0.2135, allocations: 4 kB / 0.8373 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2135, allocations: 3.938 kB / 0.8373 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.759e-06/0.2135, allocations: 0 / 0.8373 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2135, allocations: 4 kB / 0.8373 GB, free: 4.57 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.0001227/0.2136, allocations: 197.7 kB / 0.8375 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.2137, allocations: 104.9 kB / 0.8376 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.2137, allocations: 111.7 kB / 0.8377 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-05/0.2138, allocations: 184.2 kB / 0.8378 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.64e-05/0.2139, allocations: 180.3 kB / 0.838 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.444e-05/0.214, allocations: 184.2 kB / 0.8382 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.2143, allocations: 376.3 kB / 0.8385 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.198e-05/0.2143, allocations: 105 kB / 0.8386 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.2144, allocations: 108.9 kB / 0.8388 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.487e-05/0.2145, allocations: 180.2 kB / 0.8389 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.101e-05/0.2145, allocations: 180.2 kB / 0.8391 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.642e-05/0.2146, allocations: 180.3 kB / 0.8393 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.896e-05/0.2147, allocations: 184.2 kB / 0.8394 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.2149, allocations: 308 kB / 0.8397 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.2149, allocations: 109 kB / 0.8398 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9e-05/0.215, allocations: 176.3 kB / 0.84 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.2151, allocations: 109 kB / 0.8401 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.2152, allocations: 188.2 kB / 0.8403 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/0.2153, allocations: 101 kB / 0.8404 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.993e-05/0.2153, allocations: 75.28 kB / 0.8405 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2153, allocations: 0 / 0.8405 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002183/0.2155, allocations: 4 kB / 0.8405 GB, free: 1.098 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.0001653/0.2157, allocations: 177.2 kB / 0.8406 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.339e-05/0.2158, allocations: 7.938 kB / 0.8406 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2158, allocations: 0 / 0.8406 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.2158, allocations: 0 / 0.8406 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.2162, allocations: 467.6 kB / 0.8411 GB, free: 456 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.2164, allocations: 178.1 kB / 0.8413 GB, free: 244 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.2168, allocations: 0.669 MB / 0.8419 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.2168, allocations: 7.438 kB / 0.8419 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.2168, allocations: 3.938 kB / 0.8419 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of Templates: time 0.001683/0.2185, allocations: 328.3 kB / 0.8422 GB, free: 15.21 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.561023152898997] Failed to read output from testmodel.py, exit status != 0: 0.22612091805785894 0.24180132299999996 0.027123885 Calling exit ...