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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009868/0.0009869, allocations: 176.9 kB / 325.8 MB, free: 2.672 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.698/1.698, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006908/0.0006909, allocations: 87.98 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003104, allocations: 12.12 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2196, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001278/0.2209, allocations: 0.9939 MB / 0.8972 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00418/0.2251, allocations: 3.545 MB / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.793e-05/0.2252, allocations: 0 / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.475e-05/0.2252, allocations: 7.984 kB / 0.9007 GB, free: 63.45 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.001886/0.2271, allocations: 0.7741 MB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.313e-05/0.2272, allocations: 23.92 kB / 0.9015 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.373e-05/0.2273, allocations: 31.95 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.2273, allocations: 7.984 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.081e-05/0.2273, allocations: 4 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.811e-05/0.2274, allocations: 62.56 kB / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.2274, allocations: 0 / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.229, allocations: 1.447 MB / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.2292, allocations: 246.1 kB / 0.9032 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.2295, allocations: 278.8 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.231, allocations: 1.563 MB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.231, allocations: 0 / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.806e-06/0.231, allocations: 0 / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.231, allocations: 3.938 kB / 0.905 GB, free: 59.02 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.001409/0.2324, allocations: 1.125 MB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.2325, allocations: 15.97 kB / 0.9061 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.2325, allocations: 34.75 kB / 0.9062 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.2327, allocations: 40.38 kB / 0.9062 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.2333, allocations: 0.6208 MB / 0.9068 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.2333, allocations: 384 / 0.9068 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.2333, allocations: 3.938 kB / 0.9068 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.2335, allocations: 169.6 kB / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-06/0.2335, allocations: 0 / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.2335, allocations: 0 / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2335, allocations: 0 / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.2336, allocations: 287.9 kB / 0.9072 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.2341, allocations: 0.5287 MB / 0.9078 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.574e-05/0.2342, allocations: 162.4 kB / 0.9079 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.146e-05/0.2343, allocations: 148.9 kB / 0.9081 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.513e-06/0.2343, allocations: 0 / 0.9081 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.2343, allocations: 38.55 kB / 0.9081 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.2343, allocations: 0 / 0.9081 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0004404/0.2347, allocations: 496.9 kB / 0.9086 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.2348, allocations: 51.41 kB / 0.9086 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006671/0.2354, allocations: 0.6903 MB / 0.9093 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.2355, allocations: 29.7 kB / 0.9093 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2356, allocations: 228.1 kB / 0.9095 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.2356, allocations: 3.906 kB / 0.9095 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.2356, allocations: 9.719 kB / 0.9095 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.2357, allocations: 366.9 kB / 0.9099 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.2358, allocations: 144 kB / 0.91 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.2359, allocations: 139.9 kB / 0.9102 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.236, allocations: 292.7 kB / 0.9104 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.236, allocations: 0 / 0.9104 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000307/0.2363, allocations: 360.9 kB / 0.9108 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2364, allocations: 4 kB / 0.9108 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2364, allocations: 4 kB / 0.9108 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2364, allocations: 3.984 kB / 0.9108 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.883e-05/0.2365, allocations: 4.094 kB / 0.9108 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2365, allocations: 0 / 0.9108 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.2367, allocations: 32 kB / 0.9108 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2367, allocations: 0 / 0.9108 GB, free: 52.81 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.2368, allocations: 205.7 kB / 0.911 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.237, allocations: 43.44 kB / 0.9111 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.2372, allocations: 376.9 kB / 0.9114 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2372, allocations: 0 / 0.9114 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2372, allocations: 7.969 kB / 0.9114 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2372, allocations: 8 kB / 0.9114 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.2375, allocations: 441.4 kB / 0.9119 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.2375, allocations: 7.938 kB / 0.9119 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2375, allocations: 0 / 0.9119 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2375, allocations: 0 / 0.9119 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.2375, allocations: 0 / 0.9119 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2375, allocations: 0 / 0.9119 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2375, allocations: 0 / 0.9119 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.2379, allocations: 388.4 kB / 0.9122 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.2382, allocations: 328.3 kB / 0.9126 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.2383, allocations: 0 / 0.9126 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.2385, allocations: 28 kB / 0.9126 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.2386, allocations: 4 kB / 0.9126 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.2386, allocations: 3.984 kB / 0.9126 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005362/0.2391, allocations: 0.53 MB / 0.9131 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2391, allocations: 0 / 0.9131 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008709/0.24, allocations: 371.9 kB / 0.9135 GB, free: 50.01 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 (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.001902/0.2419, allocations: 1.506 MB / 0.9149 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.2421, allocations: 283.9 kB / 0.9152 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2422, allocations: 4.062 kB / 0.9152 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.2423, allocations: 173.6 kB / 0.9154 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.2426, allocations: 38.25 kB / 0.9154 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00694/0.2495, allocations: 7.347 MB / 0.9226 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.2498, allocations: 0.8275 MB / 0.9234 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001149/0.2509, allocations: 437.9 kB / 0.9238 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/0.2515, allocations: 369.8 kB / 0.9242 GB, free: 39 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.2515, allocations: 0 / 0.9242 GB, free: 39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.2815, allocations: 20.71 MB / 0.9444 GB, free: 18.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.2817, allocations: 336.9 kB / 0.9447 GB, free: 18.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/2.718, allocations: 0 / 0.9447 GB, free: 18.1 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)