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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 119.4 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 194.2 kB / 20.08 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002433/0.002433, allocations: 276.9 kB / 303.6 MB, free: 3.715 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 180.9 MB / 0.5268 GB, free: 2.676 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002822/0.002822, allocations: 103.8 kB / 0.726 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6389/0.6417, allocations: 94.16 MB / 0.8179 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002419/0.6442, allocations: 1.254 MB / 0.8191 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006913/0.6511, allocations: 4.522 MB / 0.8235 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.6511, allocations: 0 / 0.8235 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.158e-05/0.6512, allocations: 1.312 kB / 0.8235 GB, free: 3.559 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 2.0.0-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.00509/0.6563, allocations: 1.51 MB / 0.825 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.6564, allocations: 37.12 kB / 0.8251 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.798e-05/0.6565, allocations: 17.66 kB / 0.8251 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.6565, allocations: 1.312 kB / 0.8251 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.6565, allocations: 10.95 kB / 0.8251 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.6566, allocations: 21.16 kB / 0.8251 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.6566, allocations: 1.531 kB / 0.8251 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004249/0.6609, allocations: 2.382 MB / 0.8274 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.661, allocations: 150.4 kB / 0.8276 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.661, allocations: 3.844 kB / 0.8276 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003222/0.6643, allocations: 1.739 MB / 0.8293 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6643, allocations: 0 / 0.8293 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6643, allocations: 0 / 0.8293 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.6643, allocations: 0 / 0.8293 GB, free: 1.742 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.001086/0.6654, allocations: 0.638 MB / 0.8299 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.6654, allocations: 9.688 kB / 0.8299 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.6655, allocations: 5.5 kB / 0.8299 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.6656, allocations: 170.4 kB / 0.8301 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.6656, allocations: 384 / 0.8301 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.6656, allocations: 8.125 kB / 0.8301 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.6658, allocations: 166.7 kB / 0.8302 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6658, allocations: 0 / 0.8302 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.6658, allocations: 1.406 kB / 0.8302 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6658, allocations: 0 / 0.8302 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.6661, allocations: 282 kB / 0.8305 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.6664, allocations: 287.5 kB / 0.8308 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.6665, allocations: 160.8 kB / 0.8309 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.6666, allocations: 152 kB / 0.8311 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.6667, allocations: 4.781 kB / 0.8311 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.6667, allocations: 38.12 kB / 0.8311 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.6667, allocations: 0 / 0.8311 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0004659/0.6671, allocations: 447.8 kB / 0.8316 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.6672, allocations: 51.41 kB / 0.8316 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.6673, allocations: 180.1 kB / 0.8318 GB, free: 460 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.6673, allocations: 29.64 kB / 0.8318 GB, free: 424 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.57e-05/0.6673, allocations: 80.14 kB / 0.8319 GB, free: 340 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.6673, allocations: 0 / 0.8319 GB, free: 340 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.6674, allocations: 13.52 kB / 0.8319 GB, free: 324 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.6674, allocations: 311.6 kB / 0.8322 GB, free: 4 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.6675, allocations: 141.2 kB / 0.8323 GB, free: 4 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.6676, allocations: 140 kB / 0.8325 GB, free: 4 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.6679, allocations: 293.7 kB / 0.8327 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6679, allocations: 0 / 0.8327 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003584/0.6683, allocations: 315.9 kB / 0.833 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.6683, allocations: 10.83 kB / 0.8331 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6683, allocations: 4 kB / 0.8331 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.6683, allocations: 0 / 0.8331 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.6684, allocations: 6 kB / 0.8331 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.6684, allocations: 0 / 0.8331 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.374e-05/0.6685, allocations: 5.25 kB / 0.8331 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.6685, allocations: 0 / 0.8331 GB, free: 15.94 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.0001521/0.6686, allocations: 172.2 kB / 0.8332 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.6686, allocations: 5.031 kB / 0.8332 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.6691, allocations: 324.5 kB / 0.8335 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6691, allocations: 1.562 kB / 0.8335 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6691, allocations: 0 / 0.8335 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6691, allocations: 0.6094 kB / 0.8335 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.6694, allocations: 289.1 kB / 0.8338 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.6694, allocations: 0.8438 kB / 0.8338 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.6694, allocations: 4.031 kB / 0.8338 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6694, allocations: 1.281 kB / 0.8338 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.6694, allocations: 0 / 0.8338 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.6694, allocations: 2.594 kB / 0.8338 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6694, allocations: 3.938 kB / 0.8338 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.6698, allocations: 338.9 kB / 0.8342 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.6699, allocations: 80.69 kB / 0.8342 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/0.6699, allocations: 0.5938 kB / 0.8342 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.67, allocations: 4.625 kB / 0.8342 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.67, allocations: 1.031 kB / 0.8342 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.67, allocations: 4.438 kB / 0.8342 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001507/0.6702, allocations: 155.2 kB / 0.8344 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6702, allocations: 0 / 0.8344 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002597/0.6728, allocations: 0.5723 MB / 0.835 GB, free: 15.2 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.002967/0.6758, allocations: 0.9408 MB / 0.8359 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003653/0.6761, allocations: 290.7 kB / 0.8362 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6761, allocations: 3.938 kB / 0.8362 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.6763, allocations: 167.3 kB / 0.8363 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.6765, allocations: 7.922 kB / 0.8363 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007389/0.6773, allocations: 432.9 kB / 0.8367 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.6776, allocations: 0.6726 MB / 0.8374 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.6776, allocations: 12.05 kB / 0.8374 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.6776, allocations: 1.25 kB / 0.8374 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of Templates: time 0.0286/0.7062, allocations: 12.22 MB / 0.8493 GB, free: 9.75 MB / 0.5919 GB " [Timeout remaining time 659] 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: 13.64878122578375] Failed to read output from testmodel.py, exit status != 0: 0.7143782689236104 0.728403654 0.061097941 Calling exit ...