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.00122/0.001221, allocations: 105.3 kB / 15.98 MB, free: 6.352 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.001272/0.001272, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.431/1.431, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8782/0.8782, allocations: 135.1 MB / 425.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001556, allocations: 68.12 kB / 0.5056 GB, free: 8.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.4999, allocations: 80.91 MB / 0.5846 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003123/0.5031, allocations: 1.424 MB / 0.586 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.5049, allocations: 1.057 MB / 0.587 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.505, allocations: 1.094 kB / 0.587 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.505, allocations: 8.578 kB / 0.587 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-05/0.5051, allocations: 10.14 kB / 0.587 GB, free: 23.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008232/0.5059, allocations: 177.5 kB / 0.5872 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.374e-05/0.506, allocations: 34.05 kB / 0.5872 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.5061, allocations: 2.719 kB / 0.5872 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.5061, allocations: 14.98 kB / 0.5872 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.5062, allocations: 17.64 kB / 0.5872 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.5062, allocations: 2.281 kB / 0.5873 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007242/0.507, allocations: 416.3 kB / 0.5876 GB, free: 22.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.507, allocations: 13.61 kB / 0.5877 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.507, allocations: 16.58 kB / 0.5877 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.5074, allocations: 126.3 kB / 0.5878 GB, free: 22.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5074, allocations: 1.406 kB / 0.5878 GB, free: 22.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5074, allocations: 0 / 0.5878 GB, free: 22.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.5074, allocations: 0 / 0.5878 GB, free: 22.89 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.0004899/0.5079, allocations: 387 kB / 0.5882 GB, free: 22.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.508, allocations: 12.41 kB / 0.5882 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.508, allocations: 3.281 kB / 0.5882 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.5081, allocations: 175.5 kB / 0.5883 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.5081, allocations: 1.281 kB / 0.5884 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.5082, allocations: 9.562 kB / 0.5884 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.5083, allocations: 37.97 kB / 0.5884 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.5083, allocations: 0 / 0.5884 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.5083, allocations: 4 kB / 0.5884 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5083, allocations: 2.531 kB / 0.5884 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.189e-05/0.5084, allocations: 12.39 kB / 0.5884 GB, free: 22.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.5086, allocations: 160.3 kB / 0.5886 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.5087, allocations: 47.94 kB / 0.5886 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.5087, allocations: 15.36 kB / 0.5886 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008337/0.5096, allocations: 0.9859 MB / 0.5896 GB, free: 20.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.5096, allocations: 32.66 kB / 0.5896 GB, free: 20.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.5096, allocations: 0 / 0.5896 GB, free: 20.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001891/0.5098, allocations: 57.53 kB / 0.5897 GB, free: 20.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.5098, allocations: 52.28 kB / 0.5897 GB, free: 20.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.5099, allocations: 107.5 kB / 0.5898 GB, free: 20.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.5099, allocations: 25.7 kB / 0.5899 GB, free: 20.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.414e-05/0.5099, allocations: 88.05 kB / 0.5899 GB, free: 20.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.51, allocations: 9.25 kB / 0.5899 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.51, allocations: 25.73 kB / 0.59 GB, free: 20.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.5101, allocations: 312.2 kB / 0.5903 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.5101, allocations: 4.688 kB / 0.5903 GB, free: 20.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.5101, allocations: 16.36 kB / 0.5903 GB, free: 20.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.5102, allocations: 24 kB / 0.5903 GB, free: 20.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5102, allocations: 1.438 kB / 0.5903 GB, free: 20.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.332e-05/0.5103, allocations: 52.88 kB / 0.5904 GB, free: 20.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5103, allocations: 6.812 kB / 0.5904 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.5103, allocations: 2.125 kB / 0.5904 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5103, allocations: 0 / 0.5904 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.5104, allocations: 20.62 kB / 0.5904 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.5104, allocations: 1.344 kB / 0.5904 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.5105, allocations: 3.906 kB / 0.5904 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.5105, allocations: 5.719 kB / 0.5904 GB, free: 20.02 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.271e-05/0.5106, allocations: 118.2 kB / 0.5905 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-06/0.5106, allocations: 5.219 kB / 0.5905 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.5107, allocations: 62.75 kB / 0.5906 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5107, allocations: 0 / 0.5906 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5107, allocations: 2.75 kB / 0.5906 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5107, allocations: 0 / 0.5906 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.632e-05/0.5108, allocations: 169.5 kB / 0.5907 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5108, allocations: 0 / 0.5907 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.609e-05/0.5109, allocations: 19.16 kB / 0.5908 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5109, allocations: 3.688 kB / 0.5908 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.5109, allocations: 1.375 kB / 0.5908 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5109, allocations: 0 / 0.5908 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5109, allocations: 0 / 0.5908 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.843e-05/0.511, allocations: 86.61 kB / 0.5908 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.5111, allocations: 84.42 kB / 0.5909 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.5111, allocations: 0 / 0.5909 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.246e-05/0.5111, allocations: 1.094 kB / 0.5909 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.5111, allocations: 1.25 kB / 0.5909 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.5112, allocations: 1.188 kB / 0.5909 GB, free: 19.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.249e-05/0.5112, allocations: 94.38 kB / 0.591 GB, free: 19.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5112, allocations: 1.5 kB / 0.591 GB, free: 19.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.5114, allocations: 36 kB / 0.5911 GB, free: 19.36 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.0002399/0.5117, allocations: 156.6 kB / 0.5912 GB, free: 19.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.5118, allocations: 23.36 kB / 0.5912 GB, free: 19.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5118, allocations: 0 / 0.5912 GB, free: 19.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/0.5118, allocations: 8.062 kB / 0.5912 GB, free: 19.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.5121, allocations: 22.72 kB / 0.5913 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.5124, allocations: 167.7 kB / 0.5914 GB, free: 19.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.5126, allocations: 0.6805 MB / 0.5921 GB, free: 18.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.5126, allocations: 9.969 kB / 0.5921 GB, free: 18.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5126, allocations: 1.5 kB / 0.5921 GB, free: 18.35 MB / 446.1 MB Notification: Performance of Templates: time 0.002304/0.5149, allocations: 1.035 MB / 0.5931 GB, free: 17.57 MB / 446.1 MB 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)