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.001258/0.001258, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 290.4 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9155/0.9155, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 101 kB / 0.5953 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.139, allocations: 86.98 MB / 0.6802 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002402/0.1415, allocations: 1.245 MB / 0.6814 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006743/0.1482, allocations: 4.483 MB / 0.6858 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.1483, allocations: 0 / 0.6858 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.473e-05/0.1484, allocations: 0 / 0.6858 GB, free: 10.91 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.00341/0.1518, allocations: 1.495 MB / 0.6873 GB, free: 9.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.781e-05/0.1519, allocations: 43.89 kB / 0.6873 GB, free: 9.375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.517e-05/0.1519, allocations: 19.86 kB / 0.6873 GB, free: 9.355 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.152, allocations: 4 kB / 0.6873 GB, free: 9.352 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.402e-05/0.152, allocations: 7.984 kB / 0.6873 GB, free: 9.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.1521, allocations: 17.28 kB / 0.6874 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1521, allocations: 4 kB / 0.6874 GB, free: 9.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.1549, allocations: 2.207 MB / 0.6895 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.155, allocations: 149.2 kB / 0.6897 GB, free: 6.969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.1551, allocations: 4 kB / 0.6897 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.1571, allocations: 1.735 MB / 0.6914 GB, free: 5.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1571, allocations: 0 / 0.6914 GB, free: 5.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1571, allocations: 0 / 0.6914 GB, free: 5.227 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1571, allocations: 0 / 0.6914 GB, free: 5.227 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.0007438/0.1578, allocations: 0.6125 MB / 0.692 GB, free: 4.566 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1579, allocations: 8.031 kB / 0.692 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.1579, allocations: 8.938 kB / 0.692 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.158, allocations: 168.3 kB / 0.6921 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.1581, allocations: 384 / 0.6921 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-06/0.1581, allocations: 4.125 kB / 0.6921 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1582, allocations: 169.6 kB / 0.6923 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.1582, allocations: 0 / 0.6923 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.1583, allocations: 0 / 0.6923 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1583, allocations: 0 / 0.6923 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.1585, allocations: 291.8 kB / 0.6926 GB, free: 3.887 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.1587, allocations: 285.6 kB / 0.6929 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1589, allocations: 158.5 kB / 0.693 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.779e-05/0.159, allocations: 148.8 kB / 0.6931 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.159, allocations: 4 kB / 0.6932 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.159, allocations: 34.56 kB / 0.6932 GB, free: 3.199 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.159, allocations: 0 / 0.6932 GB, free: 3.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003766/0.1594, allocations: 457.5 kB / 0.6936 GB, free: 2.746 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1594, allocations: 59.44 kB / 0.6937 GB, free: 2.676 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1595, allocations: 165.8 kB / 0.6938 GB, free: 2.504 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1596, allocations: 25.7 kB / 0.6939 GB, free: 2.473 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.338e-05/0.1596, allocations: 84.14 kB / 0.6939 GB, free: 2.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1596, allocations: 0 / 0.6939 GB, free: 2.387 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.1596, allocations: 9.719 kB / 0.6939 GB, free: 2.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.284e-05/0.1597, allocations: 310.8 kB / 0.6942 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.906e-05/0.1599, allocations: 148.1 kB / 0.6944 GB, free: 1.914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.16, allocations: 139.9 kB / 0.6945 GB, free: 1.777 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.1602, allocations: 288.8 kB / 0.6948 GB, free: 1.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1602, allocations: 0 / 0.6948 GB, free: 1.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002363/0.1604, allocations: 321.5 kB / 0.6951 GB, free: 1.172 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1604, allocations: 9.812 kB / 0.6951 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1604, allocations: 0 / 0.6951 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1605, allocations: 3.984 kB / 0.6951 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.776e-05/0.1605, allocations: 4.094 kB / 0.6951 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1605, allocations: 4 kB / 0.6951 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.897e-05/0.1606, allocations: 0 / 0.6951 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1606, allocations: 0 / 0.6951 GB, free: 1.152 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 9.865e-05/0.1607, allocations: 174.5 kB / 0.6953 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.1607, allocations: 3.938 kB / 0.6953 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.161, allocations: 324.6 kB / 0.6956 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.161, allocations: 3.938 kB / 0.6956 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.161, allocations: 0 / 0.6956 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.161, allocations: 8.016 kB / 0.6956 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.1612, allocations: 289.6 kB / 0.6959 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1612, allocations: 0 / 0.6959 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1613, allocations: 0 / 0.6959 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1613, allocations: 0 / 0.6959 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.1613, allocations: 0 / 0.6959 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1613, allocations: 0 / 0.6959 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1613, allocations: 4 kB / 0.6959 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.1615, allocations: 341 kB / 0.6962 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.1616, allocations: 81.11 kB / 0.6963 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.1616, allocations: 4 kB / 0.6963 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.1617, allocations: 0 / 0.6963 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-06/0.1617, allocations: 0 / 0.6963 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1617, allocations: 3.984 kB / 0.6963 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.698e-05/0.1618, allocations: 151.3 kB / 0.6964 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1618, allocations: 0 / 0.6964 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001059/0.1629, allocations: 0.57 MB / 0.697 GB, free: 15.12 MB / 0.4981 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.001974/0.1649, allocations: 0.9292 MB / 0.6979 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1651, allocations: 287.9 kB / 0.6982 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1651, allocations: 0 / 0.6982 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1653, allocations: 165.6 kB / 0.6983 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.1655, allocations: 7.938 kB / 0.6984 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.1665, allocations: 0.9416 MB / 0.6993 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.1668, allocations: 0.8146 MB / 0.7001 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.1669, allocations: 4 kB / 0.7001 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.1669, allocations: 19.36 kB / 0.7001 GB, free: 12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1669, allocations: 0 / 0.7001 GB, free: 12 MB / 0.4981 GB Notification: Performance of Templates: time 0.01821/0.1851, allocations: 12.23 MB / 0.712 GB, free: 15.8 MB / 0.5137 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)