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.00113/0.00113, allocations: 102 kB / 16.4 MB, free: 6.406 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.00109/0.00109, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7926/0.7926, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 57.97 kB / 0.5821 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1654, allocations: 80.2 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.002592/0.168, allocations: 1.362 MB / 0.6617 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1697, allocations: 1.072 MB / 0.6628 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.1698, allocations: 0 / 0.6628 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.1698, allocations: 0 / 0.6628 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-05/0.1699, allocations: 11.92 kB / 0.6628 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008154/0.1707, allocations: 214.4 kB / 0.663 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.1708, allocations: 31.86 kB / 0.663 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.1709, allocations: 4 kB / 0.663 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.728e-05/0.1709, allocations: 11.94 kB / 0.663 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.171, allocations: 19.92 kB / 0.6631 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.171, allocations: 0 / 0.6631 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006387/0.1717, allocations: 423.4 kB / 0.6635 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.1717, allocations: 7.984 kB / 0.6635 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.1717, allocations: 15.92 kB / 0.6635 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.1721, allocations: 195.6 kB / 0.6637 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1721, allocations: 0 / 0.6637 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1721, allocations: 0 / 0.6637 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.1721, allocations: 0 / 0.6637 GB, free: 6.895 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.0004764/0.1726, allocations: 383.3 kB / 0.664 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1726, allocations: 9.109 kB / 0.664 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.1727, allocations: 8.844 kB / 0.664 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1728, allocations: 168.3 kB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1728, allocations: 4.375 kB / 0.6642 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.1728, allocations: 11.92 kB / 0.6642 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.173, allocations: 37.64 kB / 0.6643 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.173, allocations: 0 / 0.6643 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.173, allocations: 4 kB / 0.6643 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.173, allocations: 0 / 0.6643 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.202e-05/0.1731, allocations: 15.98 kB / 0.6643 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.1732, allocations: 153.7 kB / 0.6644 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.579e-05/0.1733, allocations: 50.53 kB / 0.6645 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.1734, allocations: 16.89 kB / 0.6645 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008963/0.1743, allocations: 0.9856 MB / 0.6655 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1743, allocations: 34.5 kB / 0.6655 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1743, allocations: 4 kB / 0.6655 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001668/0.1745, allocations: 53.59 kB / 0.6655 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.1745, allocations: 51.41 kB / 0.6656 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.1746, allocations: 109.8 kB / 0.6657 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.1746, allocations: 29.7 kB / 0.6657 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.1747, allocations: 88.12 kB / 0.6658 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.1747, allocations: 11.84 kB / 0.6658 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.1748, allocations: 13.72 kB / 0.6658 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.1749, allocations: 318.8 kB / 0.6661 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.1749, allocations: 11.92 kB / 0.6661 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.1749, allocations: 7.938 kB / 0.6662 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/0.175, allocations: 16.86 kB / 0.6662 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.175, allocations: 0 / 0.6662 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.7e-05/0.1751, allocations: 65.53 kB / 0.6662 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1751, allocations: 9.562 kB / 0.6662 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1751, allocations: 0 / 0.6662 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1751, allocations: 0 / 0.6662 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1752, allocations: 15.98 kB / 0.6663 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1753, allocations: 0 / 0.6663 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.1753, allocations: 0 / 0.6663 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.1753, allocations: 0 / 0.6663 GB, free: 3.797 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.107e-05/0.1754, allocations: 117.7 kB / 0.6664 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.1754, allocations: 7.906 kB / 0.6664 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.1755, allocations: 61.58 kB / 0.6664 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1755, allocations: 4 kB / 0.6664 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1755, allocations: 0 / 0.6664 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1756, allocations: 0 / 0.6664 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.1757, allocations: 169.6 kB / 0.6666 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1757, allocations: 0 / 0.6666 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.1758, allocations: 19.92 kB / 0.6666 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1758, allocations: 0 / 0.6666 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.1758, allocations: 0 / 0.6666 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1758, allocations: 0 / 0.6666 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.1758, allocations: 4 kB / 0.6666 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.1759, allocations: 77.38 kB / 0.6667 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.176, allocations: 93.05 kB / 0.6668 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.176, allocations: 0 / 0.6668 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/0.176, allocations: 0 / 0.6668 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.176, allocations: 7.984 kB / 0.6668 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.176, allocations: 0 / 0.6668 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.232e-05/0.1761, allocations: 87.28 kB / 0.6669 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1761, allocations: 0 / 0.6669 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002396/0.1763, allocations: 39.92 kB / 0.6669 GB, free: 3.008 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.000256/0.1766, allocations: 151.1 kB / 0.6671 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.957e-05/0.1767, allocations: 23.94 kB / 0.6671 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1767, allocations: 0 / 0.6671 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.198e-05/0.1767, allocations: 11.98 kB / 0.6671 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.177, allocations: 13.91 kB / 0.6671 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.1774, allocations: 185.8 kB / 0.6673 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.1776, allocations: 0.6768 MB / 0.6679 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.1776, allocations: 11.44 kB / 0.668 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1776, allocations: 0 / 0.668 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of Templates: time 0.002489/0.1801, allocations: 1.024 MB / 0.669 GB, free: 0.8594 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)