Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7365/0.7365, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 221.5 MB / 395.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.000905, allocations: 105.6 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.586e-05, allocations: 4 kB / 0.5535 GB, free: 9.023 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.503/0.503, allocations: 82.31 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.6698, allocations: 125.6 MB / 0.7565 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.6701, allocations: 111.9 kB / 0.7566 GB, free: 13.05 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd - DAE generated: time 0.06653/0.7367, allocations: 20.78 MB / 0.7769 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7368, allocations: 0 / 0.7769 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.563e-05/0.7368, allocations: 4 kB / 0.7769 GB, free: 8.234 MB / 0.5573 GB 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.002574/0.7394, allocations: 0.8187 MB / 0.7777 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.533e-05/0.7395, allocations: 12.03 kB / 0.7777 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002336/0.7397, allocations: 51.39 kB / 0.7778 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.7407, allocations: 0.5927 MB / 0.7783 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.7408, allocations: 0 / 0.7783 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.7408, allocations: 4 kB / 0.7783 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000254/0.7411, allocations: 119.9 kB / 0.7785 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.7414, allocations: 173.5 kB / 0.7786 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.7415, allocations: 0 / 0.7786 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.7415, allocations: 7.875 kB / 0.7786 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.7415, allocations: 0 / 0.7786 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.7425, allocations: 473.9 kB / 0.7791 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.7428, allocations: 138.5 kB / 0.7792 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.743, allocations: 124.8 kB / 0.7793 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.743, allocations: 0 / 0.7793 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.7431, allocations: 42.53 kB / 0.7794 GB, free: 5.547 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.823e-06/0.7431, allocations: 0 / 0.7794 GB, free: 5.547 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0008302/0.7439, allocations: 324.9 kB / 0.7797 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.744, allocations: 51.41 kB / 0.7797 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009159/0.7449, allocations: 0.5996 MB / 0.7803 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.745, allocations: 25.7 kB / 0.7803 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.7452, allocations: 228.1 kB / 0.7806 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.7452, allocations: 0 / 0.7806 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.7453, allocations: 0 / 0.7806 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002328/0.7455, allocations: 370.7 kB / 0.7809 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.7457, allocations: 119.9 kB / 0.781 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.7459, allocations: 123.9 kB / 0.7812 GB, free: 3.688 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.7462, allocations: 119.9 kB / 0.7813 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7462, allocations: 0 / 0.7813 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006506/0.7468, allocations: 336.8 kB / 0.7816 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.7469, allocations: 8 kB / 0.7816 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.288e-05/0.7469, allocations: 8 kB / 0.7816 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.747, allocations: 0 / 0.7816 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.354e-06/0.747, allocations: 0 / 0.7816 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.747, allocations: 7.984 kB / 0.7816 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.7473, allocations: 36.09 kB / 0.7816 GB, free: 3.176 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.7474, allocations: 28 kB / 0.7817 GB, free: 3.148 MB / 0.5573 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001191/0.7475, allocations: 104.9 kB / 0.7818 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.7476, allocations: 51.44 kB / 0.7818 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.7488, allocations: 485 kB / 0.7823 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7488, allocations: 0 / 0.7823 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7488, allocations: 0 / 0.7823 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.7488, allocations: 0 / 0.7823 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.7493, allocations: 370 kB / 0.7826 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.031e-05/0.7494, allocations: 15.95 kB / 0.7827 GB, free: 2.094 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-06/0.7494, allocations: 3.938 kB / 0.7827 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.7494, allocations: 0 / 0.7827 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.7494, allocations: 4 kB / 0.7827 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.7494, allocations: 0 / 0.7827 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.7494, allocations: 0 / 0.7827 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000638/0.7501, allocations: 360.3 kB / 0.783 GB, free: 1.715 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/0.7505, allocations: 348.3 kB / 0.7833 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.7507, allocations: 4 kB / 0.7833 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.7509, allocations: 36 kB / 0.7834 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.751, allocations: 4 kB / 0.7834 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.751, allocations: 24 kB / 0.7834 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006066/0.7516, allocations: 0.4949 MB / 0.7839 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7516, allocations: 0 / 0.7839 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001902/0.7535, allocations: 491.3 kB / 0.7844 GB, free: 324 kB / 0.5573 GB 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 () * 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.003341/0.7569, allocations: 0.7927 MB / 0.7851 GB, free: 15.57 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004614/0.7574, allocations: 277.5 kB / 0.7854 GB, free: 15.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7574, allocations: 0 / 0.7854 GB, free: 15.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.7576, allocations: 157.5 kB / 0.7855 GB, free: 15.14 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.7579, allocations: 38.91 kB / 0.7856 GB, free: 15.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.7592, allocations: 0.6441 MB / 0.7862 GB, free: 14.43 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.7598, allocations: 0.8314 MB / 0.787 GB, free: 13.57 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001333/0.7611, allocations: 426.2 kB / 0.7874 GB, free: 13.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005803/0.7617, allocations: 267.2 kB / 0.7877 GB, free: 12.93 MB / 0.573 GB Notification: Performance of SimCode: time 4.21e-07/0.7617, allocations: 0 / 0.7877 GB, free: 12.93 MB / 0.573 GB Notification: Performance of Templates: time 0.433/1.195, allocations: 14.85 MB / 0.8022 GB, free: 144.6 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)