Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001259/0.001259, allocations: 105 kB / 15.98 MB, free: 6.348 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.001336/0.001337, allocations: 198.6 kB / 16.91 MB, free: 6.188 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.486/1.486, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.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.001385/0.001385, allocations: 63.39 kB / 0.6717 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2451, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002567/0.2478, allocations: 1.321 MB / 0.7848 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005034/0.2528, allocations: 3.357 MB / 0.7881 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.2529, allocations: 0 / 0.7881 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.238e-05/0.253, allocations: 0 / 0.7881 GB, free: 9.184 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.002699/0.2557, allocations: 0.8813 MB / 0.789 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.817e-05/0.2558, allocations: 27.97 kB / 0.789 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.86e-05/0.2559, allocations: 15.92 kB / 0.789 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.2559, allocations: 3.984 kB / 0.789 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.522e-05/0.2559, allocations: 8 kB / 0.789 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.2561, allocations: 66.5 kB / 0.7891 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.2561, allocations: 0 / 0.7891 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.2581, allocations: 1.455 MB / 0.7905 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.2583, allocations: 153.2 kB / 0.7907 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.2583, allocations: 29.27 kB / 0.7907 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.2595, allocations: 0.7724 MB / 0.7914 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2595, allocations: 0 / 0.7914 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2595, allocations: 0 / 0.7914 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2595, allocations: 0 / 0.7914 GB, free: 5.773 MB / 0.6075 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.0008083/0.2603, allocations: 0.5344 MB / 0.792 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2604, allocations: 8.031 kB / 0.792 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.2604, allocations: 4.938 kB / 0.792 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.2606, allocations: 168.3 kB / 0.7921 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.2606, allocations: 4.375 kB / 0.7921 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.2606, allocations: 4.125 kB / 0.7921 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.2608, allocations: 169.6 kB / 0.7923 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2608, allocations: 4 kB / 0.7923 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2609, allocations: 4 kB / 0.7923 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2609, allocations: 3.938 kB / 0.7923 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.2611, allocations: 275.9 kB / 0.7926 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.2614, allocations: 293.6 kB / 0.7929 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.2616, allocations: 154.5 kB / 0.793 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.2617, allocations: 156.7 kB / 0.7932 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.2617, allocations: 0 / 0.7932 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.2618, allocations: 30.56 kB / 0.7932 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2618, allocations: 0 / 0.7932 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0004344/0.2622, allocations: 457.5 kB / 0.7936 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.2623, allocations: 51.41 kB / 0.7937 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.2624, allocations: 173.8 kB / 0.7938 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.2624, allocations: 25.7 kB / 0.7939 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.2625, allocations: 80.14 kB / 0.7939 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.2625, allocations: 0 / 0.7939 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.2625, allocations: 17.72 kB / 0.794 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2627, allocations: 315.1 kB / 0.7943 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.927e-05/0.2628, allocations: 139.9 kB / 0.7944 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.2629, allocations: 140 kB / 0.7945 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.2631, allocations: 292.7 kB / 0.7948 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2631, allocations: 0 / 0.7948 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002429/0.2633, allocations: 313.5 kB / 0.7951 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2634, allocations: 4 kB / 0.7951 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2634, allocations: 4 kB / 0.7951 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2634, allocations: 96 / 0.7951 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.2635, allocations: 4 kB / 0.7951 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2635, allocations: 3.938 kB / 0.7951 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.2636, allocations: 0 / 0.7951 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.2636, allocations: 4 kB / 0.7951 GB, free: 1.781 MB / 0.6075 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.0001149/0.2637, allocations: 170.5 kB / 0.7953 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.2637, allocations: 3.938 kB / 0.7953 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.264, allocations: 320.6 kB / 0.7956 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.264, allocations: 0 / 0.7956 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.264, allocations: 8.016 kB / 0.7956 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2641, allocations: 4 kB / 0.7956 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.2643, allocations: 301.5 kB / 0.7959 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.2643, allocations: 0 / 0.7959 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2643, allocations: 0 / 0.7959 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2643, allocations: 4 kB / 0.7959 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.2643, allocations: 0 / 0.7959 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2643, allocations: 0 / 0.7959 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2644, allocations: 4 kB / 0.7959 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.2646, allocations: 345 kB / 0.7962 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.2647, allocations: 81.02 kB / 0.7963 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.2648, allocations: 3.938 kB / 0.7963 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.2648, allocations: 0 / 0.7963 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.2648, allocations: 0 / 0.7963 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.2649, allocations: 7.938 kB / 0.7963 GB, free: 460 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.504e-05/0.265, allocations: 147.2 kB / 0.7965 GB, free: 312 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.265, allocations: 0 / 0.7965 GB, free: 312 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008864/0.2659, allocations: 392 kB / 0.7968 GB, free: 15.92 MB / 0.6231 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.001586/0.2674, allocations: 0.6845 MB / 0.7975 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.2677, allocations: 283.9 kB / 0.7978 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2678, allocations: 0 / 0.7978 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.2679, allocations: 165.6 kB / 0.7979 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.2681, allocations: 7.938 kB / 0.7979 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.2685, allocations: 335.7 kB / 0.7983 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.2688, allocations: 0.669 MB / 0.7989 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.2689, allocations: 11.44 kB / 0.7989 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.2689, allocations: 0 / 0.7989 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of Templates: time 0.01569/0.2846, allocations: 8.858 MB / 0.8076 GB, free: 4.938 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)