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.0007802/0.0007802, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.0008847/0.0008847, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.8506/0.8506, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.001457/0.001457, allocations: 230.5 kB / 260.2 MB, free: 13.01 MB / 250.7 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 0.665/0.665, allocations: 138.4 MB / 455.1 MB, free: 29.99 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6476 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.416e-05, allocations: 6.219 kB / 0.6476 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001437/0.001461, allocations: 1.278 MB / 0.6488 GB, free: 4 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2635/0.2649, allocations: 4.132 MB / 0.6529 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.2649, allocations: 0 / 0.6529 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 5.579e-05/0.265, allocations: 1.125 kB / 0.6529 GB, free: 54.94 MB / 0.5573 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.002456/0.2675, allocations: 1.596 MB / 0.6544 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 4.605e-05/0.2675, allocations: 30.95 kB / 0.6544 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.372e-05/0.2676, allocations: 22.39 kB / 0.6545 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.2676, allocations: 1.719 kB / 0.6545 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.165e-05/0.2676, allocations: 9.688 kB / 0.6545 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.2677, allocations: 20.81 kB / 0.6545 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.2677, allocations: 1.812 kB / 0.6545 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.2701, allocations: 2.435 MB / 0.6569 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.2702, allocations: 147.1 kB / 0.657 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.2702, allocations: 5.922 kB / 0.657 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.2722, allocations: 2.079 MB / 0.6591 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2722, allocations: 0 / 0.6591 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2722, allocations: 1.812 kB / 0.6591 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2722, allocations: 2.547 kB / 0.6591 GB, free: 53.05 MB / 0.5573 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.0005286/0.2727, allocations: 0.5582 MB / 0.6596 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2728, allocations: 11.41 kB / 0.6596 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.2728, allocations: 3.125 kB / 0.6596 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.676e-05/0.2728, allocations: 119.6 kB / 0.6597 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2728, allocations: 2.25 kB / 0.6597 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.2729, allocations: 384 / 0.6597 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.273, allocations: 167.5 kB / 0.6599 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.273, allocations: 3.938 kB / 0.6599 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.273, allocations: 2.172 kB / 0.6599 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.273, allocations: 0.7188 kB / 0.6599 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.2732, allocations: 279.6 kB / 0.6602 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.2734, allocations: 237.7 kB / 0.6604 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.2735, allocations: 163.8 kB / 0.6605 GB, free: 52.26 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.089e-05/0.2736, allocations: 146.8 kB / 0.6607 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.2736, allocations: 0 / 0.6607 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.2736, allocations: 33.97 kB / 0.6607 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.2736, allocations: 0 / 0.6607 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0003335/0.2739, allocations: 454.8 kB / 0.6612 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.2739, allocations: 57.47 kB / 0.6612 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.274, allocations: 169.1 kB / 0.6614 GB, free: 52.01 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-06/0.274, allocations: 25.7 kB / 0.6614 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-06/0.274, allocations: 80.14 kB / 0.6615 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.2741, allocations: 5.109 kB / 0.6615 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/0.2741, allocations: 15.38 kB / 0.6615 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.909e-05/0.2741, allocations: 317.2 kB / 0.6618 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.2742, allocations: 142.4 kB / 0.6619 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.2743, allocations: 140.5 kB / 0.6621 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2744, allocations: 291.8 kB / 0.6623 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2744, allocations: 1.062 kB / 0.6623 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001704/0.2746, allocations: 311.1 kB / 0.6626 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.2746, allocations: 9.281 kB / 0.6626 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2746, allocations: 0 / 0.6626 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2746, allocations: 3.938 kB / 0.6627 GB, free: 51.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.2747, allocations: 3.062 kB / 0.6627 GB, free: 51.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2747, allocations: 3.938 kB / 0.6627 GB, free: 51.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.2747, allocations: 3.531 kB / 0.6627 GB, free: 51.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2747, allocations: 2.594 kB / 0.6627 GB, free: 51.51 MB / 0.5573 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 6.844e-05/0.2748, allocations: 174.4 kB / 0.6628 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-06/0.2748, allocations: 0 / 0.6628 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.275, allocations: 322.1 kB / 0.6631 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.275, allocations: 3.938 kB / 0.6631 GB, free: 51.35 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.275, allocations: 0 / 0.6631 GB, free: 51.35 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.275, allocations: 0 / 0.6631 GB, free: 51.35 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.2752, allocations: 238.3 kB / 0.6634 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.2752, allocations: 2.531 kB / 0.6634 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.2752, allocations: 0.5625 kB / 0.6634 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2752, allocations: 0.5 kB / 0.6634 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.2752, allocations: 0 / 0.6634 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.2752, allocations: 3.25 kB / 0.6634 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2752, allocations: 3.938 kB / 0.6634 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.2754, allocations: 344.9 kB / 0.6637 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-06/0.2754, allocations: 2 kB / 0.6637 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.2754, allocations: 0 / 0.6637 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.893e-05/0.2754, allocations: 1.969 kB / 0.6637 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.2755, allocations: 5.953 kB / 0.6637 GB, free: 51.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.2755, allocations: 2.438 kB / 0.6637 GB, free: 51.15 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.074e-05/0.2755, allocations: 156.5 kB / 0.6639 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2755, allocations: 0 / 0.6639 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007502/0.2763, allocations: 0.5712 MB / 0.6644 GB, free: 50.94 MB / 0.5573 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.001485/0.2777, allocations: 1.032 MB / 0.6654 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.278, allocations: 280.5 kB / 0.6657 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.278, allocations: 1.906 kB / 0.6657 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.265e-05/0.278, allocations: 173.9 kB / 0.6659 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.2782, allocations: 3.516 kB / 0.6659 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.2786, allocations: 426.6 kB / 0.6663 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.363e-05/0.2786, allocations: 56.48 kB / 0.6663 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.2786, allocations: 16.72 kB / 0.6664 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/0.2786, allocations: 0 / 0.6664 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of Templates: time 0.013/0.2916, allocations: 12.48 MB / 0.6785 GB, free: 48.53 MB / 0.5573 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: 7.900638124905527] Failed to read output from testmodel.py, exit status != 0: 0.29688118305057287 0.30380412300000004 0.030047058 Calling exit ...