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.001318/0.001318, allocations: 110 kB / 16.45 MB, free: 6.504 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.001357/0.001357, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.382/1.382, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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 1.063/1.063, allocations: 175.8 MB / 478.4 MB, free: 8.602 MB / 382.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.001937/0.001937, allocations: 74.69 kB / 0.6652 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1756, allocations: 94.54 MB / 0.7576 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002445/0.1781, allocations: 1.25 MB / 0.7588 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3599/0.538, allocations: 4.52 MB / 0.7632 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.538, allocations: 0 / 0.7632 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.777e-05/0.5381, allocations: 1.578 kB / 0.7632 GB, free: 6.746 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.004436/0.5425, allocations: 1.517 MB / 0.7647 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.5426, allocations: 34.03 kB / 0.7647 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.139e-05/0.5427, allocations: 13.61 kB / 0.7647 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.5427, allocations: 6.078 kB / 0.7647 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.861e-05/0.5427, allocations: 5.297 kB / 0.7647 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.5428, allocations: 25.45 kB / 0.7648 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.427e-06/0.5428, allocations: 3.062 kB / 0.7648 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003661/0.5465, allocations: 2.379 MB / 0.7671 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.5467, allocations: 242.4 kB / 0.7673 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.547, allocations: 249.3 kB / 0.7676 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004499/0.5515, allocations: 2.203 MB / 0.7697 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5515, allocations: 1.031 kB / 0.7697 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5515, allocations: 1.391 kB / 0.7697 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.986e-05/0.5515, allocations: 0 / 0.7697 GB, free: 5.289 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.003282/0.5548, allocations: 1.534 MB / 0.7712 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5548, allocations: 10.19 kB / 0.7712 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/0.5549, allocations: 31.25 kB / 0.7713 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.5551, allocations: 46.31 kB / 0.7713 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.5561, allocations: 0.6378 MB / 0.7719 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.5561, allocations: 4 kB / 0.7719 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.5561, allocations: 8.75 kB / 0.7719 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.5563, allocations: 171.1 kB / 0.7721 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.5563, allocations: 0 / 0.7721 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.5563, allocations: 0 / 0.7721 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5563, allocations: 0 / 0.7721 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.5565, allocations: 279.2 kB / 0.7724 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.5571, allocations: 0.5378 MB / 0.7729 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.5572, allocations: 164.3 kB / 0.773 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.5574, allocations: 149.2 kB / 0.7732 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.5574, allocations: 0 / 0.7732 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.5574, allocations: 32.39 kB / 0.7732 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.5574, allocations: 0 / 0.7732 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0005392/0.5579, allocations: 0.4911 MB / 0.7737 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/0.5579, allocations: 51.41 kB / 0.7737 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008461/0.5588, allocations: 0.6976 MB / 0.7744 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.5588, allocations: 25.7 kB / 0.7744 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.5589, allocations: 231.3 kB / 0.7747 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.5589, allocations: 7.188 kB / 0.7747 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.559, allocations: 14.14 kB / 0.7747 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.5591, allocations: 365.2 kB / 0.775 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.5592, allocations: 147.4 kB / 0.7752 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.11e-05/0.5592, allocations: 141 kB / 0.7753 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.5594, allocations: 290.1 kB / 0.7756 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5594, allocations: 2.938 kB / 0.7756 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000373/0.5598, allocations: 359.7 kB / 0.7759 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5598, allocations: 5.5 kB / 0.7759 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5598, allocations: 0 / 0.7759 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5598, allocations: 0 / 0.7759 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.5599, allocations: 2.25 kB / 0.7759 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5599, allocations: 1.812 kB / 0.7759 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.5601, allocations: 27.59 kB / 0.776 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.5601, allocations: 5.312 kB / 0.776 GB, free: 2.652 MB / 0.5762 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.0001334/0.5602, allocations: 218 kB / 0.7762 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.5604, allocations: 50.27 kB / 0.7762 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.5607, allocations: 372.1 kB / 0.7766 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5607, allocations: 3.344 kB / 0.7766 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5607, allocations: 0 / 0.7766 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5607, allocations: 0.5625 kB / 0.7766 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.5612, allocations: 439.3 kB / 0.777 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5612, allocations: 5.312 kB / 0.777 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-06/0.5612, allocations: 1.672 kB / 0.777 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5612, allocations: 1.094 kB / 0.777 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.5612, allocations: 4.656 kB / 0.777 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5612, allocations: 0.8125 kB / 0.777 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5612, allocations: 1.312 kB / 0.777 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.5616, allocations: 390.7 kB / 0.7774 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007418/0.5624, allocations: 339.1 kB / 0.7777 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.5625, allocations: 4.594 kB / 0.7777 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.5627, allocations: 29 kB / 0.7778 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.5628, allocations: 1.906 kB / 0.7778 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.5628, allocations: 4.781 kB / 0.7778 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009082/0.5637, allocations: 0.5351 MB / 0.7783 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5637, allocations: 0 / 0.7783 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002753/0.5664, allocations: 0.5757 MB / 0.7788 GB, free: 1.648 MB / 0.5762 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.003383/0.5698, allocations: 1.745 MB / 0.7805 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.5701, allocations: 282.8 kB / 0.7808 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.5701, allocations: 4.062 kB / 0.7808 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.5703, allocations: 171.4 kB / 0.781 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.5707, allocations: 33.45 kB / 0.781 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009513/0.5802, allocations: 7.185 MB / 0.788 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.5807, allocations: 0.818 MB / 0.7888 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001093/0.5818, allocations: 451.8 kB / 0.7893 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007117/0.5825, allocations: 378.2 kB / 0.7896 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of SimCode: time 9.41e-07/0.5825, allocations: 0 / 0.7896 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06198/0.6445, allocations: 25.92 MB / 0.8149 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.21/9.854, allocations: 11.73 kB / 0.8149 GB, free: 13.67 MB / 0.6075 GB " [Timeout remaining time 650] (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 --stepSize=12614.4 --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: 13.595459445379674] Failed to read output from testmodel.py, exit status != 0: 9.98846558202058 10.019226983 9.462193976 Calling exit ...