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.001482/0.001482, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001492/0.001492, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002229/0.002229, allocations: 293.1 kB / 291.5 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.945/0.945, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 100.1 kB / 0.6822 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4075, allocations: 86.99 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002019/0.4096, allocations: 1.241 MB / 0.7683 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006284/0.4159, allocations: 4.486 MB / 0.7727 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.4159, allocations: 0 / 0.7727 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.964e-05/0.416, allocations: 0 / 0.7727 GB, free: 14.21 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.003629/0.4196, allocations: 1.511 MB / 0.7742 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 9.008e-05/0.4198, allocations: 35.88 kB / 0.7742 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.321e-05/0.4198, allocations: 11.94 kB / 0.7742 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.4199, allocations: 8 kB / 0.7742 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.053e-05/0.4199, allocations: 4 kB / 0.7742 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.4199, allocations: 21.27 kB / 0.7742 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.42, allocations: 0 / 0.7742 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003098/0.4231, allocations: 2.282 MB / 0.7765 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.4232, allocations: 149.2 kB / 0.7766 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.4232, allocations: 8 kB / 0.7766 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002302/0.4256, allocations: 1.726 MB / 0.7783 GB, free: 8.453 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4256, allocations: 0 / 0.7783 GB, free: 8.453 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4256, allocations: 0 / 0.7783 GB, free: 8.453 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.4256, allocations: 4 kB / 0.7783 GB, free: 8.449 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.0007973/0.4264, allocations: 0.628 MB / 0.7789 GB, free: 7.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.4264, allocations: 8.031 kB / 0.7789 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.4265, allocations: 0.9375 kB / 0.7789 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.4266, allocations: 160.4 kB / 0.7791 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-06/0.4266, allocations: 384 / 0.7791 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.4266, allocations: 12.11 kB / 0.7791 GB, free: 7.559 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.4268, allocations: 169.6 kB / 0.7793 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4268, allocations: 7.984 kB / 0.7793 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.4268, allocations: 0 / 0.7793 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.4268, allocations: 0 / 0.7793 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.427, allocations: 283.8 kB / 0.7795 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.4273, allocations: 289.6 kB / 0.7798 GB, free: 6.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.4275, allocations: 154.5 kB / 0.78 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.4276, allocations: 156.8 kB / 0.7801 GB, free: 6.453 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.4276, allocations: 0 / 0.7801 GB, free: 6.453 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.4276, allocations: 34.56 kB / 0.7801 GB, free: 6.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.4276, allocations: 0 / 0.7801 GB, free: 6.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0004023/0.428, allocations: 457.4 kB / 0.7806 GB, free: 5.957 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.4281, allocations: 51.41 kB / 0.7806 GB, free: 5.895 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.4282, allocations: 173.8 kB / 0.7808 GB, free: 5.715 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.4282, allocations: 25.7 kB / 0.7808 GB, free: 5.684 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.4283, allocations: 84.38 kB / 0.7809 GB, free: 5.598 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.4283, allocations: 4 kB / 0.7809 GB, free: 5.594 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.4283, allocations: 9.719 kB / 0.7809 GB, free: 5.578 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.4284, allocations: 314.8 kB / 0.7812 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.629e-05/0.4285, allocations: 139.9 kB / 0.7814 GB, free: 5.125 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.856e-05/0.4286, allocations: 139.9 kB / 0.7815 GB, free: 4.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.4289, allocations: 288.8 kB / 0.7818 GB, free: 4.703 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4289, allocations: 0 / 0.7818 GB, free: 4.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002452/0.4291, allocations: 325.5 kB / 0.7821 GB, free: 4.379 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4291, allocations: 4 kB / 0.7821 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4292, allocations: 0 / 0.7821 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.4292, allocations: 4 kB / 0.7821 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.4292, allocations: 0 / 0.7821 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4292, allocations: 0 / 0.7821 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.4293, allocations: 0 / 0.7821 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4293, allocations: 0 / 0.7821 GB, free: 4.371 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.0001085/0.4295, allocations: 169.8 kB / 0.7822 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.4295, allocations: 3.938 kB / 0.7822 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.4298, allocations: 332.6 kB / 0.7826 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.4298, allocations: 0 / 0.7826 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4298, allocations: 0 / 0.7826 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.4298, allocations: 85.09 kB / 0.7826 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.122e-05/0.4299, allocations: 0 / 0.7826 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.43, allocations: 0 / 0.7826 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.43, allocations: 0 / 0.7826 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002577/0.4303, allocations: 388.8 kB / 0.783 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002961/0.4306, allocations: 490.7 kB / 0.7835 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001137/0.4307, allocations: 143.9 kB / 0.7836 GB, free: 2.738 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.416e-05/0.4308, allocations: 155.2 kB / 0.7838 GB, free: 2.586 MB / 0.545 GB Notification: Performance of Backend: time 2.11e-07/0.4308, allocations: 0 / 0.7838 GB, free: 2.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002605/0.4334, allocations: 1.044 MB / 0.7848 GB, free: 1.637 MB / 0.545 GB Notification: Performance of SimCode: time 0.001258/0.4347, allocations: 1.25 MB / 0.786 GB, free: 336 kB / 0.545 GB Notification: Performance of Templates: time 0.01878/0.4535, allocations: 12.26 MB / 0.798 GB, free: 4.102 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)