Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 104.7 kB / 16.27 MB, free: 5.98 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.001583/0.001583, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.423/1.423, 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/IDEAS 3.0.0/package.mo): time 0.8577/0.8577, allocations: 132.2 MB / 423.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.89 kB / 0.5025 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.4955, allocations: 80.19 MB / 0.5808 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002377/0.4979, allocations: 1.362 MB / 0.5821 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002787/0.5007, allocations: 1.792 MB / 0.5839 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.5008, allocations: 0 / 0.5839 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.727e-05/0.5009, allocations: 15.02 kB / 0.5839 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.5011, allocations: 26.16 kB / 0.5839 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.5036, allocations: 1.147 MB / 0.585 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.5037, allocations: 43.16 kB / 0.5851 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.5038, allocations: 9.172 kB / 0.5851 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.5039, allocations: 26.42 kB / 0.5851 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.5039, allocations: 22.86 kB / 0.5851 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.5039, allocations: 3.562 kB / 0.5851 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.5051, allocations: 0.8482 MB / 0.586 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.5052, allocations: 26.16 kB / 0.586 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.5052, allocations: 29.3 kB / 0.586 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009529/0.5062, allocations: 0.7985 MB / 0.5868 GB, free: 23.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5062, allocations: 3.438 kB / 0.5868 GB, free: 23.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5062, allocations: 0 / 0.5868 GB, free: 23.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.5062, allocations: 0 / 0.5868 GB, free: 23.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005275/0.5067, allocations: 474 kB / 0.5873 GB, free: 22.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5068, allocations: 9.844 kB / 0.5873 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.5068, allocations: 10.81 kB / 0.5873 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.507, allocations: 195.6 kB / 0.5875 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.507, allocations: 0 / 0.5875 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.507, allocations: 5.156 kB / 0.5875 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.5071, allocations: 53.06 kB / 0.5875 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.5071, allocations: 0.7188 kB / 0.5875 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.5071, allocations: 1.438 kB / 0.5875 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5072, allocations: 1.281 kB / 0.5875 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.033e-05/0.5072, allocations: 26.42 kB / 0.5875 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.5074, allocations: 201.2 kB / 0.5877 GB, free: 22.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.008e-05/0.5075, allocations: 39.55 kB / 0.5878 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.5075, allocations: 39.66 kB / 0.5878 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.5076, allocations: 2.5 kB / 0.5878 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.5076, allocations: 31.09 kB / 0.5878 GB, free: 22.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.5076, allocations: 3.844 kB / 0.5878 GB, free: 22.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002093/0.5078, allocations: 117 kB / 0.588 GB, free: 21.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.5079, allocations: 51.41 kB / 0.588 GB, free: 21.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.508, allocations: 153.7 kB / 0.5882 GB, free: 21.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.508, allocations: 25.7 kB / 0.5882 GB, free: 21.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.5081, allocations: 97.14 kB / 0.5883 GB, free: 21.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.5081, allocations: 26.25 kB / 0.5883 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.5081, allocations: 21.12 kB / 0.5883 GB, free: 21.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.5082, allocations: 330.9 kB / 0.5886 GB, free: 21.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.5082, allocations: 33.2 kB / 0.5887 GB, free: 21.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.5083, allocations: 18.5 kB / 0.5887 GB, free: 21.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.674e-05/0.5084, allocations: 72.72 kB / 0.5887 GB, free: 21.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5084, allocations: 0 / 0.5887 GB, free: 21.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001093/0.5085, allocations: 88.58 kB / 0.5888 GB, free: 21.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5085, allocations: 5.094 kB / 0.5888 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.5085, allocations: 1.562 kB / 0.5888 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.5085, allocations: 0.5 kB / 0.5888 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.5085, allocations: 2 kB / 0.5888 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.5086, allocations: 0 / 0.5888 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.5086, allocations: 5.75 kB / 0.5888 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.5086, allocations: 4.969 kB / 0.5889 GB, free: 21.2 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): 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 prepare postOptimizeDAE: time 7.161e-05/0.5087, allocations: 127.2 kB / 0.589 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.5087, allocations: 11.73 kB / 0.589 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.5089, allocations: 108.5 kB / 0.5891 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5089, allocations: 1.062 kB / 0.5891 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5089, allocations: 0 / 0.5891 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5089, allocations: 1.031 kB / 0.5891 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.509, allocations: 197.7 kB / 0.5893 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.5091, allocations: 5.25 kB / 0.5893 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.5091, allocations: 1.844 kB / 0.5893 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.5091, allocations: 1.25 kB / 0.5893 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.5091, allocations: 3.938 kB / 0.5893 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5091, allocations: 1.562 kB / 0.5893 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5091, allocations: 0 / 0.5893 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.5092, allocations: 127.6 kB / 0.5894 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.5093, allocations: 83.67 kB / 0.5895 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.5093, allocations: 1.844 kB / 0.5895 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.5093, allocations: 3.984 kB / 0.5895 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.5093, allocations: 2.344 kB / 0.5895 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.5093, allocations: 5.234 kB / 0.5895 GB, free: 20.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.203e-05/0.5094, allocations: 122.6 kB / 0.5896 GB, free: 20.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5094, allocations: 1.719 kB / 0.5896 GB, free: 20.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006298/0.5101, allocations: 213 kB / 0.5898 GB, free: 20.43 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.0007704/0.5108, allocations: 328.6 kB / 0.5901 GB, free: 20.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.511, allocations: 95.78 kB / 0.5902 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.511, allocations: 0.625 kB / 0.5902 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.5111, allocations: 72.69 kB / 0.5903 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.5113, allocations: 9.125 kB / 0.5903 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.5117, allocations: 256.4 kB / 0.5906 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.5119, allocations: 0.7008 MB / 0.5912 GB, free: 19.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.5119, allocations: 11.44 kB / 0.5913 GB, free: 19.18 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5119, allocations: 0.8125 kB / 0.5913 GB, free: 19.18 MB / 446.1 MB Notification: Performance of Templates: time 0.005298/0.5172, allocations: 3.983 MB / 0.5951 GB, free: 15.26 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)