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.001354/0.001354, allocations: 77.94 kB / 19.76 MB, free: 2.035 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.001449/0.001449, allocations: 158.6 kB / 23.01 MB, free: 4.941 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.407/1.407, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.002453/0.002453, allocations: 245.2 kB / 260 MB, free: 424 kB / 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 0.9263/0.9263, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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.003102/0.003102, allocations: 102.1 kB / 0.6474 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4102, allocations: 95.35 MB / 0.7405 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00214/0.4123, allocations: 1.279 MB / 0.7418 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005655/0.418, allocations: 4.125 MB / 0.7458 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.418, allocations: 0 / 0.7458 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.966e-05/0.418, allocations: 4.594 kB / 0.7458 GB, free: 14.02 MB / 0.5919 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.00442/0.4225, allocations: 1.584 MB / 0.7473 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.4226, allocations: 39.31 kB / 0.7474 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.552e-05/0.4226, allocations: 13.39 kB / 0.7474 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.4227, allocations: 1.516 kB / 0.7474 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.4227, allocations: 9.734 kB / 0.7474 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.4228, allocations: 20.12 kB / 0.7474 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.4228, allocations: 1.219 kB / 0.7474 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004472/0.4272, allocations: 2.426 MB / 0.7498 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.4274, allocations: 146.9 kB / 0.7499 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.4274, allocations: 3.328 kB / 0.7499 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.4303, allocations: 1.74 MB / 0.7516 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4303, allocations: 1.531 kB / 0.7516 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4303, allocations: 0 / 0.7516 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.4303, allocations: 0 / 0.7516 GB, free: 12.02 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.0007167/0.4311, allocations: 0.5644 MB / 0.7522 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.4311, allocations: 10.47 kB / 0.7522 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.4311, allocations: 0.9375 kB / 0.7522 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.008e-05/0.4312, allocations: 110.1 kB / 0.7523 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.4312, allocations: 8.375 kB / 0.7523 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.4312, allocations: 9.266 kB / 0.7523 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.4314, allocations: 168.7 kB / 0.7525 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.4314, allocations: 0 / 0.7525 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.4314, allocations: 3.984 kB / 0.7525 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.4314, allocations: 0 / 0.7525 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.4316, allocations: 278.9 kB / 0.7527 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.4318, allocations: 235.5 kB / 0.753 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.4319, allocations: 165 kB / 0.7531 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.432, allocations: 147 kB / 0.7533 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-06/0.432, allocations: 4 kB / 0.7533 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.432, allocations: 36.78 kB / 0.7533 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.432, allocations: 3.938 kB / 0.7533 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0003815/0.4324, allocations: 448.1 kB / 0.7537 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.4324, allocations: 51.41 kB / 0.7538 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.4325, allocations: 173.2 kB / 0.7539 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.4325, allocations: 26.89 kB / 0.754 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.728e-06/0.4325, allocations: 80.14 kB / 0.754 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.4326, allocations: 5.078 kB / 0.7541 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.4326, allocations: 15.83 kB / 0.7541 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.731e-05/0.4326, allocations: 323.8 kB / 0.7544 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.271e-05/0.4327, allocations: 142.3 kB / 0.7545 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.038e-05/0.4328, allocations: 140.5 kB / 0.7546 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.433, allocations: 289.4 kB / 0.7549 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.433, allocations: 0 / 0.7549 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002232/0.4332, allocations: 312 kB / 0.7552 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4332, allocations: 9.547 kB / 0.7552 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.4332, allocations: 3.984 kB / 0.7552 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4333, allocations: 4.031 kB / 0.7552 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/0.4333, allocations: 6.656 kB / 0.7552 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4333, allocations: 0 / 0.7552 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.4334, allocations: 0 / 0.7552 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.4334, allocations: 1.406 kB / 0.7552 GB, free: 10.18 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 7.589e-05/0.4335, allocations: 167.5 kB / 0.7554 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.4335, allocations: 9.219 kB / 0.7554 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.4337, allocations: 316.5 kB / 0.7557 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4337, allocations: 1.156 kB / 0.7557 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4337, allocations: 0 / 0.7557 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4337, allocations: 32 / 0.7557 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.4339, allocations: 240.4 kB / 0.7559 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.4339, allocations: 0 / 0.7559 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-07/0.4339, allocations: 1.188 kB / 0.7559 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4339, allocations: 3.938 kB / 0.756 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.4339, allocations: 1.094 kB / 0.756 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4339, allocations: 3.938 kB / 0.756 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4339, allocations: 3.984 kB / 0.756 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.4341, allocations: 333.9 kB / 0.7563 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.4342, allocations: 5.109 kB / 0.7563 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.4342, allocations: 9.062 kB / 0.7563 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.108e-05/0.4343, allocations: 4.031 kB / 0.7563 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.4343, allocations: 1.125 kB / 0.7563 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.4343, allocations: 1.25 kB / 0.7563 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.747e-05/0.4344, allocations: 154.1 kB / 0.7564 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4344, allocations: 0 / 0.7564 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001352/0.4357, allocations: 0.5769 MB / 0.757 GB, free: 9.473 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.002202/0.4379, allocations: 0.9393 MB / 0.7579 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.4382, allocations: 293.5 kB / 0.7582 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4382, allocations: 0 / 0.7582 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4383, allocations: 172.3 kB / 0.7584 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.4385, allocations: 1.875 kB / 0.7584 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/0.4395, allocations: 0.978 MB / 0.7593 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.4396, allocations: 215.3 kB / 0.7595 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.873e-05/0.4396, allocations: 9.422 kB / 0.7595 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.4397, allocations: 12.94 kB / 0.7596 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.4397, allocations: 0 / 0.7596 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of Templates: time 0.01808/0.4577, allocations: 12.48 MB / 0.7717 GB, free: 2.047 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.827925940044224] Failed to read output from testmodel.py, exit status != 0: 0.4654197710333392 0.47939233499999995 0.045968662 Calling exit ...