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.000881/0.0008811, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001079/0.001079, allocations: 181.9 kB / 16.28 MB, free: 6.656 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7918/0.7918, allocations: 132.4 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004331, allocations: 12.91 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4917, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001499/0.4932, allocations: 1.072 MB / 0.5848 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.495, allocations: 1.095 MB / 0.5859 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.4951, allocations: 1.219 kB / 0.5859 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.4951, allocations: 5.719 kB / 0.5859 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.938e-05/0.4952, allocations: 5.828 kB / 0.5859 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.4957, allocations: 155.5 kB / 0.586 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.82e-05/0.4958, allocations: 33.44 kB / 0.586 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.4959, allocations: 3.578 kB / 0.586 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/0.496, allocations: 11.77 kB / 0.5861 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.496, allocations: 16.88 kB / 0.5861 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.496, allocations: 5.781 kB / 0.5861 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007683/0.4968, allocations: 421.4 kB / 0.5865 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.4968, allocations: 6.141 kB / 0.5865 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.4969, allocations: 40.27 kB / 0.5865 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.4973, allocations: 189.5 kB / 0.5867 GB, free: 2.191 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4973, allocations: 0.6562 kB / 0.5867 GB, free: 2.191 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4973, allocations: 1.125 kB / 0.5867 GB, free: 2.191 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.4973, allocations: 0 / 0.5867 GB, free: 2.191 MB / 430.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.0004046/0.4977, allocations: 379.3 kB / 0.5871 GB, free: 1.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4978, allocations: 13.31 kB / 0.5871 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.4978, allocations: 7.781 kB / 0.5871 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.4979, allocations: 168.4 kB / 0.5873 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.498, allocations: 384 / 0.5873 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.498, allocations: 5.5 kB / 0.5873 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.4981, allocations: 43.91 kB / 0.5873 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4981, allocations: 0.7969 kB / 0.5873 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.4981, allocations: 0 / 0.5873 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4981, allocations: 0.7188 kB / 0.5873 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.651e-05/0.4982, allocations: 14.42 kB / 0.5873 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.4983, allocations: 161.2 kB / 0.5875 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.737e-05/0.4984, allocations: 37.06 kB / 0.5875 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.4985, allocations: 21.7 kB / 0.5875 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007359/0.4992, allocations: 0.9861 MB / 0.5885 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.4993, allocations: 32.05 kB / 0.5885 GB, free: 136 kB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4993, allocations: 0 / 0.5885 GB, free: 136 kB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.00019/0.4995, allocations: 61.19 kB / 0.5886 GB, free: 92 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.4995, allocations: 53.34 kB / 0.5886 GB, free: 28 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.4996, allocations: 116.2 kB / 0.5887 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.4997, allocations: 27.97 kB / 0.5888 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.4997, allocations: 82.61 kB / 0.5888 GB, free: 15.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.4997, allocations: 17.72 kB / 0.5889 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.4998, allocations: 10.44 kB / 0.5889 GB, free: 15.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4999, allocations: 317.8 kB / 0.5892 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.4999, allocations: 5.156 kB / 0.5892 GB, free: 15.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/0.5, allocations: 9.828 kB / 0.5892 GB, free: 15.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.16e-05/0.5, allocations: 23.8 kB / 0.5892 GB, free: 15.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5, allocations: 1.25 kB / 0.5892 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.912e-05/0.5001, allocations: 51.98 kB / 0.5893 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5002, allocations: 7.312 kB / 0.5893 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.5002, allocations: 1.406 kB / 0.5893 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.5002, allocations: 0.5312 kB / 0.5893 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.5003, allocations: 13.48 kB / 0.5893 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.5003, allocations: 0.6094 kB / 0.5893 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.5004, allocations: 8.984 kB / 0.5893 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.5004, allocations: 5.156 kB / 0.5893 GB, free: 15.38 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 8.36e-05/0.5005, allocations: 116.9 kB / 0.5894 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.5005, allocations: 13.84 kB / 0.5894 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.5007, allocations: 59.64 kB / 0.5895 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5007, allocations: 0.5312 kB / 0.5895 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5007, allocations: 1.531 kB / 0.5895 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5007, allocations: 0 / 0.5895 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.5008, allocations: 161.7 kB / 0.5896 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5008, allocations: 5.75 kB / 0.5896 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/0.5009, allocations: 13.36 kB / 0.5897 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5009, allocations: 4.906 kB / 0.5897 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.5009, allocations: 4.625 kB / 0.5897 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.501, allocations: 4.547 kB / 0.5897 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.501, allocations: 0.5938 kB / 0.5897 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.5011, allocations: 74.09 kB / 0.5897 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.5011, allocations: 83.17 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.5012, allocations: 5.281 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.5012, allocations: 4.75 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.5012, allocations: 3.406 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-06/0.5012, allocations: 1.984 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.659e-05/0.5013, allocations: 82.31 kB / 0.5899 GB, free: 14.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5013, allocations: 0 / 0.5899 GB, free: 14.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000266/0.5015, allocations: 45.44 kB / 0.59 GB, free: 14.73 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.0002782/0.5018, allocations: 144.1 kB / 0.5901 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.502, allocations: 22.83 kB / 0.5901 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.502, allocations: 9.219 kB / 0.5901 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.466e-05/0.502, allocations: 9.484 kB / 0.5901 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.5023, allocations: 19.23 kB / 0.5901 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.5026, allocations: 172 kB / 0.5903 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.503, allocations: 0.6833 MB / 0.591 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.138e-05/0.5031, allocations: 6.844 kB / 0.591 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.5031, allocations: 9.688 kB / 0.591 GB, free: 13.77 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5031, allocations: 0 / 0.591 GB, free: 13.77 MB / 446.1 MB Notification: Performance of Templates: time 0.004475/0.5076, allocations: 1.086 MB / 0.5921 GB, free: 13.69 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)