Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007497/0.0007497, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007615/0.0007615, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.83/0.83, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001375/0.001375, allocations: 236.7 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6403/0.6403, allocations: 138.4 MB / 454.3 MB, free: 29.95 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.6463 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.816e-06/1.022e-05, allocations: 5.234 kB / 0.6463 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001368/0.001378, allocations: 1.275 MB / 0.6476 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2084/0.2097, allocations: 4.134 MB / 0.6516 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.2098, allocations: 0.5938 kB / 0.6516 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 5.433e-05/0.2098, allocations: 5.5 kB / 0.6516 GB, free: 54.79 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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/BuildingSystems 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.002454/0.2123, allocations: 1.591 MB / 0.6532 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 4.758e-05/0.2123, allocations: 40.25 kB / 0.6532 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.871e-05/0.2124, allocations: 10.98 kB / 0.6532 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.2124, allocations: 0 / 0.6532 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.2124, allocations: 6.156 kB / 0.6532 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.097e-05/0.2125, allocations: 30.52 kB / 0.6533 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.2125, allocations: 0 / 0.6533 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.2147, allocations: 2.428 MB / 0.6556 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.2149, allocations: 248.2 kB / 0.6559 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.215, allocations: 187.1 kB / 0.6561 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.217, allocations: 2.539 MB / 0.6585 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.217, allocations: 2.438 kB / 0.6585 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.403e-06/0.217, allocations: 3.375 kB / 0.6585 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.217, allocations: 0 / 0.6585 GB, free: 52.72 MB / 0.5573 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.001398/0.2184, allocations: 1.56 MB / 0.6601 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2184, allocations: 11.56 kB / 0.6601 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.019e-05/0.2185, allocations: 34.36 kB / 0.6601 GB, free: 51.91 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.2186, allocations: 57.17 kB / 0.6602 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.2191, allocations: 0.6258 MB / 0.6608 GB, free: 51.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2191, allocations: 384 / 0.6608 GB, free: 51.6 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.2191, allocations: 2.031 kB / 0.6608 GB, free: 51.6 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.2192, allocations: 175.6 kB / 0.6609 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.2192, allocations: 0 / 0.6609 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.2192, allocations: 0.5625 kB / 0.6609 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-06/0.2192, allocations: 0.6562 kB / 0.6609 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.2194, allocations: 281 kB / 0.6612 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.2198, allocations: 0.5478 MB / 0.6617 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.2199, allocations: 156.7 kB / 0.6619 GB, free: 51.34 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.2199, allocations: 149.2 kB / 0.662 GB, free: 51.33 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.2199, allocations: 1.938 kB / 0.662 GB, free: 51.33 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.22, allocations: 38.08 kB / 0.6621 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.22, allocations: 0.6562 kB / 0.6621 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.000421/0.2204, allocations: 0.4993 MB / 0.6626 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.2204, allocations: 51.41 kB / 0.6626 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005804/0.221, allocations: 0.7437 MB / 0.6633 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-06/0.221, allocations: 25.7 kB / 0.6634 GB, free: 50.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.2211, allocations: 229.6 kB / 0.6636 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.2211, allocations: 0 / 0.6636 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.2211, allocations: 17.94 kB / 0.6636 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.203e-05/0.2211, allocations: 366.8 kB / 0.664 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.2212, allocations: 139.2 kB / 0.6641 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.2213, allocations: 143.7 kB / 0.6642 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2214, allocations: 290.7 kB / 0.6645 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2214, allocations: 1 kB / 0.6645 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002742/0.2217, allocations: 371.3 kB / 0.6649 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2217, allocations: 12.97 kB / 0.6649 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2217, allocations: 0 / 0.6649 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2217, allocations: 0 / 0.6649 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.2218, allocations: 3.188 kB / 0.6649 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2218, allocations: 0 / 0.6649 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.2219, allocations: 52.92 kB / 0.6649 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.2219, allocations: 0 / 0.6649 GB, free: 50.32 MB / 0.5573 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 9.17e-05/0.222, allocations: 205.7 kB / 0.6651 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.2221, allocations: 60.64 kB / 0.6652 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.2223, allocations: 379.6 kB / 0.6655 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2223, allocations: 0 / 0.6655 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2223, allocations: 6.391 kB / 0.6655 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.2223, allocations: 0 / 0.6655 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.2225, allocations: 416.4 kB / 0.6659 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2225, allocations: 7.5 kB / 0.6659 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.2225, allocations: 0 / 0.6659 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2225, allocations: 3.938 kB / 0.666 GB, free: 49.92 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.2226, allocations: 0 / 0.666 GB, free: 49.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2226, allocations: 3.641 kB / 0.666 GB, free: 49.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2226, allocations: 0 / 0.666 GB, free: 49.92 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.2228, allocations: 395.3 kB / 0.6663 GB, free: 49.83 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.223, allocations: 268.3 kB / 0.6666 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.959e-05/0.2231, allocations: 14.78 kB / 0.6666 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.2232, allocations: 50.16 kB / 0.6666 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.2232, allocations: 0 / 0.6666 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.2232, allocations: 0 / 0.6666 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003828/0.2236, allocations: 0.5748 MB / 0.6672 GB, free: 49.59 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2236, allocations: 0 / 0.6672 GB, free: 49.59 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007756/0.2244, allocations: 0.5919 MB / 0.6678 GB, free: 49.46 MB / 0.5573 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.001676/0.226, allocations: 1.857 MB / 0.6696 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.2263, allocations: 282.4 kB / 0.6699 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2263, allocations: 0 / 0.6699 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.2264, allocations: 168.5 kB / 0.67 GB, free: 48.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.2266, allocations: 52.06 kB / 0.6701 GB, free: 48.58 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006257/0.2329, allocations: 7.566 MB / 0.6775 GB, free: 46.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.233, allocations: 213.8 kB / 0.6777 GB, free: 46.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005991/0.2336, allocations: 447.9 kB / 0.6781 GB, free: 46.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/0.2341, allocations: 428.8 kB / 0.6785 GB, free: 45.97 MB / 0.5573 GB Notification: Performance of SimCode: time 6.91e-07/0.2341, allocations: 1.125 kB / 0.6785 GB, free: 45.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.2685, allocations: 27.34 MB / 0.7052 GB, free: 31.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.166, allocations: 2.031 kB / 0.7052 GB, free: 31.16 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.528446544893086] Failed to read output from testmodel.py, exit status != 0: 7.270135936327279 7.277090004 7.058537552 Calling exit ...