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.001083/0.001083, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001149/0.001149, allocations: 197 kB / 16.14 MB, free: 6.652 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.355/1.355, allocations: 205.1 MB / 222 MB, free: 4.77 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.662/1.662, allocations: 292.3 MB / 0.5484 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.001274/0.001274, allocations: 71.23 kB / 0.6708 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2157, allocations: 114.5 MB / 0.7827 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002333/0.218, allocations: 1.325 MB / 0.784 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004837/0.2229, allocations: 3.56 MB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.008e-05/0.2229, allocations: 0 / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.084e-05/0.223, allocations: 0 / 0.7875 GB, free: 9.051 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.001917/0.2249, allocations: 0.7683 MB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.161e-05/0.225, allocations: 23.97 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.815e-05/0.2251, allocations: 31.91 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.2251, allocations: 0 / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.178e-05/0.2251, allocations: 4 kB / 0.7883 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.695e-05/0.2252, allocations: 78.48 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.2253, allocations: 4 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.2271, allocations: 1.443 MB / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.2272, allocations: 153.2 kB / 0.7899 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.2273, allocations: 21.3 kB / 0.7899 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.2286, allocations: 1.112 MB / 0.791 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2287, allocations: 0 / 0.791 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2287, allocations: 0 / 0.791 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.2287, allocations: 0 / 0.791 GB, free: 5.414 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.000628/0.2293, allocations: 0.5423 MB / 0.7916 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2294, allocations: 12.03 kB / 0.7916 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.2294, allocations: 0.9375 kB / 0.7916 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.2295, allocations: 168.3 kB / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.2295, allocations: 384 / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.2296, allocations: 8.125 kB / 0.7917 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.2297, allocations: 169.6 kB / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.2298, allocations: 0 / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.2298, allocations: 0 / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.2298, allocations: 0 / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.23, allocations: 279.9 kB / 0.7922 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.2302, allocations: 289.6 kB / 0.7924 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.2304, allocations: 158.5 kB / 0.7926 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.2305, allocations: 152.8 kB / 0.7927 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.2305, allocations: 4 kB / 0.7927 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2305, allocations: 34.5 kB / 0.7928 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.2305, allocations: 0 / 0.7928 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000387/0.2309, allocations: 457.4 kB / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.231, allocations: 55.41 kB / 0.7933 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.2311, allocations: 166 kB / 0.7934 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2311, allocations: 33.73 kB / 0.7935 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.2311, allocations: 80.14 kB / 0.7935 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.2312, allocations: 4 kB / 0.7935 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.2312, allocations: 9.719 kB / 0.7935 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2313, allocations: 314.8 kB / 0.7938 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-05/0.2314, allocations: 139.9 kB / 0.794 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.963e-05/0.2315, allocations: 139.9 kB / 0.7941 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.2317, allocations: 288.8 kB / 0.7944 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2317, allocations: 0 / 0.7944 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002453/0.232, allocations: 333.4 kB / 0.7947 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.232, allocations: 4 kB / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.232, allocations: 0 / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.232, allocations: 0 / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.2321, allocations: 7.938 kB / 0.7947 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2321, allocations: 0 / 0.7947 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.001e-05/0.2322, allocations: 3.984 kB / 0.7947 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2322, allocations: 0 / 0.7947 GB, free: 1.406 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.0001016/0.2323, allocations: 174.5 kB / 0.7949 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.2323, allocations: 3.938 kB / 0.7949 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.2326, allocations: 320.7 kB / 0.7952 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2326, allocations: 0 / 0.7952 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2326, allocations: 0 / 0.7952 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.2326, allocations: 0 / 0.7952 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.2328, allocations: 289.6 kB / 0.7955 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2328, allocations: 0 / 0.7955 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.2329, allocations: 0 / 0.7955 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2329, allocations: 4.031 kB / 0.7955 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.2329, allocations: 0 / 0.7955 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2329, allocations: 0 / 0.7955 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2329, allocations: 7.938 kB / 0.7955 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.2331, allocations: 337 kB / 0.7958 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.2332, allocations: 81.11 kB / 0.7959 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.2332, allocations: 3.984 kB / 0.7959 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.2333, allocations: 4.031 kB / 0.7959 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.2333, allocations: 0 / 0.7959 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.2333, allocations: 0 / 0.7959 GB, free: 104 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.886e-05/0.2334, allocations: 151.2 kB / 0.796 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2334, allocations: 3.938 kB / 0.796 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007775/0.2342, allocations: 383.8 kB / 0.7964 GB, free: 15.57 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.001624/0.2358, allocations: 0.688 MB / 0.7971 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.2361, allocations: 287.8 kB / 0.7973 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2361, allocations: 0 / 0.7973 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.2362, allocations: 169.6 kB / 0.7975 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.2365, allocations: 3.938 kB / 0.7975 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.2375, allocations: 1.004 MB / 0.7985 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.2379, allocations: 0.8185 MB / 0.7993 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.007e-05/0.2379, allocations: 4 kB / 0.7993 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.2379, allocations: 11.44 kB / 0.7993 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2379, allocations: 0 / 0.7993 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of Templates: time 0.01261/0.2506, allocations: 8.174 MB / 0.8073 GB, free: 4.477 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)