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.001461/0.001461, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001707/0.001707, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.502/1.502, 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.002775/0.002775, allocations: 281.3 kB / 313.5 MB, free: 2.832 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.279/1.279, allocations: 180.6 MB / 0.5377 GB, free: 13.09 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.002858/0.002858, allocations: 105 kB / 0.7409 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1935, allocations: 95.38 MB / 0.834 GB, free: 8.16 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.003169/0.1967, allocations: 1.284 MB / 0.8353 GB, free: 6.863 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.007826/0.2045, allocations: 4.583 MB / 0.8397 GB, free: 2.258 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.524e-05/0.2045, allocations: 0 / 0.8397 GB, free: 2.258 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 6.848e-05/0.2046, allocations: 0 / 0.8397 GB, free: 2.258 MB / 0.5763 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.004624/0.2092, allocations: 1.602 MB / 0.8413 GB, free: 0.6523 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.2093, allocations: 35.91 kB / 0.8413 GB, free: 0.6172 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 6.196e-05/0.2094, allocations: 15.92 kB / 0.8413 GB, free: 0.6016 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.2094, allocations: 4 kB / 0.8413 GB, free: 0.5977 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 2.502e-05/0.2095, allocations: 7.984 kB / 0.8414 GB, free: 0.5898 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 6.469e-05/0.2095, allocations: 21.28 kB / 0.8414 GB, free: 0.5664 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.2095, allocations: 0 / 0.8414 GB, free: 0.5664 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.2138, allocations: 2.706 MB / 0.844 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.2139, allocations: 153.2 kB / 0.8442 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.214, allocations: 4 kB / 0.8442 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002691/0.2166, allocations: 1.766 MB / 0.8459 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2167, allocations: 0 / 0.8459 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2167, allocations: 0 / 0.8459 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.2167, allocations: 4 kB / 0.8459 GB, free: 11.93 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.000928/0.2176, allocations: 0.5655 MB / 0.8464 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.2176, allocations: 9.344 kB / 0.8465 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.2177, allocations: 8.938 kB / 0.8465 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2178, allocations: 106.5 kB / 0.8466 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.2178, allocations: 4.312 kB / 0.8466 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.2178, allocations: 8.125 kB / 0.8466 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.218, allocations: 165.6 kB / 0.8467 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.218, allocations: 0 / 0.8467 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.218, allocations: 0 / 0.8467 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2181, allocations: 7.969 kB / 0.8467 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.2183, allocations: 279.9 kB / 0.847 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.2186, allocations: 260.7 kB / 0.8473 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.2188, allocations: 162.5 kB / 0.8474 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.2189, allocations: 156.7 kB / 0.8476 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.2189, allocations: 0 / 0.8476 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2189, allocations: 30.56 kB / 0.8476 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2189, allocations: 0 / 0.8476 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0004719/0.2194, allocations: 449.6 kB / 0.848 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.2194, allocations: 59.38 kB / 0.8481 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.2196, allocations: 169.8 kB / 0.8482 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2196, allocations: 25.7 kB / 0.8483 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.2196, allocations: 80.14 kB / 0.8483 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.2197, allocations: 7.938 kB / 0.8484 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.2197, allocations: 13.72 kB / 0.8484 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2198, allocations: 314.8 kB / 0.8487 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.2199, allocations: 148.1 kB / 0.8488 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.22, allocations: 136 kB / 0.8489 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.2203, allocations: 288.7 kB / 0.8492 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2203, allocations: 0 / 0.8492 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000276/0.2206, allocations: 321.5 kB / 0.8495 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2206, allocations: 4 kB / 0.8495 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2206, allocations: 0 / 0.8495 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2206, allocations: 4 kB / 0.8495 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.722e-05/0.2207, allocations: 96 / 0.8495 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.2207, allocations: 4 kB / 0.8495 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.2207, allocations: 0 / 0.8495 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2207, allocations: 0 / 0.8495 GB, free: 8.023 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.0001308/0.2209, allocations: 174.5 kB / 0.8497 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.2209, allocations: 3.938 kB / 0.8497 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.2212, allocations: 320.5 kB / 0.85 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2212, allocations: 3.938 kB / 0.85 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2212, allocations: 0 / 0.85 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2212, allocations: 4.031 kB / 0.85 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.2215, allocations: 264.6 kB / 0.8503 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.2215, allocations: 3.984 kB / 0.8503 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-06/0.2215, allocations: 3.938 kB / 0.8503 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2215, allocations: 4 kB / 0.8503 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.2215, allocations: 0 / 0.8503 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2215, allocations: 0 / 0.8503 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2215, allocations: 0 / 0.8503 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.2218, allocations: 341 kB / 0.8506 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.2218, allocations: 4 kB / 0.8506 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.2218, allocations: 0 / 0.8506 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.985e-05/0.2219, allocations: 0 / 0.8506 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.2219, allocations: 4 kB / 0.8506 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.2219, allocations: 7.938 kB / 0.8506 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.959e-05/0.222, allocations: 151.2 kB / 0.8508 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.222, allocations: 0 / 0.8508 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001339/0.2234, allocations: 0.5726 MB / 0.8513 GB, free: 6.109 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.002348/0.2257, allocations: 0.9253 MB / 0.8522 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.226, allocations: 287.8 kB / 0.8525 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.226, allocations: 0 / 0.8525 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.2262, allocations: 169.6 kB / 0.8527 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.2264, allocations: 7.875 kB / 0.8527 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/0.227, allocations: 431.3 kB / 0.8531 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.2273, allocations: 0.669 MB / 0.8537 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.2273, allocations: 11.44 kB / 0.8537 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.2273, allocations: 0 / 0.8537 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of Templates: time 0.02178/0.2491, allocations: 12.25 MB / 0.8657 GB, free: 7.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.914346219040453] Failed to read output from testmodel.py, exit status != 0: 0.2572682579047978 0.27242733599999996 0.052536740000000005 Calling exit ...