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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001048/0.001048, allocations: 191 kB / 17.29 MB, free: 5.516 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 291.4 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9361/0.9361, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 94.67 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1468, allocations: 86.97 MB / 0.6816 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002269/0.1491, allocations: 1.254 MB / 0.6829 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006248/0.1553, allocations: 4.477 MB / 0.6872 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.1554, allocations: 0 / 0.6872 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.851e-05/0.1555, allocations: 0 / 0.6872 GB, free: 1.664 MB / 494.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/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.003586/0.1591, allocations: 1.511 MB / 0.6887 GB, free: 152 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.299e-05/0.1592, allocations: 31.89 kB / 0.6887 GB, free: 120 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.175e-05/0.1593, allocations: 11.94 kB / 0.6887 GB, free: 108 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.1593, allocations: 8 kB / 0.6888 GB, free: 100 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.913e-05/0.1593, allocations: 11.92 kB / 0.6888 GB, free: 88 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.781e-05/0.1594, allocations: 21.27 kB / 0.6888 GB, free: 68 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.1594, allocations: 4 kB / 0.6888 GB, free: 64 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2404/0.3998, allocations: 2.274 MB / 0.691 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.4, allocations: 151.9 kB / 0.6912 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.4, allocations: 0.8438 kB / 0.6912 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.4025, allocations: 1.73 MB / 0.6928 GB, free: 12.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4025, allocations: 0 / 0.6928 GB, free: 12.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4025, allocations: 1.859 kB / 0.6928 GB, free: 12.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.497e-06/0.4025, allocations: 1.281 kB / 0.6928 GB, free: 12.89 MB / 494.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.000888/0.4034, allocations: 0.6143 MB / 0.6934 GB, free: 12.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.4035, allocations: 9.781 kB / 0.6935 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.4035, allocations: 2.25 kB / 0.6935 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.723e-05/0.4036, allocations: 169 kB / 0.6936 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.4036, allocations: 1.625 kB / 0.6936 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.4036, allocations: 1.969 kB / 0.6936 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.4038, allocations: 171.1 kB / 0.6938 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.4038, allocations: 4.188 kB / 0.6938 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.4038, allocations: 1.578 kB / 0.6938 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.4038, allocations: 0 / 0.6938 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.4041, allocations: 280.4 kB / 0.6941 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.4043, allocations: 285.6 kB / 0.6943 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.4045, allocations: 162.1 kB / 0.6945 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.4046, allocations: 147.3 kB / 0.6946 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.4046, allocations: 0 / 0.6946 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.4046, allocations: 40.97 kB / 0.6947 GB, free: 11.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.4046, allocations: 0.5938 kB / 0.6947 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004196/0.405, allocations: 459.1 kB / 0.6951 GB, free: 11.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.4051, allocations: 52.02 kB / 0.6952 GB, free: 11.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.503e-05/0.4052, allocations: 168.9 kB / 0.6953 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.711e-06/0.4052, allocations: 26.31 kB / 0.6953 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-06/0.4052, allocations: 80.14 kB / 0.6954 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.4052, allocations: 3.281 kB / 0.6954 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.4053, allocations: 12.8 kB / 0.6954 GB, free: 11.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.57e-05/0.4053, allocations: 314.4 kB / 0.6957 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.4054, allocations: 141.2 kB / 0.6959 GB, free: 11.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.4055, allocations: 140.2 kB / 0.696 GB, free: 11.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.4058, allocations: 292.2 kB / 0.6963 GB, free: 11.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4058, allocations: 0 / 0.6963 GB, free: 11.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002553/0.406, allocations: 326.9 kB / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4061, allocations: 6.828 kB / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.4061, allocations: 0 / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4061, allocations: 7.078 kB / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.4061, allocations: 3.297 kB / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.4062, allocations: 0 / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-05/0.4062, allocations: 1.391 kB / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4063, allocations: 1.219 kB / 0.6966 GB, free: 11.2 MB / 494.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 8.402e-05/0.4063, allocations: 168.5 kB / 0.6968 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.4064, allocations: 6.125 kB / 0.6968 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.4067, allocations: 324.5 kB / 0.6971 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4067, allocations: 0.6562 kB / 0.6971 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4067, allocations: 0.9062 kB / 0.6971 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4067, allocations: 0 / 0.6971 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.4069, allocations: 289.1 kB / 0.6974 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4069, allocations: 2.422 kB / 0.6974 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.764e-06/0.4069, allocations: 4.906 kB / 0.6974 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4069, allocations: 0 / 0.6974 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.4069, allocations: 8.172 kB / 0.6974 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4069, allocations: 0 / 0.6974 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4069, allocations: 3.156 kB / 0.6974 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.4072, allocations: 338.3 kB / 0.6977 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.4072, allocations: 84.81 kB / 0.6978 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-05/0.4073, allocations: 0.5156 kB / 0.6978 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/0.4074, allocations: 0.5625 kB / 0.6978 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.4074, allocations: 1.625 kB / 0.6978 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.4074, allocations: 1.406 kB / 0.6978 GB, free: 10.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.988e-05/0.4074, allocations: 154.3 kB / 0.6979 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4075, allocations: 0 / 0.6979 GB, free: 10.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001706/0.4092, allocations: 0.5674 MB / 0.6985 GB, free: 10.54 MB / 494.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.00214/0.4113, allocations: 0.9245 MB / 0.6994 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.4116, allocations: 287.2 kB / 0.6997 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4116, allocations: 3.938 kB / 0.6997 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.4118, allocations: 167.4 kB / 0.6998 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.412, allocations: 6.391 kB / 0.6998 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.4131, allocations: 0.9303 MB / 0.7007 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.4133, allocations: 0.8208 MB / 0.7015 GB, free: 9.219 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.976e-05/0.4134, allocations: 1.938 kB / 0.7015 GB, free: 9.219 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.4134, allocations: 12.58 kB / 0.7016 GB, free: 9.211 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4134, allocations: 0.6562 kB / 0.7016 GB, free: 9.211 MB / 494.1 MB Notification: Performance of Templates: time 0.01916/0.4326, allocations: 12.25 MB / 0.7135 GB, free: 6.379 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)