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.001189/0.001189, allocations: 118.3 kB / 16.37 MB, free: 5.984 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.001237/0.001238, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.413/1.413, 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.8968/0.8968, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 0.5033 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4574, allocations: 80.18 MB / 0.5816 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00285/0.4603, allocations: 1.351 MB / 0.5829 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.4622, allocations: 1.081 MB / 0.5839 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.4622, allocations: 0 / 0.5839 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.4623, allocations: 6.359 kB / 0.5839 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.4623, allocations: 9 kB / 0.5839 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.4631, allocations: 204.9 kB / 0.5841 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.657e-05/0.4631, allocations: 39.75 kB / 0.5842 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.74e-05/0.4632, allocations: 3.562 kB / 0.5842 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.4633, allocations: 19.3 kB / 0.5842 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.4634, allocations: 15.67 kB / 0.5842 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.4634, allocations: 0 / 0.5842 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006153/0.464, allocations: 418.4 kB / 0.5846 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.464, allocations: 5.891 kB / 0.5846 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.4641, allocations: 12.81 kB / 0.5846 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.4644, allocations: 193.9 kB / 0.5848 GB, free: 25.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4645, allocations: 5.656 kB / 0.5848 GB, free: 25.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.4645, allocations: 0 / 0.5848 GB, free: 25.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.4645, allocations: 0.625 kB / 0.5848 GB, free: 25.14 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.0004615/0.4649, allocations: 384.2 kB / 0.5852 GB, free: 24.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.465, allocations: 10.59 kB / 0.5852 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.465, allocations: 3.094 kB / 0.5852 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.4652, allocations: 174.6 kB / 0.5854 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.4652, allocations: 2.25 kB / 0.5854 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.4652, allocations: 5.25 kB / 0.5854 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.4653, allocations: 40.41 kB / 0.5854 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4653, allocations: 1.188 kB / 0.5854 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4654, allocations: 2.25 kB / 0.5854 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4654, allocations: 1.219 kB / 0.5854 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.25e-05/0.4654, allocations: 11.75 kB / 0.5854 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.4656, allocations: 164.2 kB / 0.5856 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.4657, allocations: 39.45 kB / 0.5856 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.4658, allocations: 23.08 kB / 0.5856 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007851/0.4666, allocations: 0.9872 MB / 0.5866 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.4666, allocations: 31.91 kB / 0.5866 GB, free: 23.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4666, allocations: 1 kB / 0.5866 GB, free: 23.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001944/0.4668, allocations: 56.55 kB / 0.5867 GB, free: 23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.4669, allocations: 58.25 kB / 0.5867 GB, free: 22.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/0.4669, allocations: 109.7 kB / 0.5869 GB, free: 22.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.467, allocations: 25.7 kB / 0.5869 GB, free: 22.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.467, allocations: 86.22 kB / 0.587 GB, free: 22.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.467, allocations: 13.25 kB / 0.587 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.4671, allocations: 18.56 kB / 0.587 GB, free: 22.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.4672, allocations: 322.1 kB / 0.5873 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.4672, allocations: 3.531 kB / 0.5873 GB, free: 22.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.4672, allocations: 7.812 kB / 0.5873 GB, free: 22.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.761e-05/0.4673, allocations: 28.56 kB / 0.5873 GB, free: 22.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4673, allocations: 0 / 0.5873 GB, free: 22.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.992e-05/0.4674, allocations: 54.52 kB / 0.5874 GB, free: 22.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4674, allocations: 5.719 kB / 0.5874 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4674, allocations: 3.984 kB / 0.5874 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4674, allocations: 8.656 kB / 0.5874 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.4676, allocations: 11.84 kB / 0.5874 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.4676, allocations: 4.188 kB / 0.5874 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.4676, allocations: 0 / 0.5874 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.4676, allocations: 1.312 kB / 0.5874 GB, free: 22.28 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 6.533e-05/0.4677, allocations: 108.1 kB / 0.5875 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.4677, allocations: 9.109 kB / 0.5875 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.4678, allocations: 62.38 kB / 0.5876 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4678, allocations: 1.125 kB / 0.5876 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4679, allocations: 2.312 kB / 0.5876 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4679, allocations: 1.156 kB / 0.5876 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.328e-05/0.468, allocations: 160.9 kB / 0.5878 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.468, allocations: 3.938 kB / 0.5878 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.957e-05/0.468, allocations: 15.39 kB / 0.5878 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.4681, allocations: 1.219 kB / 0.5878 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4681, allocations: 1.094 kB / 0.5878 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4681, allocations: 0.9062 kB / 0.5878 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4681, allocations: 0 / 0.5878 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.661e-05/0.4682, allocations: 85.09 kB / 0.5879 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.4682, allocations: 82.2 kB / 0.5879 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.4682, allocations: 5.141 kB / 0.5879 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.153e-05/0.4683, allocations: 0 / 0.5879 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.4683, allocations: 2.938 kB / 0.5879 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.4683, allocations: 0.9062 kB / 0.5879 GB, free: 21.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.39e-05/0.4683, allocations: 85.75 kB / 0.588 GB, free: 21.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4683, allocations: 0 / 0.588 GB, free: 21.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.4686, allocations: 41.92 kB / 0.5881 GB, free: 21.62 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.0002787/0.4689, allocations: 152.6 kB / 0.5882 GB, free: 21.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.469, allocations: 21.91 kB / 0.5882 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.469, allocations: 2.469 kB / 0.5882 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.4691, allocations: 11.91 kB / 0.5882 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.4693, allocations: 14.52 kB / 0.5883 GB, free: 21.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.4697, allocations: 152.5 kB / 0.5884 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.4699, allocations: 0.6866 MB / 0.5891 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.391e-05/0.4699, allocations: 4.875 kB / 0.5891 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.4699, allocations: 14.09 kB / 0.5891 GB, free: 20.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4699, allocations: 0.5 kB / 0.5891 GB, free: 20.64 MB / 446.1 MB Notification: Performance of Templates: time 0.003688/0.4736, allocations: 1.112 MB / 0.5902 GB, free: 20.16 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)