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.00145/0.00145, allocations: 117.8 kB / 17.04 MB, free: 6.023 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.001723/0.001723, allocations: 194.9 kB / 17.98 MB, free: 5.105 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.433/1.433, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7246/0.7246, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.89 kB / 494.9 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2993, allocations: 76.13 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002031/0.3014, allocations: 1.249 MB / 0.5588 GB, free: 35.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005405/0.3068, allocations: 4.471 MB / 0.5632 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.3068, allocations: 0 / 0.5632 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.444e-05/0.3069, allocations: 2.859 kB / 0.5632 GB, free: 32.8 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.003996/0.3109, allocations: 1.5 MB / 0.5647 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.519e-05/0.311, allocations: 35.92 kB / 0.5647 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.219e-05/0.3111, allocations: 17.3 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.3111, allocations: 2.469 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.018e-05/0.3111, allocations: 9.766 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.3112, allocations: 25 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.3112, allocations: 3.984 kB / 0.5647 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/0.3148, allocations: 2.276 MB / 0.567 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.315, allocations: 148.8 kB / 0.5671 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.315, allocations: 5.797 kB / 0.5671 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003004/0.318, allocations: 1.734 MB / 0.5688 GB, free: 31.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3181, allocations: 1.781 kB / 0.5688 GB, free: 31.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3181, allocations: 0 / 0.5688 GB, free: 31.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3181, allocations: 1.188 kB / 0.5688 GB, free: 31.04 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.0009785/0.3191, allocations: 0.6181 MB / 0.5694 GB, free: 30.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3191, allocations: 10.59 kB / 0.5694 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.3191, allocations: 2.312 kB / 0.5694 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.643e-05/0.3192, allocations: 164.3 kB / 0.5696 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3192, allocations: 1.562 kB / 0.5696 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.3193, allocations: 4.125 kB / 0.5696 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3194, allocations: 167.9 kB / 0.5698 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.3194, allocations: 2.406 kB / 0.5698 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.3195, allocations: 1.094 kB / 0.5698 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3195, allocations: 0.7031 kB / 0.5698 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.3197, allocations: 288.3 kB / 0.57 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.3199, allocations: 288.4 kB / 0.5703 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.3201, allocations: 157.4 kB / 0.5705 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3202, allocations: 150.4 kB / 0.5706 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.3202, allocations: 0.9375 kB / 0.5706 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.3202, allocations: 37.16 kB / 0.5706 GB, free: 30 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3202, allocations: 0 / 0.5706 GB, free: 30 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003812/0.3206, allocations: 455.3 kB / 0.5711 GB, free: 29.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.3206, allocations: 52.59 kB / 0.5711 GB, free: 29.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.665e-05/0.3207, allocations: 170.2 kB / 0.5713 GB, free: 29.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.3207, allocations: 26.83 kB / 0.5713 GB, free: 29.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.002e-05/0.3208, allocations: 81.38 kB / 0.5714 GB, free: 29.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.3208, allocations: 2 kB / 0.5714 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.3208, allocations: 11.86 kB / 0.5714 GB, free: 29.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.471e-05/0.3209, allocations: 314.3 kB / 0.5717 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.321, allocations: 141 kB / 0.5718 GB, free: 29.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.3211, allocations: 140.2 kB / 0.572 GB, free: 29.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.3212, allocations: 292.1 kB / 0.5722 GB, free: 29.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3213, allocations: 4.547 kB / 0.5723 GB, free: 29.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002373/0.3215, allocations: 322.8 kB / 0.5726 GB, free: 29.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3215, allocations: 5.469 kB / 0.5726 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3215, allocations: 0.7969 kB / 0.5726 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3215, allocations: 1.188 kB / 0.5726 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-05/0.3216, allocations: 2.938 kB / 0.5726 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3216, allocations: 1.562 kB / 0.5726 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.3217, allocations: 4 kB / 0.5726 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-06/0.3217, allocations: 1.562 kB / 0.5726 GB, free: 29.29 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 7.842e-05/0.3218, allocations: 168.3 kB / 0.5727 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.3218, allocations: 6.125 kB / 0.5727 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.3221, allocations: 324.8 kB / 0.5731 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3221, allocations: 1.125 kB / 0.5731 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3221, allocations: 1.109 kB / 0.5731 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3221, allocations: 0.5312 kB / 0.5731 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.3223, allocations: 296.8 kB / 0.5733 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.3223, allocations: 2.906 kB / 0.5733 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-07/0.3223, allocations: 0 / 0.5733 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3223, allocations: 1.094 kB / 0.5733 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.3224, allocations: 2.297 kB / 0.5733 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3224, allocations: 0 / 0.5733 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3224, allocations: 1.25 kB / 0.5733 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.3226, allocations: 342.8 kB / 0.5737 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.3226, allocations: 77.62 kB / 0.5737 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.3227, allocations: 0.5156 kB / 0.5737 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-05/0.3228, allocations: 3.188 kB / 0.5737 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.3228, allocations: 0.9062 kB / 0.5737 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.3228, allocations: 0.5156 kB / 0.5737 GB, free: 28.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.553e-05/0.3229, allocations: 160.6 kB / 0.5739 GB, free: 28.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3229, allocations: 0 / 0.5739 GB, free: 28.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001531/0.3244, allocations: 0.57 MB / 0.5745 GB, free: 28.56 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.002105/0.3265, allocations: 0.9196 MB / 0.5754 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.3268, allocations: 286.4 kB / 0.5756 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3268, allocations: 1.438 kB / 0.5756 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3269, allocations: 167.5 kB / 0.5758 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.3271, allocations: 6.688 kB / 0.5758 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009918/0.3281, allocations: 0.9319 MB / 0.5767 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.3284, allocations: 0.8203 MB / 0.5775 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.882e-05/0.3284, allocations: 3.312 kB / 0.5775 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.3284, allocations: 12.38 kB / 0.5775 GB, free: 27.18 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3284, allocations: 2.406 kB / 0.5775 GB, free: 27.18 MB / 446.1 MB Notification: Performance of Templates: time 0.01747/0.3459, allocations: 12.24 MB / 0.5895 GB, free: 19.78 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)