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.0008698/0.0008698, allocations: 89.89 kB / 16.67 MB, free: 6.586 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.0008801/0.0008801, allocations: 178.8 kB / 17.58 MB, free: 6.184 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.468/1.468, allocations: 223.3 MB / 241.6 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7546/0.7546, allocations: 115.5 MB / 408.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 11.98 kB / 496.6 MB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4559, allocations: 77.52 MB / 0.5606 GB, free: 36.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001365/0.4573, allocations: 0.9751 MB / 0.5616 GB, free: 35.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007009/0.4643, allocations: 4.654 MB / 0.5661 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.4644, allocations: 2.625 kB / 0.5661 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.033e-05/0.4645, allocations: 0.6094 kB / 0.5661 GB, free: 32.76 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.004545/0.469, allocations: 1.186 MB / 0.5673 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.4692, allocations: 22.06 kB / 0.5673 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.305e-05/0.4692, allocations: 39.22 kB / 0.5673 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.9e-05/0.4693, allocations: 1.781 kB / 0.5673 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.757e-05/0.4693, allocations: 8.078 kB / 0.5673 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.4695, allocations: 65.25 kB / 0.5674 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.4695, allocations: 1.125 kB / 0.5674 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005052/0.4746, allocations: 2.248 MB / 0.5696 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.4748, allocations: 153.7 kB / 0.5698 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.755e-05/0.4749, allocations: 52.55 kB / 0.5698 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003385/0.4783, allocations: 1.303 MB / 0.5711 GB, free: 31.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4783, allocations: 1.188 kB / 0.5711 GB, free: 31.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4783, allocations: 0 / 0.5711 GB, free: 31.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.4783, allocations: 1.375 kB / 0.5711 GB, free: 31.27 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.001498/0.4798, allocations: 0.6105 MB / 0.5717 GB, free: 30.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.4799, allocations: 13 kB / 0.5717 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.4799, allocations: 2.406 kB / 0.5717 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.48, allocations: 166.5 kB / 0.5718 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.48, allocations: 1.562 kB / 0.5718 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.4801, allocations: 14.03 kB / 0.5719 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.4803, allocations: 167 kB / 0.572 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.4803, allocations: 0 / 0.572 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.4803, allocations: 0.7969 kB / 0.572 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4804, allocations: 1.438 kB / 0.572 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.4807, allocations: 278.9 kB / 0.5723 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.481, allocations: 289.7 kB / 0.5726 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.4812, allocations: 161.8 kB / 0.5727 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.4814, allocations: 153.7 kB / 0.5729 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.4814, allocations: 1.594 kB / 0.5729 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.4814, allocations: 32.55 kB / 0.5729 GB, free: 30.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4814, allocations: 0 / 0.5729 GB, free: 30.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.00054/0.482, allocations: 451.2 kB / 0.5733 GB, free: 30.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.482, allocations: 51.41 kB / 0.5734 GB, free: 30.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.4821, allocations: 170.2 kB / 0.5735 GB, free: 30.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.4822, allocations: 27.05 kB / 0.5736 GB, free: 29.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.98e-05/0.4822, allocations: 82.08 kB / 0.5736 GB, free: 29.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.4822, allocations: 5.281 kB / 0.5736 GB, free: 29.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.4822, allocations: 10.33 kB / 0.5737 GB, free: 29.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.6e-05/0.4823, allocations: 312.9 kB / 0.574 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.4825, allocations: 144.7 kB / 0.5741 GB, free: 29.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.4826, allocations: 144.4 kB / 0.5742 GB, free: 29.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.4829, allocations: 288.7 kB / 0.5745 GB, free: 29.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4829, allocations: 0 / 0.5745 GB, free: 29.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003353/0.4833, allocations: 314.4 kB / 0.5748 GB, free: 29.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4833, allocations: 10.72 kB / 0.5748 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4833, allocations: 0 / 0.5748 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.4833, allocations: 2.406 kB / 0.5748 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.4834, allocations: 1.859 kB / 0.5748 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4834, allocations: 5.062 kB / 0.5748 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.205e-05/0.4835, allocations: 1.469 kB / 0.5748 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.4835, allocations: 8.484 kB / 0.5748 GB, free: 29.5 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.000115/0.4836, allocations: 169.3 kB / 0.575 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.4837, allocations: 5.156 kB / 0.575 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.484, allocations: 322 kB / 0.5753 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4841, allocations: 1.625 kB / 0.5753 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4841, allocations: 0.6562 kB / 0.5753 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4841, allocations: 0 / 0.5753 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.4843, allocations: 288.8 kB / 0.5756 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.4843, allocations: 2.438 kB / 0.5756 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.4844, allocations: 1.281 kB / 0.5756 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4844, allocations: 0 / 0.5756 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.4844, allocations: 2.406 kB / 0.5756 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4844, allocations: 1.156 kB / 0.5756 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4844, allocations: 0 / 0.5756 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.4847, allocations: 348.7 kB / 0.5759 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.4847, allocations: 80.89 kB / 0.576 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/0.4848, allocations: 1.031 kB / 0.576 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.4849, allocations: 4.203 kB / 0.576 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.4849, allocations: 0 / 0.576 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.4849, allocations: 1.891 kB / 0.576 GB, free: 28.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.882e-05/0.485, allocations: 155.3 kB / 0.5762 GB, free: 28.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.485, allocations: 0 / 0.5762 GB, free: 28.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002512/0.4875, allocations: 0.5737 MB / 0.5767 GB, free: 28.79 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.002642/0.4902, allocations: 0.9204 MB / 0.5776 GB, free: 28.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.4906, allocations: 282.7 kB / 0.5779 GB, free: 28.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4906, allocations: 0 / 0.5779 GB, free: 28.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.4907, allocations: 174.9 kB / 0.5781 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.491, allocations: 7.312 kB / 0.5781 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.4915, allocations: 331.9 kB / 0.5784 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.4916, allocations: 0.6733 MB / 0.579 GB, free: 27.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.4916, allocations: 14.95 kB / 0.579 GB, free: 27.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4916, allocations: 1.406 kB / 0.5791 GB, free: 27.61 MB / 446.1 MB Notification: Performance of Templates: time 0.02574/0.5174, allocations: 12.06 MB / 0.5908 GB, free: 20.37 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)