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.001437/0.001437, allocations: 101 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.001708/0.001708, allocations: 187.4 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7538/0.7538, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.91 kB / 0.4911 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3424, allocations: 77.93 MB / 0.5672 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002331/0.3448, allocations: 1.234 MB / 0.5684 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005627/0.3505, allocations: 4.473 MB / 0.5728 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.3505, allocations: 1.094 kB / 0.5728 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.783e-05/0.3506, allocations: 9.453 kB / 0.5728 GB, free: 28.79 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.00412/0.3547, allocations: 1.502 MB / 0.5743 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.611e-05/0.3548, allocations: 36.16 kB / 0.5743 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.874e-05/0.3549, allocations: 13.95 kB / 0.5743 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.3549, allocations: 6.75 kB / 0.5743 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.043e-05/0.3549, allocations: 8.938 kB / 0.5744 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.355, allocations: 20.17 kB / 0.5744 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.355, allocations: 0.7812 kB / 0.5744 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003585/0.3586, allocations: 2.206 MB / 0.5765 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.3587, allocations: 153.6 kB / 0.5767 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.3588, allocations: 2.75 kB / 0.5767 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003076/0.3619, allocations: 1.733 MB / 0.5784 GB, free: 26.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3619, allocations: 3.984 kB / 0.5784 GB, free: 26.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3619, allocations: 0 / 0.5784 GB, free: 26.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3619, allocations: 1.344 kB / 0.5784 GB, free: 26.68 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.0009716/0.3629, allocations: 0.6181 MB / 0.579 GB, free: 26.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.3629, allocations: 10.69 kB / 0.579 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.3629, allocations: 0.9375 kB / 0.579 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.495e-05/0.363, allocations: 167.1 kB / 0.5791 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.363, allocations: 1.125 kB / 0.5791 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.3631, allocations: 5.5 kB / 0.5792 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.3632, allocations: 171.8 kB / 0.5793 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.3633, allocations: 0.5938 kB / 0.5793 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.3633, allocations: 1.844 kB / 0.5793 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3633, allocations: 0 / 0.5793 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.3635, allocations: 280.5 kB / 0.5796 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.3637, allocations: 291.8 kB / 0.5799 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.3638, allocations: 154.7 kB / 0.58 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.3639, allocations: 150.2 kB / 0.5802 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.364, allocations: 3.938 kB / 0.5802 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.364, allocations: 32.38 kB / 0.5802 GB, free: 25.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.364, allocations: 0.5 kB / 0.5802 GB, free: 25.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000394/0.3644, allocations: 457.3 kB / 0.5806 GB, free: 25.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.3644, allocations: 51.97 kB / 0.5807 GB, free: 25.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.3645, allocations: 169 kB / 0.5808 GB, free: 25.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.3645, allocations: 28.27 kB / 0.5809 GB, free: 25.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.021e-05/0.3645, allocations: 80.14 kB / 0.5809 GB, free: 25.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.3646, allocations: 7.984 kB / 0.581 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.3646, allocations: 17.5 kB / 0.581 GB, free: 25.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.683e-05/0.3646, allocations: 310.8 kB / 0.5813 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.3647, allocations: 143.8 kB / 0.5814 GB, free: 24.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-05/0.3648, allocations: 145.7 kB / 0.5815 GB, free: 24.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.365, allocations: 284.9 kB / 0.5818 GB, free: 24.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.365, allocations: 1.219 kB / 0.5818 GB, free: 24.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000227/0.3653, allocations: 319.6 kB / 0.5821 GB, free: 24.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3653, allocations: 6.562 kB / 0.5821 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3653, allocations: 0.9375 kB / 0.5821 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3653, allocations: 0 / 0.5821 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/0.3654, allocations: 2.156 kB / 0.5821 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3654, allocations: 0.8438 kB / 0.5821 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.598e-05/0.3655, allocations: 1.406 kB / 0.5821 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3655, allocations: 1.406 kB / 0.5821 GB, free: 24.66 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.973e-05/0.3656, allocations: 167.6 kB / 0.5823 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.3656, allocations: 17.8 kB / 0.5823 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.3658, allocations: 321.3 kB / 0.5826 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3659, allocations: 1.281 kB / 0.5826 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3659, allocations: 2.656 kB / 0.5826 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3659, allocations: 0 / 0.5826 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.3661, allocations: 291.6 kB / 0.5829 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3661, allocations: 1.031 kB / 0.5829 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/0.3661, allocations: 4 kB / 0.5829 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3661, allocations: 1.219 kB / 0.5829 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.3661, allocations: 0 / 0.5829 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3661, allocations: 1.844 kB / 0.5829 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3661, allocations: 0 / 0.5829 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.3663, allocations: 346.2 kB / 0.5832 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.3664, allocations: 80.3 kB / 0.5833 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.3664, allocations: 0 / 0.5833 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.3665, allocations: 0 / 0.5833 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.3665, allocations: 5.547 kB / 0.5833 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.3665, allocations: 0.625 kB / 0.5833 GB, free: 24.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.292e-05/0.3666, allocations: 151.3 kB / 0.5835 GB, free: 23.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3666, allocations: 0 / 0.5835 GB, free: 23.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001446/0.3681, allocations: 0.5695 MB / 0.584 GB, free: 23.8 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.002625/0.3707, allocations: 0.9223 MB / 0.5849 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.371, allocations: 280.3 kB / 0.5852 GB, free: 23.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.371, allocations: 3.438 kB / 0.5852 GB, free: 23.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.3711, allocations: 172.3 kB / 0.5854 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.3713, allocations: 5.188 kB / 0.5854 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.3724, allocations: 0.9325 MB / 0.5863 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3726, allocations: 0.8146 MB / 0.5871 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.437e-05/0.3727, allocations: 11.02 kB / 0.5871 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.3727, allocations: 15.44 kB / 0.5871 GB, free: 22.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3727, allocations: 2.938 kB / 0.5871 GB, free: 22.15 MB / 446.1 MB Notification: Performance of Templates: time 0.01679/0.3895, allocations: 12.24 MB / 0.599 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)