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.0009115/0.0009113, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0008625/0.0008625, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 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: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.038/1.038, allocations: 135.3 MB / 426.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003823, allocations: 15.94 kB / 0.5071 GB, free: 5.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2289, allocations: 82.31 MB / 0.5874 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001523/0.2304, allocations: 1.058 MB / 0.5885 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.232, allocations: 0.991 MB / 0.5894 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.394e-05/0.232, allocations: 0 / 0.5894 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.2321, allocations: 0 / 0.5894 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.2321, allocations: 7.938 kB / 0.5894 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.2326, allocations: 147.5 kB / 0.5896 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.235e-05/0.2327, allocations: 27.88 kB / 0.5896 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.2328, allocations: 3.984 kB / 0.5896 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.144e-05/0.2328, allocations: 19.94 kB / 0.5896 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.2329, allocations: 11.92 kB / 0.5896 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.2329, allocations: 0 / 0.5896 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005675/0.2335, allocations: 399.5 kB / 0.59 GB, free: 272 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.2335, allocations: 11.94 kB / 0.59 GB, free: 260 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.2335, allocations: 29.7 kB / 0.5901 GB, free: 224 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.2338, allocations: 136 kB / 0.5902 GB, free: 88 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2338, allocations: 4 kB / 0.5902 GB, free: 84 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2338, allocations: 0 / 0.5902 GB, free: 84 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.2338, allocations: 0 / 0.5902 GB, free: 84 kB / 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.000452/0.2343, allocations: 375.2 kB / 0.5906 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2343, allocations: 8.031 kB / 0.5906 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.2343, allocations: 7.906 kB / 0.5906 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.2345, allocations: 174.9 kB / 0.5907 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2345, allocations: 0 / 0.5907 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.2345, allocations: 4 kB / 0.5907 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.2346, allocations: 45.61 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2347, allocations: 0 / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2347, allocations: 0 / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2347, allocations: 4 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.521e-05/0.2347, allocations: 11.98 kB / 0.5908 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.2349, allocations: 161.7 kB / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.758e-05/0.2351, allocations: 42.56 kB / 0.591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.2351, allocations: 16.89 kB / 0.591 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000948/0.2361, allocations: 0.9817 MB / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2361, allocations: 38.5 kB / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2361, allocations: 0 / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000191/0.2363, allocations: 53.59 kB / 0.5921 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.2364, allocations: 55.41 kB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.2365, allocations: 105.8 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.2365, allocations: 25.7 kB / 0.5922 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.2365, allocations: 92.08 kB / 0.5923 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.2366, allocations: 7.906 kB / 0.5923 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.2366, allocations: 0 / 0.5923 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2367, allocations: 318.8 kB / 0.5926 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.2367, allocations: 4 kB / 0.5926 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.2367, allocations: 8 kB / 0.5926 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.673e-05/0.2368, allocations: 11.89 kB / 0.5927 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2368, allocations: 0 / 0.5927 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.812e-05/0.2369, allocations: 53.59 kB / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2369, allocations: 8 kB / 0.5927 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2369, allocations: 0 / 0.5927 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2369, allocations: 4 kB / 0.5927 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.237, allocations: 15.98 kB / 0.5927 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2371, allocations: 0 / 0.5927 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.2371, allocations: 4 kB / 0.5927 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.2371, allocations: 0 / 0.5927 GB, free: 13.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.733e-05/0.2372, allocations: 121.7 kB / 0.5929 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.2372, allocations: 3.938 kB / 0.5929 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.2373, allocations: 69.52 kB / 0.5929 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.2373, allocations: 0 / 0.5929 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2374, allocations: 384 / 0.5929 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2374, allocations: 0 / 0.5929 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.2375, allocations: 161.6 kB / 0.5931 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2375, allocations: 3.953 kB / 0.5931 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.029e-05/0.2376, allocations: 15.98 kB / 0.5931 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2376, allocations: 3.984 kB / 0.5931 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2376, allocations: 4 kB / 0.5931 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2376, allocations: 0 / 0.5931 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2376, allocations: 4 kB / 0.5931 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.2377, allocations: 77.06 kB / 0.5932 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.2378, allocations: 81.06 kB / 0.5933 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.2378, allocations: 4 kB / 0.5933 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.086e-05/0.2378, allocations: 0 / 0.5933 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.2378, allocations: 7.984 kB / 0.5933 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2378, allocations: 0 / 0.5933 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.2379, allocations: 91.27 kB / 0.5934 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2379, allocations: 0 / 0.5934 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002361/0.2381, allocations: 43.98 kB / 0.5934 GB, free: 12.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002309/0.2384, allocations: 143.2 kB / 0.5935 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.2385, allocations: 16 kB / 0.5936 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2385, allocations: 0 / 0.5936 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.2385, allocations: 15.92 kB / 0.5936 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.2388, allocations: 15.94 kB / 0.5936 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.2391, allocations: 174.3 kB / 0.5937 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.2393, allocations: 0.6809 MB / 0.5944 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.2394, allocations: 7.875 kB / 0.5944 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.2394, allocations: 15.44 kB / 0.5944 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2394, allocations: 0 / 0.5944 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.003558/0.243, allocations: 1.081 MB / 0.5955 GB, free: 10.11 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)