Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.00153/0.00153, allocations: 107.4 kB / 15.34 MB, free: 0.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.001539/0.001539, allocations: 191.2 kB / 16.25 MB, free: 6.16 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9331/0.9331, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.73 kB / 0.5054 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1575, allocations: 81.01 MB / 0.5845 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002625/0.1602, allocations: 1.409 MB / 0.5859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1617, allocations: 1.072 MB / 0.587 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.104e-05/0.1618, allocations: 0 / 0.587 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.1618, allocations: 0 / 0.587 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.645e-05/0.1619, allocations: 7.938 kB / 0.587 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.1624, allocations: 191.4 kB / 0.5872 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.1625, allocations: 35.8 kB / 0.5872 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.1626, allocations: 4 kB / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.325e-05/0.1626, allocations: 11.98 kB / 0.5872 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.1627, allocations: 15.92 kB / 0.5872 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.1627, allocations: 0 / 0.5872 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005829/0.1633, allocations: 419.4 kB / 0.5876 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.1633, allocations: 11.94 kB / 0.5876 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.1633, allocations: 11.94 kB / 0.5877 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.1636, allocations: 191.9 kB / 0.5878 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1636, allocations: 0 / 0.5878 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1637, allocations: 0 / 0.5878 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.1637, allocations: 3.984 kB / 0.5878 GB, free: 0.8438 MB / 494.1 MB 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.0004824/0.1642, allocations: 387.3 kB / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1642, allocations: 8.031 kB / 0.5882 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.1642, allocations: 8.875 kB / 0.5882 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1644, allocations: 168.2 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1644, allocations: 8.375 kB / 0.5884 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.1644, allocations: 8.062 kB / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.527e-05/0.1645, allocations: 41.62 kB / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1645, allocations: 0 / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.1645, allocations: 4 kB / 0.5884 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1645, allocations: 0 / 0.5884 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.328e-05/0.1646, allocations: 11.98 kB / 0.5885 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.1648, allocations: 157.7 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.408e-05/0.1649, allocations: 42.56 kB / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.1649, allocations: 20.83 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.1659, allocations: 0.9817 MB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.166, allocations: 38.5 kB / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.166, allocations: 4 kB / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001678/0.1662, allocations: 49.69 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1662, allocations: 55.41 kB / 0.5898 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.695e-05/0.1663, allocations: 105.8 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1663, allocations: 25.7 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.1664, allocations: 88.14 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1664, allocations: 11.8 kB / 0.59 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.1664, allocations: 17.72 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1666, allocations: 314.8 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.1666, allocations: 8 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.1666, allocations: 7.984 kB / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.205e-05/0.1667, allocations: 20.8 kB / 0.5903 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.1667, allocations: 0 / 0.5903 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.724e-05/0.1668, allocations: 53.95 kB / 0.5904 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1668, allocations: 12 kB / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1668, allocations: 0 / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1668, allocations: 0 / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1669, allocations: 12 kB / 0.5904 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1669, allocations: 3.984 kB / 0.5904 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.167, allocations: 7.844 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.167, allocations: 7.984 kB / 0.5904 GB, free: 13.74 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.47e-05/0.1671, allocations: 117.7 kB / 0.5905 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.1671, allocations: 3.938 kB / 0.5905 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.1672, allocations: 61.59 kB / 0.5906 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1672, allocations: 4 kB / 0.5906 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1672, allocations: 4 kB / 0.5906 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.1672, allocations: 0 / 0.5906 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.1674, allocations: 169.6 kB / 0.5908 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1674, allocations: 0 / 0.5908 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.452e-05/0.1675, allocations: 12 kB / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1675, allocations: 0 / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1675, allocations: 3.938 kB / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1675, allocations: 3.984 kB / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1675, allocations: 4 kB / 0.5908 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.1676, allocations: 84.91 kB / 0.5909 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.1677, allocations: 81.11 kB / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.1677, allocations: 0 / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.313e-05/0.1677, allocations: 0 / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.1677, allocations: 8 kB / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1677, allocations: 0 / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.506e-05/0.1678, allocations: 87.27 kB / 0.591 GB, free: 13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1678, allocations: 0 / 0.591 GB, free: 13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002166/0.168, allocations: 40 kB / 0.5911 GB, free: 12.96 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.0002334/0.1683, allocations: 155.1 kB / 0.5912 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.96e-05/0.1684, allocations: 23.92 kB / 0.5913 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1684, allocations: 0 / 0.5913 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/0.1684, allocations: 8 kB / 0.5913 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.1686, allocations: 16.58 kB / 0.5913 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.1689, allocations: 160.1 kB / 0.5914 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1692, allocations: 0.6768 MB / 0.5921 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.1693, allocations: 7.984 kB / 0.5921 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.1693, allocations: 15.44 kB / 0.5921 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1693, allocations: 0 / 0.5921 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of Templates: time 0.003484/0.1728, allocations: 1.124 MB / 0.5932 GB, free: 10.78 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)