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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007803/0.0007803, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009783/0.0009783, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.765/1.765, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005168/0.000517, allocations: 16.34 kB / 0.6739 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2438, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001346/0.2452, allocations: 0.9926 MB / 0.7884 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004364/0.2495, allocations: 3.103 MB / 0.7914 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/0.2496, allocations: 0 / 0.7914 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.863e-05/0.2496, allocations: 0 / 0.7914 GB, free: 7.703 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.00197/0.2516, allocations: 0.7607 MB / 0.7922 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.579e-05/0.2517, allocations: 23.92 kB / 0.7922 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.03e-05/0.2518, allocations: 19.97 kB / 0.7922 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.2518, allocations: 0 / 0.7922 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.2518, allocations: 15.92 kB / 0.7922 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.252, allocations: 67.89 kB / 0.7923 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.252, allocations: 4 kB / 0.7923 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.2538, allocations: 1.318 MB / 0.7936 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.254, allocations: 267.5 kB / 0.7938 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.586e-05/0.2541, allocations: 77.45 kB / 0.7939 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.2553, allocations: 1.127 MB / 0.795 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2553, allocations: 0 / 0.795 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2553, allocations: 4 kB / 0.795 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2554, allocations: 0 / 0.795 GB, free: 4.012 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.001623/0.257, allocations: 1.133 MB / 0.7961 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.257, allocations: 8.031 kB / 0.7961 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.2571, allocations: 30.56 kB / 0.7962 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.2572, allocations: 51.3 kB / 0.7962 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007181/0.2579, allocations: 0.5966 MB / 0.7968 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.2579, allocations: 3.938 kB / 0.7968 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.2579, allocations: 3.984 kB / 0.7968 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.2582, allocations: 169.6 kB / 0.797 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2582, allocations: 0 / 0.797 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.2582, allocations: 4 kB / 0.797 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2582, allocations: 0 / 0.797 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.2584, allocations: 283.9 kB / 0.7972 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.259, allocations: 0.5287 MB / 0.7978 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.2592, allocations: 166.4 kB / 0.7979 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.2593, allocations: 148.9 kB / 0.7981 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.2593, allocations: 0 / 0.7981 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.2593, allocations: 38.56 kB / 0.7981 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.2593, allocations: 3.938 kB / 0.7981 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0005362/0.2599, allocations: 493 kB / 0.7986 GB, free: 196 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.2599, allocations: 51.41 kB / 0.7986 GB, free: 132 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009195/0.2609, allocations: 0.6942 MB / 0.7993 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.2609, allocations: 25.7 kB / 0.7993 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.2611, allocations: 224.1 kB / 0.7995 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.2611, allocations: 4 kB / 0.7995 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.2611, allocations: 4.125 kB / 0.7995 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2613, allocations: 374.7 kB / 0.7999 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.2614, allocations: 136 kB / 0.8 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.2615, allocations: 139.9 kB / 0.8002 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.2617, allocations: 143.9 kB / 0.8003 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.2617, allocations: 0 / 0.8003 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003743/0.2621, allocations: 357 kB / 0.8006 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2621, allocations: 4 kB / 0.8006 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2621, allocations: 4.094 kB / 0.8007 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2621, allocations: 4 kB / 0.8007 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.2622, allocations: 4 kB / 0.8007 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2622, allocations: 0 / 0.8007 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.2624, allocations: 32 kB / 0.8007 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.2624, allocations: 0 / 0.8007 GB, free: 13.98 MB / 0.6231 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 0.0002078/0.2626, allocations: 209.7 kB / 0.8009 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.687e-05/0.2627, allocations: 43.44 kB / 0.8009 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.2631, allocations: 376.8 kB / 0.8013 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2631, allocations: 8.016 kB / 0.8013 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2631, allocations: 0 / 0.8013 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2632, allocations: 4 kB / 0.8013 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.2636, allocations: 437.5 kB / 0.8017 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.2636, allocations: 4 kB / 0.8017 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.2636, allocations: 0 / 0.8017 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2636, allocations: 0 / 0.8017 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2636, allocations: 0 / 0.8017 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2636, allocations: 3.938 kB / 0.8017 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2636, allocations: 0 / 0.8017 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.264, allocations: 392.3 kB / 0.8021 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.2644, allocations: 328.3 kB / 0.8024 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.2645, allocations: 3.984 kB / 0.8024 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.2647, allocations: 28 kB / 0.8024 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.2647, allocations: 4 kB / 0.8024 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.2647, allocations: 0 / 0.8024 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007198/0.2655, allocations: 0.5299 MB / 0.803 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2655, allocations: 4.031 kB / 0.803 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009606/0.2664, allocations: 379.8 kB / 0.8033 GB, free: 11.16 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 (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.00212/0.2686, allocations: 1.5 MB / 0.8048 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.2689, allocations: 287.8 kB / 0.8051 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2689, allocations: 4 kB / 0.8051 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.269, allocations: 165.6 kB / 0.8052 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.2693, allocations: 34.31 kB / 0.8053 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005193/0.2745, allocations: 4.059 MB / 0.8092 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.2749, allocations: 0.8197 MB / 0.81 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001273/0.2761, allocations: 439.2 kB / 0.8104 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006219/0.2768, allocations: 363.2 kB / 0.8108 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.2768, allocations: 4 kB / 0.8108 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.3133, allocations: 20.51 MB / 0.8308 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002812/0.3136, allocations: 308.6 kB / 0.8311 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/2.561, allocations: 3.938 kB / 0.8311 GB, free: 14.88 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) Environment - environmentSimulation: