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.001232/0.001232, allocations: 111.2 kB / 17.03 MB, free: 5.656 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.00124/0.00124, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.247/1.247, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6684/0.6684, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 494.8 MB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3381, allocations: 76.14 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002398/0.3405, allocations: 1.238 MB / 0.5588 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005976/0.3465, allocations: 4.475 MB / 0.5632 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.3466, allocations: 0 / 0.5632 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.802e-05/0.3467, allocations: 4.5 kB / 0.5632 GB, free: 32.77 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.004806/0.3515, allocations: 1.5 MB / 0.5646 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.3516, allocations: 42.78 kB / 0.5647 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.3517, allocations: 8.094 kB / 0.5647 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.3517, allocations: 3.375 kB / 0.5647 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.487e-05/0.3518, allocations: 12.61 kB / 0.5647 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.3518, allocations: 23.72 kB / 0.5647 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.3518, allocations: 2.094 kB / 0.5647 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00433/0.3562, allocations: 2.279 MB / 0.567 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.3564, allocations: 152 kB / 0.5671 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.3564, allocations: 2.922 kB / 0.5671 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003907/0.3603, allocations: 1.73 MB / 0.5688 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3603, allocations: 0 / 0.5688 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3604, allocations: 1.781 kB / 0.5688 GB, free: 31.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3604, allocations: 1.031 kB / 0.5688 GB, free: 31.02 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.001395/0.3618, allocations: 0.6235 MB / 0.5694 GB, free: 30.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3618, allocations: 9.375 kB / 0.5694 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.3619, allocations: 2 kB / 0.5694 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.599e-05/0.3619, allocations: 166.5 kB / 0.5696 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.362, allocations: 2.906 kB / 0.5696 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.362, allocations: 4.125 kB / 0.5696 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.3622, allocations: 167.6 kB / 0.5697 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3622, allocations: 1.156 kB / 0.5697 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3622, allocations: 4.781 kB / 0.5697 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3622, allocations: 0 / 0.5697 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.3625, allocations: 277.3 kB / 0.57 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.3628, allocations: 295 kB / 0.5703 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.363, allocations: 158.9 kB / 0.5704 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.3631, allocations: 150.5 kB / 0.5706 GB, free: 30.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.3632, allocations: 1.25 kB / 0.5706 GB, free: 30.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.3632, allocations: 32.14 kB / 0.5706 GB, free: 29.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3632, allocations: 2.125 kB / 0.5706 GB, free: 29.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004992/0.3637, allocations: 453.1 kB / 0.5711 GB, free: 29.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.3637, allocations: 58.09 kB / 0.5711 GB, free: 29.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.3639, allocations: 164.9 kB / 0.5713 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.3639, allocations: 28.77 kB / 0.5713 GB, free: 29.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.575e-05/0.3639, allocations: 84.14 kB / 0.5714 GB, free: 29.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.3639, allocations: 4.5 kB / 0.5714 GB, free: 29.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.364, allocations: 14.8 kB / 0.5714 GB, free: 29.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.364, allocations: 311.4 kB / 0.5717 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.3642, allocations: 146.1 kB / 0.5718 GB, free: 29.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3643, allocations: 143.6 kB / 0.572 GB, free: 29.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.3645, allocations: 287 kB / 0.5722 GB, free: 29.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3645, allocations: 0.5312 kB / 0.5722 GB, free: 29.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002911/0.3648, allocations: 323 kB / 0.5725 GB, free: 29.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3649, allocations: 5.953 kB / 0.5726 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3649, allocations: 2.781 kB / 0.5726 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3649, allocations: 0 / 0.5726 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.365, allocations: 2.188 kB / 0.5726 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.365, allocations: 1.344 kB / 0.5726 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.3651, allocations: 1.672 kB / 0.5726 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.3651, allocations: 1.188 kB / 0.5726 GB, free: 29.26 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.0001109/0.3652, allocations: 168.2 kB / 0.5727 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.3652, allocations: 5.312 kB / 0.5727 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.3655, allocations: 321.9 kB / 0.573 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3656, allocations: 1.312 kB / 0.573 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3656, allocations: 0 / 0.573 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3656, allocations: 5.953 kB / 0.573 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.3658, allocations: 289.1 kB / 0.5733 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.3658, allocations: 0.9688 kB / 0.5733 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-06/0.3658, allocations: 0.7031 kB / 0.5733 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3658, allocations: 6.156 kB / 0.5733 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.3658, allocations: 0 / 0.5733 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3659, allocations: 1.688 kB / 0.5733 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3659, allocations: 0.5 kB / 0.5733 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.3662, allocations: 341.8 kB / 0.5737 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.3662, allocations: 78.86 kB / 0.5737 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.3663, allocations: 2.469 kB / 0.5737 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.3663, allocations: 0.6562 kB / 0.5737 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.3663, allocations: 0.9688 kB / 0.5737 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3664, allocations: 6.859 kB / 0.5737 GB, free: 28.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.656e-05/0.3665, allocations: 154.9 kB / 0.5739 GB, free: 28.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3665, allocations: 0 / 0.5739 GB, free: 28.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002198/0.3687, allocations: 0.5692 MB / 0.5744 GB, free: 28.54 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.002347/0.371, allocations: 0.9145 MB / 0.5753 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.3713, allocations: 286.8 kB / 0.5756 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3713, allocations: 1.938 kB / 0.5756 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3715, allocations: 169 kB / 0.5758 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.3717, allocations: 12.47 kB / 0.5758 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.3727, allocations: 0.9305 MB / 0.5767 GB, free: 27.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.373, allocations: 0.8168 MB / 0.5775 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.881e-05/0.373, allocations: 4.5 kB / 0.5775 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.373, allocations: 18.19 kB / 0.5775 GB, free: 27.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3731, allocations: 0 / 0.5775 GB, free: 27.15 MB / 446.1 MB Notification: Performance of Templates: time 0.01841/0.3915, allocations: 12.24 MB / 0.5895 GB, free: 19.76 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)