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.001188/0.001188, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001445, allocations: 177.2 kB / 16.57 MB, free: 6.855 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.374/1.374, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6841/0.6841, allocations: 113.8 MB / 405.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.0003101, allocations: 8 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.184, allocations: 77.15 MB / 0.5569 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002266/0.1864, allocations: 0.9589 MB / 0.5578 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.1978, allocations: 4.1 MB / 0.5618 GB, free: 6.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.1979, allocations: 0 / 0.5618 GB, free: 6.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.755e-05/0.1979, allocations: 0 / 0.5618 GB, free: 6.52 MB / 430.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.005767/0.2037, allocations: 1.08 MB / 0.5629 GB, free: 5.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.2039, allocations: 27.89 kB / 0.5629 GB, free: 5.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.589e-05/0.204, allocations: 8 kB / 0.5629 GB, free: 5.406 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.204, allocations: 4 kB / 0.5629 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.2041, allocations: 11.94 kB / 0.5629 GB, free: 5.391 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/0.2041, allocations: 11.97 kB / 0.5629 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2042, allocations: 0 / 0.5629 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005699/0.2099, allocations: 1.88 MB / 0.5648 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.2103, allocations: 223.5 kB / 0.565 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.2105, allocations: 77.45 kB / 0.565 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004683/0.2152, allocations: 1.568 MB / 0.5666 GB, free: 1.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2152, allocations: 0 / 0.5666 GB, free: 1.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.2152, allocations: 0 / 0.5666 GB, free: 1.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.2152, allocations: 7.938 kB / 0.5666 GB, free: 1.617 MB / 430.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.004655/0.2199, allocations: 1.215 MB / 0.5678 GB, free: 360 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.22, allocations: 16.02 kB / 0.5678 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.2204, allocations: 43.44 kB / 0.5678 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.2222, allocations: 0.6122 MB / 0.5684 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2222, allocations: 0 / 0.5684 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.2223, allocations: 3.938 kB / 0.5684 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.2226, allocations: 173.6 kB / 0.5686 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2226, allocations: 0 / 0.5686 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2227, allocations: 0 / 0.5686 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2227, allocations: 0 / 0.5686 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.223, allocations: 283.8 kB / 0.5689 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.2242, allocations: 0.5365 MB / 0.5694 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.2244, allocations: 158.5 kB / 0.5695 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.2244, allocations: 0 / 0.5695 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.2245, allocations: 34.56 kB / 0.5696 GB, free: 14.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.2245, allocations: 0 / 0.5696 GB, free: 14.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000898/0.2254, allocations: 0.497 MB / 0.5701 GB, free: 13.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.2255, allocations: 51.41 kB / 0.5701 GB, free: 13.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.2272, allocations: 0.6942 MB / 0.5708 GB, free: 13.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.2273, allocations: 29.7 kB / 0.5708 GB, free: 13.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.2275, allocations: 224.1 kB / 0.571 GB, free: 12.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.2276, allocations: 0 / 0.571 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.2276, allocations: 4 kB / 0.571 GB, free: 12.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002506/0.2279, allocations: 362.8 kB / 0.5714 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.2281, allocations: 148.1 kB / 0.5715 GB, free: 12.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.2283, allocations: 139.9 kB / 0.5717 GB, free: 12.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.2285, allocations: 140 kB / 0.5718 GB, free: 12.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2286, allocations: 0 / 0.5718 GB, free: 12.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0007311/0.2293, allocations: 353 kB / 0.5721 GB, free: 11.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.2293, allocations: 4 kB / 0.5721 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2294, allocations: 3.938 kB / 0.5721 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.2294, allocations: 7.953 kB / 0.5721 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.2295, allocations: 0 / 0.5721 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.2295, allocations: 96 / 0.5721 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.23, allocations: 35.98 kB / 0.5722 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.23, allocations: 4 kB / 0.5722 GB, free: 11.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003614/0.2304, allocations: 206.5 kB / 0.5724 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.2307, allocations: 43.44 kB / 0.5724 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006542/0.2313, allocations: 373 kB / 0.5728 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.2314, allocations: 3.953 kB / 0.5728 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.2314, allocations: 0 / 0.5728 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2314, allocations: 7.875 kB / 0.5728 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.2321, allocations: 441.5 kB / 0.5732 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.2322, allocations: 3.984 kB / 0.5732 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-06/0.2322, allocations: 4 kB / 0.5732 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2322, allocations: 0 / 0.5732 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2322, allocations: 0 / 0.5732 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2322, allocations: 3.938 kB / 0.5732 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.2322, allocations: 3.953 kB / 0.5732 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.233, allocations: 384.5 kB / 0.5736 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008717/0.2339, allocations: 340.3 kB / 0.5739 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.2341, allocations: 0 / 0.5739 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.2346, allocations: 28 kB / 0.5739 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.2346, allocations: 4 kB / 0.5739 GB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2346, allocations: 3.953 kB / 0.5739 GB, free: 9.758 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001365/0.236, allocations: 0.5338 MB / 0.5745 GB, free: 9.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.236, allocations: 0 / 0.5745 GB, free: 9.227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003242/0.2393, allocations: 0.5661 MB / 0.575 GB, free: 8.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005285/0.2446, allocations: 0.9191 MB / 0.5759 GB, free: 7.852 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004522/0.2451, allocations: 283.8 kB / 0.5762 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2451, allocations: 0 / 0.5762 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.2453, allocations: 169.6 kB / 0.5763 GB, free: 7.402 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.2457, allocations: 37.81 kB / 0.5764 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.2479, allocations: 0.8709 MB / 0.5772 GB, free: 6.473 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.2485, allocations: 0.8278 MB / 0.578 GB, free: 5.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002525/0.251, allocations: 448.7 kB / 0.5785 GB, free: 5.219 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/0.2522, allocations: 283.2 kB / 0.5787 GB, free: 4.941 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2522, allocations: 0 / 0.5787 GB, free: 4.941 MB / 446.1 MB Notification: Performance of Templates: time 0.3055/0.5577, allocations: 19.83 MB / 0.5981 GB, free: 28.32 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)