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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007599/0.007599, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.002165/0.002165, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 275.2 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9039/0.9039, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 91.86 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1569, allocations: 86.98 MB / 0.7659 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002798/0.1598, allocations: 1.24 MB / 0.7672 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007457/0.1672, allocations: 4.481 MB / 0.7715 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.1673, allocations: 3.938 kB / 0.7715 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.013e-05/0.1674, allocations: 7.938 kB / 0.7715 GB, free: 3.117 MB / 0.5606 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/BuildingSystems 2.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.004252/0.1717, allocations: 1.506 MB / 0.773 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 8.971e-05/0.1718, allocations: 39.89 kB / 0.7731 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.782e-05/0.1719, allocations: 15.98 kB / 0.7731 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.1719, allocations: 0 / 0.7731 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.335e-05/0.172, allocations: 4 kB / 0.7731 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.172, allocations: 21.28 kB / 0.7731 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.172, allocations: 0 / 0.7731 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3528/0.5248, allocations: 2.277 MB / 0.7753 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.5252, allocations: 244.2 kB / 0.7755 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.5255, allocations: 245.5 kB / 0.7758 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004161/0.5297, allocations: 2.191 MB / 0.7779 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5297, allocations: 0 / 0.7779 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.275e-06/0.5297, allocations: 0 / 0.7779 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.5297, allocations: 4.812 kB / 0.7779 GB, free: 8.703 MB / 0.5606 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.002517/0.5322, allocations: 1.497 MB / 0.7794 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.5323, allocations: 9.438 kB / 0.7794 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.5323, allocations: 34.19 kB / 0.7794 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.5326, allocations: 44.84 kB / 0.7795 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007062/0.5333, allocations: 0.6354 MB / 0.7801 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.5333, allocations: 3.094 kB / 0.7801 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.5333, allocations: 0.7969 kB / 0.7801 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.5335, allocations: 173.8 kB / 0.7803 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.5335, allocations: 0 / 0.7803 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.5335, allocations: 4.031 kB / 0.7803 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.5335, allocations: 0.9062 kB / 0.7803 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.5338, allocations: 278.4 kB / 0.7805 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.5344, allocations: 0.5436 MB / 0.7811 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.5345, allocations: 159.5 kB / 0.7812 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.5347, allocations: 144.4 kB / 0.7814 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.5347, allocations: 5.094 kB / 0.7814 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.5347, allocations: 33.94 kB / 0.7814 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.5347, allocations: 0.9375 kB / 0.7814 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0005333/0.5353, allocations: 493.5 kB / 0.7819 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.5353, allocations: 56.94 kB / 0.7819 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.536, allocations: 0.6967 MB / 0.7826 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.064e-06/0.5361, allocations: 25.7 kB / 0.7826 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.5362, allocations: 226.5 kB / 0.7828 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.5362, allocations: 8.531 kB / 0.7828 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.5362, allocations: 10.28 kB / 0.7829 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.5363, allocations: 368.7 kB / 0.7832 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.103e-05/0.5364, allocations: 139.5 kB / 0.7833 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.5365, allocations: 141.4 kB / 0.7835 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.5367, allocations: 291.2 kB / 0.7838 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5367, allocations: 0 / 0.7838 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003724/0.5371, allocations: 361.7 kB / 0.7841 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5371, allocations: 6.266 kB / 0.7841 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5371, allocations: 0.7812 kB / 0.7841 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.5371, allocations: 0 / 0.7841 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.5372, allocations: 6.547 kB / 0.7841 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.5372, allocations: 0 / 0.7841 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.5374, allocations: 29.38 kB / 0.7841 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.5374, allocations: 3.062 kB / 0.7841 GB, free: 6.586 MB / 0.5606 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.0001513/0.5376, allocations: 205.7 kB / 0.7843 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.5378, allocations: 49.25 kB / 0.7844 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.5381, allocations: 376.6 kB / 0.7847 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5381, allocations: 0 / 0.7847 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.5381, allocations: 0.6094 kB / 0.7847 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.5381, allocations: 0.5312 kB / 0.7847 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.5385, allocations: 444.2 kB / 0.7852 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.5385, allocations: 7.312 kB / 0.7852 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.5386, allocations: 0.7969 kB / 0.7852 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.5386, allocations: 0 / 0.7852 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.5386, allocations: 3.938 kB / 0.7852 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5386, allocations: 0 / 0.7852 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5386, allocations: 0.5625 kB / 0.7852 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.539, allocations: 385.4 kB / 0.7855 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.5394, allocations: 340.1 kB / 0.7859 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.5395, allocations: 5.734 kB / 0.7859 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.5398, allocations: 28.47 kB / 0.7859 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.5398, allocations: 3.375 kB / 0.7859 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.5398, allocations: 0.7969 kB / 0.7859 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000656/0.5404, allocations: 0.5329 MB / 0.7864 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5404, allocations: 0 / 0.7864 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002012/0.5425, allocations: 0.5658 MB / 0.787 GB, free: 5.828 MB / 0.5606 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.002969/0.5454, allocations: 1.738 MB / 0.7887 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.5458, allocations: 290.1 kB / 0.789 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5458, allocations: 1.125 kB / 0.789 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.5459, allocations: 171.4 kB / 0.7891 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.5464, allocations: 42.09 kB / 0.7892 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.5567, allocations: 7.159 MB / 0.7962 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.5572, allocations: 0.8191 MB / 0.797 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000958/0.5581, allocations: 453.7 kB / 0.7974 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006288/0.5588, allocations: 372.8 kB / 0.7977 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.5588, allocations: 3.219 kB / 0.7977 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05957/0.6184, allocations: 26 MB / 0.8231 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.516/9.134, allocations: 10.47 kB / 0.8231 GB, free: 8.164 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)