Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.125 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9672/0.9672, allocations: 175.7 MB / 480.1 MB, free: 2.727 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 63.34 kB / 0.6678 GB, free: 10.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1503, allocations: 94.53 MB / 0.7601 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002085/0.1523, allocations: 1.257 MB / 0.7613 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006296/0.1586, allocations: 4.571 MB / 0.7658 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.1587, allocations: 0 / 0.7658 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.1587, allocations: 0 / 0.7658 GB, free: 10.94 MB / 0.5762 GB [/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/IDEAS 3.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.003259/0.162, allocations: 1.516 MB / 0.7673 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 7.858e-05/0.162, allocations: 39.89 kB / 0.7673 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.854e-05/0.1621, allocations: 11.98 kB / 0.7673 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.4e-05/0.1621, allocations: 0 / 0.7673 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.066e-05/0.1621, allocations: 7.938 kB / 0.7673 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.1622, allocations: 25.27 kB / 0.7674 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.1622, allocations: 0 / 0.7674 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.1654, allocations: 2.387 MB / 0.7697 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.1656, allocations: 246.1 kB / 0.7699 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.1659, allocations: 242.9 kB / 0.7702 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.1684, allocations: 2.208 MB / 0.7723 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1684, allocations: 0 / 0.7723 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1684, allocations: 4 kB / 0.7723 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.1684, allocations: 4 kB / 0.7723 GB, free: 4.246 MB / 0.5762 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.002085/0.1705, allocations: 1.532 MB / 0.7738 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1705, allocations: 8.031 kB / 0.7738 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.1706, allocations: 30.75 kB / 0.7739 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.1708, allocations: 44.66 kB / 0.7739 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/0.1715, allocations: 0.6442 MB / 0.7745 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.852e-06/0.1715, allocations: 0 / 0.7745 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.1715, allocations: 4 kB / 0.7745 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.1717, allocations: 169.6 kB / 0.7747 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1717, allocations: 7.938 kB / 0.7747 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.1717, allocations: 0 / 0.7747 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1717, allocations: 0 / 0.7747 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.1719, allocations: 287.8 kB / 0.775 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.1725, allocations: 0.5365 MB / 0.7755 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.1726, allocations: 154.5 kB / 0.7757 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1728, allocations: 152.9 kB / 0.7758 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.1728, allocations: 4 kB / 0.7758 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1728, allocations: 30.56 kB / 0.7758 GB, free: 488 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1728, allocations: 0 / 0.7758 GB, free: 488 kB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0005765/0.1734, allocations: 497.2 kB / 0.7763 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.1734, allocations: 51.41 kB / 0.7764 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009217/0.1743, allocations: 0.6981 MB / 0.777 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1743, allocations: 25.7 kB / 0.7771 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.1745, allocations: 224.2 kB / 0.7773 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.1745, allocations: 11.95 kB / 0.7773 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.1745, allocations: 9.719 kB / 0.7773 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1747, allocations: 370.7 kB / 0.7776 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1748, allocations: 140 kB / 0.7778 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1749, allocations: 143.9 kB / 0.7779 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.1751, allocations: 288.8 kB / 0.7782 GB, free: 14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1751, allocations: 0 / 0.7782 GB, free: 14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004084/0.1755, allocations: 361.3 kB / 0.7785 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1755, allocations: 4 kB / 0.7785 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1756, allocations: 4 kB / 0.7785 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1756, allocations: 0 / 0.7785 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.1756, allocations: 3.984 kB / 0.7786 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1756, allocations: 0 / 0.7786 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.1758, allocations: 28 kB / 0.7786 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1758, allocations: 4 kB / 0.7786 GB, free: 13.59 MB / 0.5919 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.0001666/0.176, allocations: 205.7 kB / 0.7788 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.1762, allocations: 51.7 kB / 0.7788 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.1765, allocations: 376.9 kB / 0.7792 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1765, allocations: 0 / 0.7792 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.1765, allocations: 0 / 0.7792 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1765, allocations: 4 kB / 0.7792 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.1769, allocations: 445.4 kB / 0.7796 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1769, allocations: 4 kB / 0.7796 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1769, allocations: 0 / 0.7796 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.1769, allocations: 0 / 0.7796 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.1769, allocations: 0 / 0.7796 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1769, allocations: 7.969 kB / 0.7796 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1769, allocations: 0 / 0.7796 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.1774, allocations: 388.6 kB / 0.78 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/0.1777, allocations: 340.6 kB / 0.7803 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.1778, allocations: 0 / 0.7803 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.178, allocations: 28 kB / 0.7803 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.1781, allocations: 7.938 kB / 0.7804 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1781, allocations: 8.031 kB / 0.7804 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007223/0.1788, allocations: 0.5338 MB / 0.7809 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1788, allocations: 0 / 0.7809 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001269/0.1801, allocations: 0.5764 MB / 0.7814 GB, free: 10.55 MB / 0.5919 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.002852/0.1829, allocations: 1.745 MB / 0.7832 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.1832, allocations: 279.9 kB / 0.7834 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1832, allocations: 0 / 0.7834 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1833, allocations: 173.6 kB / 0.7836 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.1836, allocations: 30.31 kB / 0.7836 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008401/0.192, allocations: 7.189 MB / 0.7906 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.1924, allocations: 0.8197 MB / 0.7914 GB, free: 288 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009457/0.1934, allocations: 447.9 kB / 0.7919 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006179/0.194, allocations: 375.2 kB / 0.7922 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/0.194, allocations: 3.938 kB / 0.7922 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05457/0.2486, allocations: 25.84 MB / 0.8175 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.465/8.714, allocations: 0.875 kB / 0.8175 GB, free: 5.742 MB / 0.6231 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.163177570007974]