Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005772/0.005772, allocations: 100.2 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 193 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, allocations: 251.7 MB / 0.5094 GB, free: 2.996 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 65.78 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2321, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002356/0.2345, allocations: 1.257 MB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005024/0.2396, allocations: 3.347 MB / 0.8326 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.2396, allocations: 3.938 kB / 0.8326 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.041e-05/0.2397, allocations: 4 kB / 0.8326 GB, free: 11.52 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-281:14:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction' contains a call to impure function 'Modelica.Math.Matrices.solve'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:261:3-308:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.findLast' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/LoadAggregation/temperatureResponseMatrix.mo:2:1-106:30:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.temperatureResponseMatrix' contains a call to impure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction'. Notification: Performance of NFTyping.typeBindings: time 0.003157/0.2429, allocations: 1.001 MB / 0.8336 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 9.685e-05/0.243, allocations: 39.89 kB / 0.8336 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.243, allocations: 4 kB / 0.8336 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.2431, allocations: 4 kB / 0.8336 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.54e-05/0.2431, allocations: 7.984 kB / 0.8336 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.2432, allocations: 21.27 kB / 0.8336 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.2432, allocations: 8 kB / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.2453, allocations: 1.435 MB / 0.835 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.2455, allocations: 149.2 kB / 0.8352 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.2455, allocations: 7.875 kB / 0.8352 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.2469, allocations: 1.08 MB / 0.8362 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2469, allocations: 0 / 0.8362 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/0.247, allocations: 4 kB / 0.8363 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.247, allocations: 0 / 0.8363 GB, free: 7.754 MB / 0.6544 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.0007174/0.2477, allocations: 0.5345 MB / 0.8368 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2477, allocations: 15.97 kB / 0.8368 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.2478, allocations: 0.9375 kB / 0.8368 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.2479, allocations: 160.4 kB / 0.8369 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.248, allocations: 384 / 0.8369 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.248, allocations: 8.125 kB / 0.837 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.2482, allocations: 165.6 kB / 0.8371 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2482, allocations: 3.938 kB / 0.8371 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.2482, allocations: 0 / 0.8371 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2482, allocations: 0 / 0.8371 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.2484, allocations: 287.9 kB / 0.8374 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.2488, allocations: 293.6 kB / 0.8377 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.2489, allocations: 158.5 kB / 0.8378 GB, free: 6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.2491, allocations: 148.8 kB / 0.838 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.2491, allocations: 3.984 kB / 0.838 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2491, allocations: 34.55 kB / 0.838 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2491, allocations: 4 kB / 0.838 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0004651/0.2496, allocations: 453.5 kB / 0.8384 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.2496, allocations: 55.34 kB / 0.8385 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.2498, allocations: 165.8 kB / 0.8386 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.2498, allocations: 25.7 kB / 0.8387 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.2499, allocations: 80.14 kB / 0.8387 GB, free: 5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.2499, allocations: 7.906 kB / 0.8388 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.2499, allocations: 9.969 kB / 0.8388 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2501, allocations: 322.8 kB / 0.8391 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.2502, allocations: 136 kB / 0.8392 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.2503, allocations: 139.9 kB / 0.8393 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.2506, allocations: 288.7 kB / 0.8396 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2506, allocations: 0 / 0.8396 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002614/0.2509, allocations: 317.5 kB / 0.8399 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.2509, allocations: 7.938 kB / 0.8399 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2509, allocations: 4.094 kB / 0.8399 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.2509, allocations: 4 kB / 0.8399 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.251, allocations: 3.984 kB / 0.8399 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.251, allocations: 0 / 0.8399 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.2511, allocations: 0 / 0.8399 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.2511, allocations: 0 / 0.8399 GB, free: 3.762 MB / 0.6544 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.0001232/0.2513, allocations: 173.8 kB / 0.8401 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.2513, allocations: 3.938 kB / 0.8401 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.2516, allocations: 328.7 kB / 0.8404 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2516, allocations: 0 / 0.8404 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2516, allocations: 0 / 0.8404 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2516, allocations: 0 / 0.8404 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.2519, allocations: 293.5 kB / 0.8407 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.2519, allocations: 0 / 0.8407 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.2519, allocations: 0 / 0.8407 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2519, allocations: 0 / 0.8407 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.2519, allocations: 7.938 kB / 0.8407 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2519, allocations: 3.984 kB / 0.8407 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.252, allocations: 0 / 0.8407 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.2522, allocations: 341 kB / 0.841 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.2523, allocations: 81.09 kB / 0.8411 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.2524, allocations: 0 / 0.8411 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.2524, allocations: 0 / 0.8411 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.2525, allocations: 0 / 0.8411 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.2525, allocations: 4 kB / 0.8411 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001611/0.2526, allocations: 147.2 kB / 0.8413 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2526, allocations: 4.125 kB / 0.8413 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009401/0.2536, allocations: 383.8 kB / 0.8416 GB, free: 1.922 MB / 0.6544 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.001515/0.2551, allocations: 0.6819 MB / 0.8423 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.2554, allocations: 291.8 kB / 0.8426 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2554, allocations: 64 / 0.8426 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.2555, allocations: 173.6 kB / 0.8427 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.2558, allocations: 7.938 kB / 0.8427 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.257, allocations: 0.9183 MB / 0.8436 GB, free: 15.89 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.2574, allocations: 0.8222 MB / 0.8444 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.2574, allocations: 4 kB / 0.8444 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.2574, allocations: 19.38 kB / 0.8445 GB, free: 15.02 MB / 0.67 GB Notification: Performance of SimCode: time 2.4e-07/0.2574, allocations: 0 / 0.8445 GB, free: 15.02 MB / 0.67 GB Notification: Performance of Templates: time 0.01448/0.2719, allocations: 8.271 MB / 0.8525 GB, free: 6.797 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)