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.001039/0.001039, allocations: 98.56 kB / 16.26 MB, free: 5.934 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.001067/0.001067, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.298/1.298, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7391/0.7391, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.91 kB / 0.4912 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3296, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002386/0.332, allocations: 1.248 MB / 0.5685 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006103/0.3382, allocations: 4.476 MB / 0.5728 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.3382, allocations: 0 / 0.5728 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.112e-05/0.3383, allocations: 1.594 kB / 0.5728 GB, free: 28.89 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.005392/0.3437, allocations: 1.504 MB / 0.5743 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.3439, allocations: 31.95 kB / 0.5743 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.965e-05/0.3439, allocations: 9.047 kB / 0.5744 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.344, allocations: 14.53 kB / 0.5744 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.395e-05/0.344, allocations: 9.625 kB / 0.5744 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.949e-05/0.3441, allocations: 23.81 kB / 0.5744 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.3441, allocations: 0.9688 kB / 0.5744 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004292/0.3484, allocations: 2.203 MB / 0.5766 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3486, allocations: 148.2 kB / 0.5767 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.3486, allocations: 7.016 kB / 0.5767 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.3517, allocations: 1.732 MB / 0.5784 GB, free: 26.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3518, allocations: 0 / 0.5784 GB, free: 26.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3518, allocations: 1.344 kB / 0.5784 GB, free: 26.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3518, allocations: 2.031 kB / 0.5784 GB, free: 26.75 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.0007918/0.3526, allocations: 0.6258 MB / 0.579 GB, free: 26.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3526, allocations: 9.281 kB / 0.579 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3527, allocations: 2.469 kB / 0.579 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.011e-05/0.3527, allocations: 162.1 kB / 0.5792 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3528, allocations: 1.594 kB / 0.5792 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.3528, allocations: 6.031 kB / 0.5792 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.353, allocations: 171.7 kB / 0.5793 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.353, allocations: 0 / 0.5793 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.353, allocations: 3.188 kB / 0.5793 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.353, allocations: 0 / 0.5793 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.3532, allocations: 281.5 kB / 0.5796 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.3535, allocations: 285.1 kB / 0.5799 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.3536, allocations: 165 kB / 0.58 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.3537, allocations: 151.9 kB / 0.5802 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.3537, allocations: 0.7812 kB / 0.5802 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.3538, allocations: 37.58 kB / 0.5802 GB, free: 25.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3538, allocations: 0 / 0.5802 GB, free: 25.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003835/0.3542, allocations: 447.5 kB / 0.5807 GB, free: 25.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.3542, allocations: 57.38 kB / 0.5807 GB, free: 25.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.3543, allocations: 169.7 kB / 0.5809 GB, free: 25.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.3543, allocations: 27.48 kB / 0.5809 GB, free: 25.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.138e-05/0.3543, allocations: 80.14 kB / 0.581 GB, free: 25.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.3544, allocations: 0 / 0.581 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.3544, allocations: 15.16 kB / 0.581 GB, free: 25.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.3544, allocations: 314.8 kB / 0.5813 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3546, allocations: 141.6 kB / 0.5814 GB, free: 24.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.3547, allocations: 141.3 kB / 0.5816 GB, free: 24.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.355, allocations: 293.4 kB / 0.5818 GB, free: 24.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.355, allocations: 0 / 0.5818 GB, free: 24.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002465/0.3552, allocations: 317.5 kB / 0.5821 GB, free: 24.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3552, allocations: 5.375 kB / 0.5821 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3553, allocations: 1.281 kB / 0.5821 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3553, allocations: 4 kB / 0.5822 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.3553, allocations: 5.297 kB / 0.5822 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3554, allocations: 1.781 kB / 0.5822 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.648e-05/0.3554, allocations: 2.375 kB / 0.5822 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.3554, allocations: 1.125 kB / 0.5822 GB, free: 24.72 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 8.142e-05/0.3555, allocations: 167.7 kB / 0.5823 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.3556, allocations: 7.844 kB / 0.5823 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.3558, allocations: 322.5 kB / 0.5826 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3559, allocations: 0 / 0.5826 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3559, allocations: 1.219 kB / 0.5826 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3559, allocations: 1 kB / 0.5826 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.3561, allocations: 287.5 kB / 0.5829 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.3561, allocations: 1.375 kB / 0.5829 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.3561, allocations: 1.406 kB / 0.5829 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3561, allocations: 3.938 kB / 0.5829 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.3561, allocations: 1.469 kB / 0.5829 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3561, allocations: 1.094 kB / 0.5829 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3561, allocations: 3.984 kB / 0.5829 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.3564, allocations: 338.6 kB / 0.5832 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.3564, allocations: 81.09 kB / 0.5833 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/0.3565, allocations: 2.156 kB / 0.5833 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.3566, allocations: 0.875 kB / 0.5833 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.3566, allocations: 5.312 kB / 0.5833 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3566, allocations: 1.156 kB / 0.5833 GB, free: 24.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.081e-05/0.3567, allocations: 156.6 kB / 0.5835 GB, free: 24.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3567, allocations: 1.031 kB / 0.5835 GB, free: 24.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001353/0.3581, allocations: 0.5685 MB / 0.584 GB, free: 23.88 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.00213/0.3602, allocations: 0.9224 MB / 0.5849 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.3605, allocations: 289.6 kB / 0.5852 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3605, allocations: 0 / 0.5852 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.3606, allocations: 169.5 kB / 0.5854 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.3609, allocations: 9.125 kB / 0.5854 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.3619, allocations: 0.9296 MB / 0.5863 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3622, allocations: 0.8192 MB / 0.5871 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.106e-05/0.3622, allocations: 1.75 kB / 0.5871 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.3622, allocations: 12.97 kB / 0.5871 GB, free: 22.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3622, allocations: 3.938 kB / 0.5871 GB, free: 22.22 MB / 446.1 MB Notification: Performance of Templates: time 0.01591/0.3781, allocations: 12.24 MB / 0.5991 GB, free: 10.05 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)