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.001579/0.001579, allocations: 113.2 kB / 16.42 MB, free: 6.496 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.001802/0.001802, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.342/1.342, allocations: 222.9 MB / 241.1 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00218/0.00218, allocations: 290.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9549/0.9549, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 99.84 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3923, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002425/0.3947, allocations: 1.252 MB / 0.7683 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006864/0.4016, allocations: 4.485 MB / 0.7727 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.615e-05/0.4017, allocations: 0 / 0.7727 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.4019, allocations: 0 / 0.7727 GB, free: 14.16 MB / 0.545 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.004721/0.4066, allocations: 1.515 MB / 0.7742 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.4068, allocations: 31.91 kB / 0.7742 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.849e-05/0.4068, allocations: 15.88 kB / 0.7742 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.4069, allocations: 4 kB / 0.7742 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.4069, allocations: 7.984 kB / 0.7742 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.407, allocations: 25.27 kB / 0.7743 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.407, allocations: 0 / 0.7743 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/0.4112, allocations: 2.278 MB / 0.7765 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.4114, allocations: 149.2 kB / 0.7766 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.4114, allocations: 3.984 kB / 0.7766 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003324/0.4147, allocations: 1.73 MB / 0.7783 GB, free: 8.398 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4148, allocations: 0 / 0.7783 GB, free: 8.398 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4148, allocations: 0 / 0.7783 GB, free: 8.398 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.4148, allocations: 0 / 0.7783 GB, free: 8.398 MB / 0.545 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.001042/0.4158, allocations: 0.6241 MB / 0.7789 GB, free: 7.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4159, allocations: 12.03 kB / 0.7789 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.4159, allocations: 0.9375 kB / 0.7789 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.4161, allocations: 176.4 kB / 0.7791 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.4161, allocations: 384 / 0.7791 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.4161, allocations: 4.125 kB / 0.7791 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.4163, allocations: 165.6 kB / 0.7793 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4163, allocations: 0 / 0.7793 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.4163, allocations: 4 kB / 0.7793 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.4163, allocations: 0 / 0.7793 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.4166, allocations: 287.8 kB / 0.7795 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.4168, allocations: 289.6 kB / 0.7798 GB, free: 6.715 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.417, allocations: 154.5 kB / 0.78 GB, free: 6.555 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.4171, allocations: 152.8 kB / 0.7801 GB, free: 6.402 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.4171, allocations: 0 / 0.7801 GB, free: 6.402 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.4172, allocations: 30.56 kB / 0.7801 GB, free: 6.363 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.4172, allocations: 4 kB / 0.7801 GB, free: 6.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0004261/0.4176, allocations: 453.5 kB / 0.7806 GB, free: 5.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.4177, allocations: 55.39 kB / 0.7806 GB, free: 5.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.4178, allocations: 169.8 kB / 0.7808 GB, free: 5.668 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.4178, allocations: 25.7 kB / 0.7808 GB, free: 5.637 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.4178, allocations: 84.08 kB / 0.7809 GB, free: 5.551 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.4179, allocations: 0 / 0.7809 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.4179, allocations: 13.97 kB / 0.7809 GB, free: 5.531 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.418, allocations: 318.8 kB / 0.7812 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.4181, allocations: 139.9 kB / 0.7814 GB, free: 5.074 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.4182, allocations: 143.9 kB / 0.7815 GB, free: 4.934 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.4185, allocations: 284.8 kB / 0.7818 GB, free: 4.652 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.4185, allocations: 0 / 0.7818 GB, free: 4.652 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002464/0.4187, allocations: 317.5 kB / 0.7821 GB, free: 4.336 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4187, allocations: 8 kB / 0.7821 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.4187, allocations: 0 / 0.7821 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.4188, allocations: 4.094 kB / 0.7821 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/0.4188, allocations: 0 / 0.7821 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4188, allocations: 0 / 0.7821 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/0.4189, allocations: 0 / 0.7821 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.4189, allocations: 4 kB / 0.7821 GB, free: 4.32 MB / 0.545 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.0001094/0.419, allocations: 169.8 kB / 0.7822 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.4191, allocations: 3.938 kB / 0.7822 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.4194, allocations: 320.6 kB / 0.7825 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.4194, allocations: 4.031 kB / 0.7826 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.4194, allocations: 7.938 kB / 0.7826 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.4194, allocations: 81.09 kB / 0.7826 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.4195, allocations: 0 / 0.7826 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.4196, allocations: 0 / 0.7826 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.4196, allocations: 0 / 0.7826 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002704/0.4199, allocations: 396.8 kB / 0.783 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003112/0.4202, allocations: 486.7 kB / 0.7835 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001133/0.4203, allocations: 139.9 kB / 0.7836 GB, free: 2.691 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.552e-05/0.4204, allocations: 151.2 kB / 0.7838 GB, free: 2.543 MB / 0.545 GB Notification: Performance of Backend: time 5.41e-07/0.4204, allocations: 0 / 0.7838 GB, free: 2.543 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003217/0.4236, allocations: 1.055 MB / 0.7848 GB, free: 1.59 MB / 0.545 GB Notification: Performance of SimCode: time 0.001275/0.4249, allocations: 1.257 MB / 0.786 GB, free: 280 kB / 0.545 GB Notification: Performance of Templates: time 0.02075/0.4457, allocations: 12.26 MB / 0.798 GB, free: 4.055 MB / 0.5606 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)