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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.592/1.592, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 175.1 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 0.5783 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007838/0.0007838, allocations: 86.34 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003248, allocations: 11.59 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2374, allocations: 106.3 MB / 0.9009 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001382/0.2388, allocations: 0.979 MB / 0.9018 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004079/0.2429, allocations: 3.124 MB / 0.9049 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.243, allocations: 0 / 0.9049 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.65e-05/0.243, allocations: 4 kB / 0.9049 GB, free: 60.12 MB / 0.6042 GB [/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 ‘Modelica.Utilities.Files.createDirectory‘. Notification: Performance of NFTyping.typeBindings: time 0.002067/0.2451, allocations: 0.7451 MB / 0.9056 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.808e-05/0.2452, allocations: 31.89 kB / 0.9056 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.599e-05/0.2452, allocations: 19.98 kB / 0.9057 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.2453, allocations: 3.984 kB / 0.9057 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.461e-05/0.2453, allocations: 4 kB / 0.9057 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.014e-05/0.2454, allocations: 71.89 kB / 0.9057 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.2454, allocations: 0 / 0.9057 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.247, allocations: 1.314 MB / 0.907 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2471, allocations: 163.9 kB / 0.9072 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.2471, allocations: 25.7 kB / 0.9072 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007835/0.2479, allocations: 0.749 MB / 0.9079 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2479, allocations: 7.938 kB / 0.9079 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2479, allocations: 0 / 0.9079 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.248, allocations: 0 / 0.9079 GB, free: 56.98 MB / 0.6042 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.0005497/0.2485, allocations: 0.5381 MB / 0.9085 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2486, allocations: 8.031 kB / 0.9085 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.2486, allocations: 7.953 kB / 0.9085 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.712e-05/0.2487, allocations: 167.1 kB / 0.9086 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2487, allocations: 0 / 0.9086 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.2487, allocations: 0 / 0.9086 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.2489, allocations: 169.6 kB / 0.9088 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2489, allocations: 0 / 0.9088 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2489, allocations: 0 / 0.9088 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2489, allocations: 3.938 kB / 0.9088 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.2491, allocations: 283.8 kB / 0.9091 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.2493, allocations: 301.6 kB / 0.9094 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.2494, allocations: 158.5 kB / 0.9095 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.175e-05/0.2495, allocations: 144.9 kB / 0.9096 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.2495, allocations: 0 / 0.9096 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.2496, allocations: 30.56 kB / 0.9097 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2496, allocations: 0 / 0.9097 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003382/0.2499, allocations: 465.5 kB / 0.9101 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.25, allocations: 51.41 kB / 0.9102 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.25, allocations: 165.8 kB / 0.9103 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.2501, allocations: 25.7 kB / 0.9104 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.701e-05/0.2501, allocations: 80.14 kB / 0.9104 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.2501, allocations: 7.938 kB / 0.9104 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.2501, allocations: 0 / 0.9104 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.659e-05/0.2502, allocations: 318.8 kB / 0.9107 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.164e-05/0.2503, allocations: 144.1 kB / 0.9109 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.2503, allocations: 139.9 kB / 0.911 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.658e-05/0.2504, allocations: 140 kB / 0.9111 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2504, allocations: 0 / 0.9111 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001721/0.2506, allocations: 309.6 kB / 0.9114 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2506, allocations: 10.97 kB / 0.9115 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2507, allocations: 0 / 0.9115 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2507, allocations: 3.938 kB / 0.9115 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.2508, allocations: 3.984 kB / 0.9115 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2508, allocations: 8.031 kB / 0.9115 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.2509, allocations: 4 kB / 0.9115 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-06/0.2509, allocations: 0 / 0.9115 GB, free: 53.14 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/0.251, allocations: 173.8 kB / 0.9116 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-06/0.251, allocations: 3.906 kB / 0.9116 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.2512, allocations: 316.7 kB / 0.9119 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2512, allocations: 4 kB / 0.9119 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2512, allocations: 0 / 0.9119 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2512, allocations: 32 / 0.9119 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.2514, allocations: 293.6 kB / 0.9122 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2514, allocations: 0 / 0.9122 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.2514, allocations: 4 kB / 0.9122 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2514, allocations: 0 / 0.9122 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.2514, allocations: 0 / 0.9122 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2514, allocations: 3.938 kB / 0.9122 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2514, allocations: 0 / 0.9122 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.2516, allocations: 341 kB / 0.9126 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.2517, allocations: 89.03 kB / 0.9126 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.2517, allocations: 0 / 0.9126 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.2518, allocations: 4 kB / 0.9126 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.2518, allocations: 0 / 0.9126 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.2519, allocations: 4 kB / 0.9127 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.132e-05/0.2519, allocations: 151.2 kB / 0.9128 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2519, allocations: 0 / 0.9128 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006978/0.2526, allocations: 379.8 kB / 0.9132 GB, free: 51.31 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001429/0.2541, allocations: 0.6855 MB / 0.9138 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.2543, allocations: 287.8 kB / 0.9141 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2543, allocations: 0 / 0.9141 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.696e-05/0.2544, allocations: 165.7 kB / 0.9143 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.2546, allocations: 3.953 kB / 0.9143 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.255, allocations: 332.1 kB / 0.9146 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.2551, allocations: 0.6729 MB / 0.9152 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.2551, allocations: 11.44 kB / 0.9152 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2551, allocations: 0 / 0.9152 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.01219/0.2673, allocations: 8.824 MB / 0.9239 GB, free: 40.36 MB / 0.6042 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)