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.001075/0.001075, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001074/0.001074, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.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.002038/0.002038, allocations: 279.9 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8764/0.8764, allocations: 169.2 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 90.52 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1456, allocations: 86.98 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002119/0.1477, allocations: 1.252 MB / 0.6829 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006203/0.154, allocations: 4.481 MB / 0.6872 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.154, allocations: 0 / 0.6872 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.759e-05/0.1541, allocations: 3.984 kB / 0.6872 GB, free: 1.684 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.003417/0.1575, allocations: 1.507 MB / 0.6887 GB, free: 176 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.676e-05/0.1576, allocations: 27.91 kB / 0.6887 GB, free: 148 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.051e-05/0.1576, allocations: 15.98 kB / 0.6888 GB, free: 132 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.1577, allocations: 8 kB / 0.6888 GB, free: 124 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.1577, allocations: 7.984 kB / 0.6888 GB, free: 116 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.1578, allocations: 17.28 kB / 0.6888 GB, free: 100 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.276e-06/0.1578, allocations: 0 / 0.6888 GB, free: 100 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2547/0.4125, allocations: 2.274 MB / 0.691 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.4127, allocations: 147.6 kB / 0.6911 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.4127, allocations: 12.91 kB / 0.6912 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002846/0.4156, allocations: 1.726 MB / 0.6928 GB, free: 12.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4156, allocations: 4.172 kB / 0.6928 GB, free: 12.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4156, allocations: 0 / 0.6928 GB, free: 12.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.4156, allocations: 1.578 kB / 0.6928 GB, free: 12.88 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.0008332/0.4165, allocations: 0.6195 MB / 0.6935 GB, free: 12.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.4165, allocations: 10.14 kB / 0.6935 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.4165, allocations: 1.844 kB / 0.6935 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.682e-05/0.4166, allocations: 164.5 kB / 0.6936 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.4166, allocations: 384 / 0.6936 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-06/0.4166, allocations: 1.375 kB / 0.6936 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.4168, allocations: 172.8 kB / 0.6938 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.4168, allocations: 0.9688 kB / 0.6938 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.4169, allocations: 3.406 kB / 0.6938 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4169, allocations: 0.5625 kB / 0.6938 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.4171, allocations: 283.9 kB / 0.6941 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.4173, allocations: 288.7 kB / 0.6943 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.4175, allocations: 156.2 kB / 0.6945 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.4176, allocations: 144.9 kB / 0.6946 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.4176, allocations: 0.8125 kB / 0.6946 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.4176, allocations: 44.34 kB / 0.6947 GB, free: 11.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.4176, allocations: 0 / 0.6947 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004215/0.4181, allocations: 454.8 kB / 0.6951 GB, free: 11.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.4181, allocations: 52.56 kB / 0.6952 GB, free: 11.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/0.4182, allocations: 168.7 kB / 0.6953 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.4182, allocations: 28.52 kB / 0.6953 GB, free: 11.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.588e-06/0.4182, allocations: 82.31 kB / 0.6954 GB, free: 11.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.4182, allocations: 3.062 kB / 0.6954 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.4183, allocations: 11.72 kB / 0.6954 GB, free: 11.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.295e-05/0.4183, allocations: 317.2 kB / 0.6957 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.4184, allocations: 141.7 kB / 0.6959 GB, free: 11.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.4185, allocations: 140.8 kB / 0.696 GB, free: 11.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.4187, allocations: 291.9 kB / 0.6963 GB, free: 11.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4187, allocations: 0.7812 kB / 0.6963 GB, free: 11.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002545/0.419, allocations: 320 kB / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.419, allocations: 7.688 kB / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.419, allocations: 0 / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4191, allocations: 0 / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.4191, allocations: 3.359 kB / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4191, allocations: 2.078 kB / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.4192, allocations: 0 / 0.6966 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4192, allocations: 5.531 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.195e-05/0.4193, allocations: 172.8 kB / 0.6968 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.4193, allocations: 5 kB / 0.6968 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.4196, allocations: 324.6 kB / 0.6971 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4196, allocations: 2.266 kB / 0.6971 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.4196, allocations: 0 / 0.6971 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4196, allocations: 1.484 kB / 0.6971 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.4198, allocations: 288.2 kB / 0.6974 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4198, allocations: 2.75 kB / 0.6974 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-06/0.4198, allocations: 5.469 kB / 0.6974 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4199, allocations: 0 / 0.6974 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.4199, allocations: 3.438 kB / 0.6974 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4199, allocations: 1.469 kB / 0.6974 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4199, allocations: 0 / 0.6974 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.4201, allocations: 338 kB / 0.6977 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.4202, allocations: 81.66 kB / 0.6978 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.4202, allocations: 5.922 kB / 0.6978 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.228e-05/0.4203, allocations: 0.75 kB / 0.6978 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.4203, allocations: 1.938 kB / 0.6978 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.4203, allocations: 5.344 kB / 0.6978 GB, free: 10.69 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.7e-05/0.4204, allocations: 152.8 kB / 0.6979 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4204, allocations: 0 / 0.6979 GB, free: 10.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001732/0.4221, allocations: 0.5671 MB / 0.6985 GB, free: 10.53 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.002111/0.4243, allocations: 0.9278 MB / 0.6994 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.4245, allocations: 283 kB / 0.6997 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4246, allocations: 1.094 kB / 0.6997 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.4247, allocations: 170.2 kB / 0.6998 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.4249, allocations: 10.88 kB / 0.6998 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.4259, allocations: 0.931 MB / 0.7007 GB, free: 9.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.4262, allocations: 0.8149 MB / 0.7015 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.844e-05/0.4262, allocations: 6.5 kB / 0.7016 GB, free: 9.211 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.4262, allocations: 12.22 kB / 0.7016 GB, free: 9.203 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4262, allocations: 0.6562 kB / 0.7016 GB, free: 9.203 MB / 494.1 MB Notification: Performance of Templates: time 0.01827/0.4445, allocations: 12.24 MB / 0.7135 GB, free: 6.391 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)