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.001667/0.001667, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001894/0.001894, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7715/0.7715, allocations: 132.2 MB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3256, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002205/0.3279, allocations: 1.349 MB / 0.5829 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3291, allocations: 1.077 MB / 0.5839 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.3292, allocations: 0 / 0.5839 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.3292, allocations: 0.625 kB / 0.5839 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.481e-05/0.3292, allocations: 9.438 kB / 0.5839 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.3298, allocations: 217.1 kB / 0.5841 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.333e-05/0.3299, allocations: 33.02 kB / 0.5842 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.3299, allocations: 2.875 kB / 0.5842 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.623e-05/0.33, allocations: 15.3 kB / 0.5842 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.33, allocations: 14.48 kB / 0.5842 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3301, allocations: 1.125 kB / 0.5842 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/0.3306, allocations: 425.7 kB / 0.5846 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.3306, allocations: 4.969 kB / 0.5846 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.3306, allocations: 17.33 kB / 0.5846 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.3309, allocations: 193.4 kB / 0.5848 GB, free: 25.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3309, allocations: 2.281 kB / 0.5848 GB, free: 25.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3309, allocations: 0 / 0.5848 GB, free: 25.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.3309, allocations: 0 / 0.5848 GB, free: 25.21 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003359/0.3312, allocations: 383.6 kB / 0.5852 GB, free: 24.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3313, allocations: 15.06 kB / 0.5852 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.3313, allocations: 7.062 kB / 0.5852 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.461e-05/0.3314, allocations: 170.8 kB / 0.5854 GB, free: 24.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3314, allocations: 7.844 kB / 0.5854 GB, free: 24.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.3314, allocations: 5.188 kB / 0.5854 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.291e-05/0.3315, allocations: 40.12 kB / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.3315, allocations: 0 / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.3315, allocations: 0 / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3315, allocations: 2.25 kB / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.322e-05/0.3316, allocations: 12.02 kB / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.3317, allocations: 162.5 kB / 0.5856 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.693e-05/0.3318, allocations: 46.58 kB / 0.5856 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.3318, allocations: 16.92 kB / 0.5856 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/0.3325, allocations: 0.9839 MB / 0.5866 GB, free: 23.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.3325, allocations: 33.75 kB / 0.5866 GB, free: 23.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.3325, allocations: 3.984 kB / 0.5866 GB, free: 23.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001436/0.3327, allocations: 57.34 kB / 0.5867 GB, free: 23.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.3327, allocations: 51.41 kB / 0.5867 GB, free: 23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.143e-05/0.3327, allocations: 107.2 kB / 0.5868 GB, free: 22.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.3327, allocations: 27.8 kB / 0.5869 GB, free: 22.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.777e-05/0.3328, allocations: 89.17 kB / 0.587 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.3328, allocations: 16.17 kB / 0.587 GB, free: 22.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.3328, allocations: 17.34 kB / 0.587 GB, free: 22.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.773e-05/0.3329, allocations: 312.1 kB / 0.5873 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.3329, allocations: 8.047 kB / 0.5873 GB, free: 22.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.524e-05/0.3329, allocations: 9.094 kB / 0.5873 GB, free: 22.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.333, allocations: 19.42 kB / 0.5873 GB, free: 22.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.333, allocations: 0 / 0.5873 GB, free: 22.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.743e-05/0.333, allocations: 58.5 kB / 0.5874 GB, free: 22.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.333, allocations: 5.031 kB / 0.5874 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3331, allocations: 0 / 0.5874 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3331, allocations: 2.25 kB / 0.5874 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.3332, allocations: 19.64 kB / 0.5874 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.3332, allocations: 1 kB / 0.5874 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.3332, allocations: 1.125 kB / 0.5874 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3332, allocations: 3.844 kB / 0.5874 GB, free: 22.36 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 (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 3.978e-05/0.3333, allocations: 115.2 kB / 0.5875 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.3333, allocations: 6.719 kB / 0.5875 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.3334, allocations: 61.45 kB / 0.5876 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3334, allocations: 0 / 0.5876 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3334, allocations: 5.594 kB / 0.5876 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3334, allocations: 1.969 kB / 0.5876 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.197e-05/0.3335, allocations: 168.3 kB / 0.5877 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3335, allocations: 0 / 0.5877 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.453e-05/0.3336, allocations: 19.67 kB / 0.5878 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3336, allocations: 1.281 kB / 0.5878 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.3336, allocations: 1.375 kB / 0.5878 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3336, allocations: 1.188 kB / 0.5878 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3336, allocations: 3.984 kB / 0.5878 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.572e-05/0.3337, allocations: 84.25 kB / 0.5879 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.3337, allocations: 82.48 kB / 0.5879 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.3337, allocations: 0 / 0.5879 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.3338, allocations: 2.625 kB / 0.5879 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.3338, allocations: 1.891 kB / 0.5879 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3338, allocations: 5.484 kB / 0.5879 GB, free: 21.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.12e-05/0.3338, allocations: 85.22 kB / 0.588 GB, free: 21.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3338, allocations: 0 / 0.588 GB, free: 21.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.334, allocations: 41.05 kB / 0.5881 GB, free: 21.68 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 (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.0001968/0.3342, allocations: 148.2 kB / 0.5882 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.366e-05/0.3343, allocations: 18.28 kB / 0.5882 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3343, allocations: 0.75 kB / 0.5882 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.019e-05/0.3344, allocations: 13.89 kB / 0.5882 GB, free: 21.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.3346, allocations: 14.97 kB / 0.5882 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.3348, allocations: 157.3 kB / 0.5884 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.262e-05/0.3349, allocations: 0.6841 MB / 0.5891 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.927e-05/0.335, allocations: 3.031 kB / 0.5891 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.335, allocations: 13.34 kB / 0.5891 GB, free: 20.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.335, allocations: 0 / 0.5891 GB, free: 20.71 MB / 446.1 MB Notification: Performance of Templates: time 0.003057/0.3381, allocations: 1.111 MB / 0.5902 GB, free: 20.23 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)