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-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_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.0008586/0.0008589, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009036/0.0009035, allocations: 177.3 kB / 15.95 MB, free: 216 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.257/1.257, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.866/0.866, allocations: 135.2 MB / 426.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002981, allocations: 8 kB / 0.5069 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1455, allocations: 82.31 MB / 0.5873 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001217/0.1467, allocations: 1.045 MB / 0.5883 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.148, allocations: 0.9694 MB / 0.5892 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.148, allocations: 4 kB / 0.5892 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.148, allocations: 11.88 kB / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.68e-05/0.1481, allocations: 3.984 kB / 0.5892 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.1485, allocations: 139.5 kB / 0.5894 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.688e-05/0.1485, allocations: 23.97 kB / 0.5894 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.1486, allocations: 0 / 0.5894 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.1486, allocations: 23.91 kB / 0.5894 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.1487, allocations: 15.92 kB / 0.5894 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1487, allocations: 4 kB / 0.5894 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004661/0.1492, allocations: 387.5 kB / 0.5898 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.1492, allocations: 3.984 kB / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.1492, allocations: 33.58 kB / 0.5898 GB, free: 464 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1494, allocations: 132 kB / 0.59 GB, free: 332 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.1494, allocations: 0 / 0.59 GB, free: 332 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1494, allocations: 0 / 0.59 GB, free: 332 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1494, allocations: 0 / 0.59 GB, free: 332 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.0003851/0.1498, allocations: 379.2 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.1499, allocations: 12.03 kB / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.1499, allocations: 3.906 kB / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.15, allocations: 178.9 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-06/0.15, allocations: 0 / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.15, allocations: 0 / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.844e-05/0.1501, allocations: 41.69 kB / 0.5906 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1501, allocations: 3.984 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1502, allocations: 4 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1502, allocations: 3.938 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.1502, allocations: 12 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.1504, allocations: 161.6 kB / 0.5907 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.167e-05/0.1504, allocations: 38.61 kB / 0.5908 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007915/0.1512, allocations: 0.9857 MB / 0.5917 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.1513, allocations: 34.56 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1513, allocations: 0 / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001419/0.1514, allocations: 61.53 kB / 0.5918 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.1515, allocations: 59.41 kB / 0.5919 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.84e-05/0.1515, allocations: 109.8 kB / 0.592 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.1515, allocations: 25.7 kB / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.1516, allocations: 84.14 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.1516, allocations: 7.891 kB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.1516, allocations: 4 kB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.1517, allocations: 314.8 kB / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.1517, allocations: 4 kB / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.264e-05/0.1517, allocations: 4 kB / 0.5924 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.151e-05/0.1518, allocations: 15.98 kB / 0.5924 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1518, allocations: 3.938 kB / 0.5924 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.077e-05/0.1518, allocations: 57.5 kB / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1519, allocations: 6.188 kB / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1519, allocations: 0 / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1519, allocations: 4 kB / 0.5925 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.152, allocations: 11.98 kB / 0.5925 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.152, allocations: 4 kB / 0.5925 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.152, allocations: 4 kB / 0.5925 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.152, allocations: 0 / 0.5925 GB, free: 13.29 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 5.852e-05/0.1521, allocations: 121.8 kB / 0.5926 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.1521, allocations: 3.953 kB / 0.5926 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.1522, allocations: 65.52 kB / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1522, allocations: 0 / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1523, allocations: 0 / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1523, allocations: 0 / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.954e-05/0.1524, allocations: 161.6 kB / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1524, allocations: 384 / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.1524, allocations: 15.98 kB / 0.5929 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1525, allocations: 7.953 kB / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1525, allocations: 4 kB / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1525, allocations: 0 / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1525, allocations: 0 / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.452e-05/0.1526, allocations: 81.05 kB / 0.593 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.1526, allocations: 81.02 kB / 0.593 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1526, allocations: 7.938 kB / 0.593 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.11e-05/0.1527, allocations: 4 kB / 0.593 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.1527, allocations: 4 kB / 0.593 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1527, allocations: 3.938 kB / 0.5931 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.1527, allocations: 87.28 kB / 0.5931 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1527, allocations: 0 / 0.5931 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002057/0.153, allocations: 39.98 kB / 0.5932 GB, free: 12.5 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.0001988/0.1532, allocations: 155.1 kB / 0.5933 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.508e-05/0.1533, allocations: 15.98 kB / 0.5933 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1533, allocations: 4 kB / 0.5933 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.039e-05/0.1533, allocations: 15.94 kB / 0.5934 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.1534, allocations: 4 kB / 0.5934 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.1537, allocations: 166.5 kB / 0.5935 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.1539, allocations: 0.6887 MB / 0.5942 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.154, allocations: 3.25 kB / 0.5942 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.154, allocations: 11.44 kB / 0.5942 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.154, allocations: 0 / 0.5942 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.002891/0.1569, allocations: 1.081 MB / 0.5953 GB, free: 10.35 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: