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.001678/0.001678, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002179/0.002179, allocations: 192.6 kB / 16.14 MB, free: 6.688 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7997/0.7997, allocations: 132.2 MB / 422.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.48 kB / 0.5012 GB, free: 9.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2002, allocations: 80.2 MB / 0.5795 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003384/0.2036, allocations: 1.417 MB / 0.5809 GB, free: 7.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.2055, allocations: 1.115 MB / 0.582 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.2056, allocations: 3.938 kB / 0.582 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.2057, allocations: 0 / 0.582 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.2057, allocations: 19.91 kB / 0.582 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.2062, allocations: 146.2 kB / 0.5821 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.989e-05/0.2063, allocations: 31.86 kB / 0.5821 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.2064, allocations: 0 / 0.5821 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.2064, allocations: 15.92 kB / 0.5822 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.2065, allocations: 19.92 kB / 0.5822 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.2065, allocations: 4 kB / 0.5822 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005634/0.2071, allocations: 419.5 kB / 0.5826 GB, free: 5.969 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.2071, allocations: 3.938 kB / 0.5826 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.2071, allocations: 11.94 kB / 0.5826 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.2075, allocations: 191.9 kB / 0.5828 GB, free: 5.766 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2075, allocations: 0 / 0.5828 GB, free: 5.766 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2075, allocations: 3.984 kB / 0.5828 GB, free: 5.762 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2075, allocations: 4 kB / 0.5828 GB, free: 5.758 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.0004786/0.208, allocations: 389 kB / 0.5832 GB, free: 5.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.208, allocations: 12.03 kB / 0.5832 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.208, allocations: 0.9375 kB / 0.5832 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.2082, allocations: 172.2 kB / 0.5833 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2082, allocations: 384 / 0.5833 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.2082, allocations: 4.125 kB / 0.5833 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.2083, allocations: 41.69 kB / 0.5834 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2084, allocations: 0 / 0.5834 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2084, allocations: 0 / 0.5834 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2084, allocations: 0 / 0.5834 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.506e-05/0.2084, allocations: 23.92 kB / 0.5834 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.2086, allocations: 157.7 kB / 0.5836 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.234e-05/0.2087, allocations: 38.56 kB / 0.5836 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.2088, allocations: 20.83 kB / 0.5836 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009594/0.2097, allocations: 0.9856 MB / 0.5846 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2098, allocations: 30.56 kB / 0.5846 GB, free: 3.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2098, allocations: 0 / 0.5846 GB, free: 3.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000184/0.21, allocations: 65.61 kB / 0.5847 GB, free: 3.449 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.21, allocations: 55.41 kB / 0.5847 GB, free: 3.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.682e-05/0.2101, allocations: 105.8 kB / 0.5848 GB, free: 3.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2101, allocations: 25.7 kB / 0.5848 GB, free: 3.238 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.2101, allocations: 84.14 kB / 0.5849 GB, free: 3.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.2102, allocations: 15.8 kB / 0.5849 GB, free: 3.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.2102, allocations: 13.72 kB / 0.585 GB, free: 3.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2103, allocations: 314.8 kB / 0.5853 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.2104, allocations: 4 kB / 0.5853 GB, free: 2.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.2104, allocations: 11.92 kB / 0.5853 GB, free: 2.785 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.996e-05/0.2104, allocations: 32.8 kB / 0.5853 GB, free: 2.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2104, allocations: 0 / 0.5853 GB, free: 2.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.96e-05/0.2105, allocations: 53.62 kB / 0.5854 GB, free: 2.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2106, allocations: 7.938 kB / 0.5854 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2106, allocations: 0 / 0.5854 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2106, allocations: 0 / 0.5854 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.2107, allocations: 12 kB / 0.5854 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2107, allocations: 3.984 kB / 0.5854 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.2107, allocations: 4 kB / 0.5854 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.2108, allocations: 4 kB / 0.5854 GB, free: 2.66 MB / 494.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 7.301e-05/0.2108, allocations: 109.8 kB / 0.5855 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.2109, allocations: 11.84 kB / 0.5855 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.211, allocations: 65.53 kB / 0.5856 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.211, allocations: 0 / 0.5856 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.211, allocations: 0 / 0.5856 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.211, allocations: 0 / 0.5856 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.2112, allocations: 169.6 kB / 0.5857 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2112, allocations: 4 kB / 0.5857 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-05/0.2112, allocations: 16 kB / 0.5857 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2113, allocations: 0 / 0.5857 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2113, allocations: 0 / 0.5857 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.2113, allocations: 7.984 kB / 0.5858 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2113, allocations: 0 / 0.5858 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.2114, allocations: 84.91 kB / 0.5858 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.2114, allocations: 77.11 kB / 0.5859 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.2115, allocations: 0 / 0.5859 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.353e-05/0.2115, allocations: 8 kB / 0.5859 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.2115, allocations: 0 / 0.5859 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.2115, allocations: 0 / 0.5859 GB, free: 2.012 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.221e-05/0.2116, allocations: 91.27 kB / 0.586 GB, free: 1.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2116, allocations: 0 / 0.586 GB, free: 1.922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.2118, allocations: 32 kB / 0.586 GB, free: 1.891 MB / 494.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.0002472/0.2121, allocations: 151.1 kB / 0.5862 GB, free: 1.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.959e-05/0.2122, allocations: 20.41 kB / 0.5862 GB, free: 1.711 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2122, allocations: 4 kB / 0.5862 GB, free: 1.707 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.481e-05/0.2122, allocations: 15.94 kB / 0.5862 GB, free: 1.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.2125, allocations: 16.92 kB / 0.5862 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.2128, allocations: 146 kB / 0.5864 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.213, allocations: 0.6926 MB / 0.587 GB, free: 0.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.152e-05/0.2131, allocations: 256 / 0.587 GB, free: 0.793 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.2131, allocations: 23.36 kB / 0.5871 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2131, allocations: 0 / 0.5871 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of Templates: time 0.003495/0.2166, allocations: 1.101 MB / 0.5881 GB, free: 15.72 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)