Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_IBPSA_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.00119/0.00119, allocations: 103.7 kB / 16.27 MB, free: 5.949 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.00126/0.001261, allocations: 190 kB / 17.19 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.717/0.717, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 71.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3071, allocations: 77.91 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002099/0.3092, allocations: 1.242 MB / 0.5685 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005633/0.3149, allocations: 4.475 MB / 0.5729 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.3149, allocations: 1.031 kB / 0.5729 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.493e-05/0.315, allocations: 4.641 kB / 0.5729 GB, free: 28.79 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.003919/0.3189, allocations: 1.506 MB / 0.5744 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.666e-05/0.319, allocations: 39.19 kB / 0.5744 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.72e-05/0.3191, allocations: 13.06 kB / 0.5744 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.3191, allocations: 3.547 kB / 0.5744 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.963e-05/0.3191, allocations: 8.469 kB / 0.5744 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.3192, allocations: 24.09 kB / 0.5745 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.3192, allocations: 1.375 kB / 0.5745 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.3224, allocations: 2.203 MB / 0.5766 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.3226, allocations: 243.9 kB / 0.5768 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.3229, allocations: 240.8 kB / 0.5771 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.3254, allocations: 2.206 MB / 0.5792 GB, free: 26.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3254, allocations: 0.9062 kB / 0.5792 GB, free: 26.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3254, allocations: 1.344 kB / 0.5792 GB, free: 26.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.3254, allocations: 3.984 kB / 0.5792 GB, free: 26.34 MB / 446.1 MB 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.001811/0.3272, allocations: 1.486 MB / 0.5807 GB, free: 25.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3273, allocations: 9.719 kB / 0.5807 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.377e-05/0.3273, allocations: 31.94 kB / 0.5807 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.3275, allocations: 49.23 kB / 0.5808 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006412/0.3282, allocations: 0.6285 MB / 0.5814 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.3282, allocations: 4.312 kB / 0.5814 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.3282, allocations: 6.812 kB / 0.5814 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3283, allocations: 172.5 kB / 0.5816 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.3283, allocations: 0 / 0.5816 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.3284, allocations: 0.5938 kB / 0.5816 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3284, allocations: 0 / 0.5816 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.3285, allocations: 279.3 kB / 0.5818 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.3291, allocations: 0.5364 MB / 0.5824 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3292, allocations: 166.3 kB / 0.5825 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3293, allocations: 147 kB / 0.5827 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.473e-06/0.3293, allocations: 0.625 kB / 0.5827 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.3293, allocations: 36.7 kB / 0.5827 GB, free: 24.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.3293, allocations: 0 / 0.5827 GB, free: 24.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0005421/0.3299, allocations: 491.8 kB / 0.5832 GB, free: 24.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.3299, allocations: 52.53 kB / 0.5832 GB, free: 24.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008376/0.3308, allocations: 0.6971 MB / 0.5839 GB, free: 23.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.3308, allocations: 28.14 kB / 0.5839 GB, free: 23.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3309, allocations: 223.4 kB / 0.5841 GB, free: 23.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.3309, allocations: 5.719 kB / 0.5841 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.3309, allocations: 16.42 kB / 0.5841 GB, free: 23.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.587e-05/0.331, allocations: 361.7 kB / 0.5845 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3311, allocations: 145.3 kB / 0.5846 GB, free: 23.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-05/0.3312, allocations: 147.1 kB / 0.5848 GB, free: 23.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.3314, allocations: 285.1 kB / 0.585 GB, free: 23.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3314, allocations: 0.8125 kB / 0.585 GB, free: 23.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003888/0.3318, allocations: 358.5 kB / 0.5854 GB, free: 23.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3318, allocations: 5.281 kB / 0.5854 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3319, allocations: 1.375 kB / 0.5854 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3319, allocations: 0 / 0.5854 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.44e-05/0.3319, allocations: 3 kB / 0.5854 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3319, allocations: 0 / 0.5854 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.3321, allocations: 29.59 kB / 0.5854 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.3322, allocations: 5.422 kB / 0.5854 GB, free: 23.09 MB / 446.1 MB 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.0001436/0.3323, allocations: 217.9 kB / 0.5856 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.3325, allocations: 42.81 kB / 0.5857 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.3328, allocations: 379 kB / 0.586 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3328, allocations: 3.938 kB / 0.586 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3328, allocations: 1 kB / 0.586 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3328, allocations: 0 / 0.586 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.3332, allocations: 441.1 kB / 0.5865 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.3332, allocations: 0 / 0.5865 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.3332, allocations: 1.594 kB / 0.5865 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3332, allocations: 4.547 kB / 0.5865 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.3332, allocations: 2.656 kB / 0.5865 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3332, allocations: 0 / 0.5865 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3333, allocations: 0.9062 kB / 0.5865 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.3337, allocations: 389.6 kB / 0.5868 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/0.334, allocations: 338.5 kB / 0.5872 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.3342, allocations: 3.984 kB / 0.5872 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.3344, allocations: 28 kB / 0.5872 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.3344, allocations: 4 kB / 0.5872 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.3344, allocations: 0.7812 kB / 0.5872 GB, free: 22.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005699/0.335, allocations: 0.53 MB / 0.5877 GB, free: 21.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.335, allocations: 1.719 kB / 0.5877 GB, free: 21.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001313/0.3363, allocations: 0.57 MB / 0.5883 GB, free: 21.02 MB / 446.1 MB 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.002255/0.3385, allocations: 1.744 MB / 0.59 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.3387, allocations: 283.8 kB / 0.5903 GB, free: 19.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3387, allocations: 2.812 kB / 0.5903 GB, free: 19.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.3388, allocations: 169.6 kB / 0.5904 GB, free: 18.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.3392, allocations: 36.39 kB / 0.5905 GB, free: 18.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006687/0.3459, allocations: 7.421 MB / 0.5977 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.3461, allocations: 0.8236 MB / 0.5985 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001133/0.3473, allocations: 448.8 kB / 0.5989 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/0.3478, allocations: 376.8 kB / 0.5993 GB, free: 9.812 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3478, allocations: 0 / 0.5993 GB, free: 9.812 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05575/0.4036, allocations: 25.58 MB / 0.6243 GB, free: 428 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.356, allocations: 13.94 kB / 0.6243 GB, free: 420 kB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)