Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001439/0.001439, allocations: 106.2 kB / 16.52 MB, free: 6.66 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.00143/0.00143, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.391/1.391, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7526/0.7526, allocations: 115.3 MB / 406.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 63.91 kB / 493.6 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4598, allocations: 76.16 MB / 0.5564 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002526/0.4624, allocations: 1.317 MB / 0.5577 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007199/0.4696, allocations: 4.762 MB / 0.5623 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.4697, allocations: 1.344 kB / 0.5623 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.225e-05/0.4698, allocations: 0.6562 kB / 0.5623 GB, free: 32.3 MB / 446.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‘. Notification: Performance of NFTyping.typeBindings: time 0.005111/0.4749, allocations: 1.183 MB / 0.5635 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.4751, allocations: 21.28 kB / 0.5635 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.862e-05/0.4752, allocations: 34.36 kB / 0.5636 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.4752, allocations: 2.25 kB / 0.5636 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.935e-05/0.4753, allocations: 16.47 kB / 0.5636 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.4754, allocations: 63.08 kB / 0.5636 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.4754, allocations: 0 / 0.5636 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005567/0.481, allocations: 2.248 MB / 0.5658 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.4813, allocations: 148.8 kB / 0.566 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.4814, allocations: 25.62 kB / 0.566 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003873/0.4852, allocations: 1.306 MB / 0.5673 GB, free: 30.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4853, allocations: 0 / 0.5673 GB, free: 30.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4853, allocations: 0 / 0.5673 GB, free: 30.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.4853, allocations: 4.938 kB / 0.5673 GB, free: 30.84 MB / 446.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.001557/0.4869, allocations: 0.6217 MB / 0.5679 GB, free: 30.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.4869, allocations: 14.69 kB / 0.5679 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.487, allocations: 0.9375 kB / 0.5679 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.4871, allocations: 164.4 kB / 0.5681 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.4872, allocations: 1.438 kB / 0.5681 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.4872, allocations: 4.625 kB / 0.5681 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.4875, allocations: 168.5 kB / 0.5682 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.4875, allocations: 2.531 kB / 0.5682 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.4875, allocations: 0 / 0.5682 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4875, allocations: 0 / 0.5682 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.4879, allocations: 281.2 kB / 0.5685 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.4883, allocations: 293 kB / 0.5688 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.4886, allocations: 162.1 kB / 0.5689 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.4888, allocations: 149.1 kB / 0.5691 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.4888, allocations: 1.25 kB / 0.5691 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.4888, allocations: 32.3 kB / 0.5691 GB, free: 29.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.764e-06/0.4888, allocations: 1.844 kB / 0.5691 GB, free: 29.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0007645/0.4896, allocations: 459.3 kB / 0.5695 GB, free: 29.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.4896, allocations: 51.41 kB / 0.5696 GB, free: 29.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.4898, allocations: 165.5 kB / 0.5697 GB, free: 29.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.4899, allocations: 26.23 kB / 0.5698 GB, free: 29.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.4899, allocations: 82.95 kB / 0.5698 GB, free: 29.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.49, allocations: 3.906 kB / 0.5699 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.49, allocations: 17.77 kB / 0.5699 GB, free: 29.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.4901, allocations: 313.4 kB / 0.5702 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.4903, allocations: 140.6 kB / 0.5703 GB, free: 29.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.4906, allocations: 140.2 kB / 0.5704 GB, free: 29.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.4909, allocations: 288.2 kB / 0.5707 GB, free: 29.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.491, allocations: 0.7031 kB / 0.5707 GB, free: 29.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004862/0.4914, allocations: 322 kB / 0.571 GB, free: 29.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.4915, allocations: 6.453 kB / 0.571 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4915, allocations: 3.938 kB / 0.571 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.4915, allocations: 1.812 kB / 0.571 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.4916, allocations: 2.703 kB / 0.571 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4917, allocations: 1.25 kB / 0.571 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.204e-05/0.4917, allocations: 5.828 kB / 0.571 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.4918, allocations: 1.188 kB / 0.571 GB, free: 29.09 MB / 446.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 0.000189/0.492, allocations: 168.5 kB / 0.5712 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.492, allocations: 6.062 kB / 0.5712 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.4925, allocations: 326.5 kB / 0.5715 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4925, allocations: 1.281 kB / 0.5715 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4925, allocations: 1.438 kB / 0.5715 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4925, allocations: 0 / 0.5715 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.4928, allocations: 287 kB / 0.5718 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.4928, allocations: 1.594 kB / 0.5718 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-06/0.4929, allocations: 5.891 kB / 0.5718 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4929, allocations: 0 / 0.5718 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4929, allocations: 1.312 kB / 0.5718 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4929, allocations: 0.7031 kB / 0.5718 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4929, allocations: 0.5 kB / 0.5718 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.4933, allocations: 345.9 kB / 0.5721 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.4933, allocations: 78.39 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.4934, allocations: 0 / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.4935, allocations: 0 / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.4935, allocations: 2.438 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.4935, allocations: 1.188 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.4936, allocations: 149.6 kB / 0.5724 GB, free: 28.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4936, allocations: 0 / 0.5724 GB, free: 28.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002979/0.4966, allocations: 0.5738 MB / 0.5729 GB, free: 28.38 MB / 446.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.00377/0.5004, allocations: 0.9258 MB / 0.5738 GB, free: 28.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005416/0.501, allocations: 292 kB / 0.5741 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.501, allocations: 0.7188 kB / 0.5741 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.5012, allocations: 168.5 kB / 0.5743 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.5015, allocations: 9.766 kB / 0.5743 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006813/0.5022, allocations: 331.5 kB / 0.5746 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.5024, allocations: 0.6718 MB / 0.5752 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.5024, allocations: 13.11 kB / 0.5753 GB, free: 27.19 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5024, allocations: 0.9062 kB / 0.5753 GB, free: 27.19 MB / 446.1 MB Notification: Performance of Templates: time 0.02499/0.5274, allocations: 12.11 MB / 0.5871 GB, free: 21.1 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)