Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 105.3 kB / 16.41 MB, free: 6.5 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.001123/0.001123, allocations: 187 kB / 17.34 MB, free: 5.742 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7893/0.7893, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 62.41 kB / 0.5821 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.182, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003168/0.1852, allocations: 1.355 MB / 0.6617 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1871, allocations: 1.072 MB / 0.6628 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.1872, allocations: 0 / 0.6628 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.1873, allocations: 3.938 kB / 0.6628 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.577e-05/0.1873, allocations: 7.922 kB / 0.6628 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.188, allocations: 215.2 kB / 0.663 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.403e-05/0.1881, allocations: 31.86 kB / 0.663 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.1881, allocations: 0 / 0.663 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.1882, allocations: 19.92 kB / 0.663 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.1883, allocations: 7.938 kB / 0.663 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1883, allocations: 4 kB / 0.663 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006115/0.1889, allocations: 419.5 kB / 0.6634 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.1889, allocations: 4 kB / 0.6635 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.189, allocations: 19.91 kB / 0.6635 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.1893, allocations: 195.6 kB / 0.6637 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1893, allocations: 3.938 kB / 0.6637 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.657e-06/0.1893, allocations: 0 / 0.6637 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1893, allocations: 3.938 kB / 0.6637 GB, free: 6.887 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005132/0.1898, allocations: 383.3 kB / 0.664 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1899, allocations: 9.109 kB / 0.664 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.1899, allocations: 8.844 kB / 0.664 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1901, allocations: 172.4 kB / 0.6642 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1901, allocations: 4.375 kB / 0.6642 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.1901, allocations: 7.938 kB / 0.6642 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.1902, allocations: 33.7 kB / 0.6643 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1902, allocations: 0 / 0.6643 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1902, allocations: 3.984 kB / 0.6643 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1903, allocations: 0 / 0.6643 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.22e-05/0.1903, allocations: 11.98 kB / 0.6643 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.1905, allocations: 169.5 kB / 0.6644 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.1906, allocations: 46.55 kB / 0.6645 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.1907, allocations: 16.89 kB / 0.6645 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009074/0.1916, allocations: 0.9856 MB / 0.6655 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1916, allocations: 30.56 kB / 0.6655 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.1916, allocations: 0 / 0.6655 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001886/0.1918, allocations: 61.53 kB / 0.6655 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.1919, allocations: 55.39 kB / 0.6656 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.133e-05/0.1919, allocations: 101.9 kB / 0.6657 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.192, allocations: 25.7 kB / 0.6657 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.192, allocations: 96.12 kB / 0.6658 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.192, allocations: 7.844 kB / 0.6658 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.1921, allocations: 17.72 kB / 0.6658 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1922, allocations: 318.8 kB / 0.6661 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.1922, allocations: 4 kB / 0.6661 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.712e-05/0.1922, allocations: 11.94 kB / 0.6662 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/0.1923, allocations: 16.86 kB / 0.6662 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1923, allocations: 0 / 0.6662 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001072/0.1924, allocations: 61.47 kB / 0.6662 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1924, allocations: 8 kB / 0.6662 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1924, allocations: 4 kB / 0.6662 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1925, allocations: 0 / 0.6662 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1926, allocations: 15.98 kB / 0.6663 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1926, allocations: 0 / 0.6663 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.1926, allocations: 4 kB / 0.6663 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1926, allocations: 0 / 0.6663 GB, free: 3.785 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.275e-05/0.1927, allocations: 113.8 kB / 0.6664 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.1927, allocations: 3.906 kB / 0.6664 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.1929, allocations: 69.52 kB / 0.6664 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1929, allocations: 0 / 0.6664 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1929, allocations: 0 / 0.6664 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1929, allocations: 4 kB / 0.6664 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.193, allocations: 157.6 kB / 0.6666 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.193, allocations: 0 / 0.6666 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.1931, allocations: 15.98 kB / 0.6666 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1931, allocations: 4 kB / 0.6666 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1931, allocations: 4.375 kB / 0.6666 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1931, allocations: 0 / 0.6666 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1931, allocations: 8 kB / 0.6666 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.955e-05/0.1932, allocations: 77.05 kB / 0.6667 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.1933, allocations: 84.95 kB / 0.6668 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1933, allocations: 8 kB / 0.6668 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.1933, allocations: 3.938 kB / 0.6668 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.1934, allocations: 3.984 kB / 0.6668 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1934, allocations: 4 kB / 0.6668 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.1934, allocations: 83.59 kB / 0.6669 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1934, allocations: 0 / 0.6669 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002253/0.1936, allocations: 43.92 kB / 0.6669 GB, free: 2.996 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0002523/0.1939, allocations: 151.1 kB / 0.6671 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.939e-05/0.194, allocations: 20 kB / 0.6671 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.194, allocations: 0 / 0.6671 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.194, allocations: 15.92 kB / 0.6671 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.1943, allocations: 8.172 kB / 0.6671 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.1947, allocations: 181.9 kB / 0.6673 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.1949, allocations: 0.6807 MB / 0.6679 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.1949, allocations: 7.438 kB / 0.6679 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1949, allocations: 0 / 0.6679 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of Templates: time 0.002541/0.1975, allocations: 1.037 MB / 0.669 GB, free: 0.8438 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)