Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.001647/0.001647, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001862/0.001862, allocations: 210.6 kB / 22.99 MB, free: 4.945 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002615/0.002615, allocations: 285.2 kB / 313.5 MB, free: 2.605 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.235/1.235, allocations: 180.6 MB / 0.5377 GB, free: 14.59 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.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [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.003003/0.003003, allocations: 110 kB / 0.7408 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1939, allocations: 95.38 MB / 0.8339 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002605/0.1965, allocations: 1.281 MB / 0.8352 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007173/0.2037, allocations: 4.128 MB / 0.8392 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.2037, allocations: 0 / 0.8392 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.396e-05/0.2038, allocations: 3.938 kB / 0.8392 GB, free: 2.402 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.004237/0.208, allocations: 1.584 MB / 0.8407 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 9.731e-05/0.2081, allocations: 35.89 kB / 0.8408 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.2082, allocations: 11.98 kB / 0.8408 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.226e-05/0.2082, allocations: 8 kB / 0.8408 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.249e-05/0.2082, allocations: 4 kB / 0.8408 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.093e-05/0.2083, allocations: 25.27 kB / 0.8408 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.2083, allocations: 0 / 0.8408 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003867/0.2122, allocations: 2.425 MB / 0.8432 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.2123, allocations: 149.2 kB / 0.8433 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.2124, allocations: 0 / 0.8433 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.2148, allocations: 1.734 MB / 0.845 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2148, allocations: 0 / 0.845 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2148, allocations: 0 / 0.845 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.2149, allocations: 3.938 kB / 0.845 GB, free: 12.41 MB / 0.5919 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.0009291/0.2158, allocations: 0.5578 MB / 0.8456 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2158, allocations: 13.34 kB / 0.8456 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.2159, allocations: 0.9375 kB / 0.8456 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.216, allocations: 114.5 kB / 0.8457 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.216, allocations: 384 / 0.8457 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.216, allocations: 4.125 kB / 0.8457 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.2163, allocations: 169.6 kB / 0.8459 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2163, allocations: 0 / 0.8459 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.2163, allocations: 0 / 0.8459 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2163, allocations: 0 / 0.8459 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.2165, allocations: 287.9 kB / 0.8461 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.2168, allocations: 237.3 kB / 0.8464 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.217, allocations: 166.4 kB / 0.8465 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.2171, allocations: 144.9 kB / 0.8467 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.2171, allocations: 7.984 kB / 0.8467 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.2172, allocations: 38.5 kB / 0.8467 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.2172, allocations: 0 / 0.8467 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.000494/0.2177, allocations: 449.5 kB / 0.8471 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.2177, allocations: 59.33 kB / 0.8472 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.2179, allocations: 174 kB / 0.8474 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2179, allocations: 29.73 kB / 0.8474 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.2179, allocations: 80.14 kB / 0.8475 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.218, allocations: 3.953 kB / 0.8475 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.218, allocations: 13.72 kB / 0.8475 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.2181, allocations: 310.8 kB / 0.8478 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.2183, allocations: 139.9 kB / 0.8479 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.2184, allocations: 143.9 kB / 0.8481 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.2187, allocations: 288.8 kB / 0.8483 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2187, allocations: 0 / 0.8483 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002989/0.219, allocations: 317.6 kB / 0.8486 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.219, allocations: 9.875 kB / 0.8486 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.219, allocations: 0 / 0.8486 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.219, allocations: 0 / 0.8486 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.599e-05/0.2191, allocations: 3.938 kB / 0.8486 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2191, allocations: 3.984 kB / 0.8486 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.2191, allocations: 4 kB / 0.8487 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.2191, allocations: 0 / 0.8487 GB, free: 8.539 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 (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.0001344/0.2193, allocations: 166.5 kB / 0.8488 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.2193, allocations: 3.938 kB / 0.8488 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.2196, allocations: 332.5 kB / 0.8491 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2196, allocations: 0 / 0.8491 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2196, allocations: 0 / 0.8491 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2196, allocations: 0 / 0.8491 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.2199, allocations: 233.3 kB / 0.8494 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.2199, allocations: 7.984 kB / 0.8494 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.2199, allocations: 0 / 0.8494 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.2199, allocations: 3.938 kB / 0.8494 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.2199, allocations: 0 / 0.8494 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.2199, allocations: 3.938 kB / 0.8494 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2199, allocations: 3.938 kB / 0.8494 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.2202, allocations: 341 kB / 0.8497 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.2202, allocations: 4 kB / 0.8497 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.2203, allocations: 7.938 kB / 0.8497 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.646e-05/0.2203, allocations: 0 / 0.8497 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.2204, allocations: 0 / 0.8497 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.2204, allocations: 0 / 0.8497 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001072/0.2205, allocations: 155.2 kB / 0.8499 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2205, allocations: 0 / 0.8499 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001318/0.2218, allocations: 0.5687 MB / 0.8504 GB, free: 6.668 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 (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.002482/0.2243, allocations: 0.941 MB / 0.8513 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.2246, allocations: 283.8 kB / 0.8516 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2246, allocations: 4 kB / 0.8516 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.2248, allocations: 165.6 kB / 0.8518 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.2249, allocations: 9.5 kB / 0.8518 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/0.2256, allocations: 435.1 kB / 0.8522 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.28e-05/0.2256, allocations: 59.48 kB / 0.8522 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.2257, allocations: 15.44 kB / 0.8523 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.2257, allocations: 0 / 0.8523 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.02141/0.2471, allocations: 12.41 MB / 0.8644 GB, free: 8.406 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.993106388952583] Failed to read output from testmodel.py, exit status != 0: 0.2552599189803004 0.2701390149999999 0.052200959000000005 Calling exit ...