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.0008641/0.000864, allocations: 100.1 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.0008771/0.0008771, 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.212/1.212, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8876/0.8876, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002996, allocations: 8 kB / 0.5069 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 82.32 MB / 0.5873 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001193/0.1422, allocations: 1.045 MB / 0.5883 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1435, allocations: 0.9733 MB / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.1435, allocations: 0 / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.1435, allocations: 3.938 kB / 0.5892 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.126e-05/0.1436, allocations: 11.98 kB / 0.5892 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.144, allocations: 139.6 kB / 0.5894 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.76e-05/0.144, allocations: 19.95 kB / 0.5894 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.1441, allocations: 4 kB / 0.5894 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.243e-05/0.1441, allocations: 15.92 kB / 0.5894 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.82e-05/0.1442, allocations: 15.92 kB / 0.5894 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.1442, allocations: 0 / 0.5894 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004676/0.1447, allocations: 391.5 kB / 0.5898 GB, free: 468 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.1447, allocations: 7.984 kB / 0.5898 GB, free: 460 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.1447, allocations: 33.64 kB / 0.5898 GB, free: 420 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1449, allocations: 140 kB / 0.59 GB, free: 280 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.1449, allocations: 0 / 0.59 GB, free: 280 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1449, allocations: 3.938 kB / 0.59 GB, free: 276 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.1449, allocations: 0 / 0.59 GB, free: 276 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.0003583/0.1453, allocations: 375.2 kB / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1453, allocations: 8.031 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.1453, allocations: 7.906 kB / 0.5904 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.128e-05/0.1454, allocations: 171 kB / 0.5905 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1455, allocations: 7.984 kB / 0.5905 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.1455, allocations: 4 kB / 0.5905 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.74e-05/0.1456, allocations: 37.7 kB / 0.5906 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1456, allocations: 3.938 kB / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.1456, allocations: 0 / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1456, allocations: 3.984 kB / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.1456, allocations: 12 kB / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.1458, allocations: 165.6 kB / 0.5907 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.811e-05/0.1459, allocations: 38.64 kB / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007979/0.1467, allocations: 0.9818 MB / 0.5917 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1467, allocations: 34.56 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 3.016e-06/0.1467, allocations: 0 / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001577/0.1469, allocations: 69.66 kB / 0.5918 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.1469, allocations: 51.41 kB / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/0.147, allocations: 105.8 kB / 0.592 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.147, allocations: 25.7 kB / 0.592 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.147, allocations: 88.08 kB / 0.5921 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.1471, allocations: 11.89 kB / 0.5921 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.1471, allocations: 0 / 0.5921 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.1472, allocations: 322.8 kB / 0.5924 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.1472, allocations: 8 kB / 0.5924 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26e-05/0.1472, allocations: 4 kB / 0.5924 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.1472, allocations: 8 kB / 0.5924 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1472, allocations: 0 / 0.5924 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.261e-05/0.1473, allocations: 61.48 kB / 0.5925 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1473, allocations: 6.344 kB / 0.5925 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1473, allocations: 0 / 0.5925 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.1474, allocations: 0 / 0.5925 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1475, allocations: 15.98 kB / 0.5925 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1475, allocations: 4 kB / 0.5925 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.1475, allocations: 0 / 0.5925 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.1475, allocations: 4 kB / 0.5925 GB, free: 13.23 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 6.246e-05/0.1476, allocations: 109.8 kB / 0.5926 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.1476, allocations: 7.953 kB / 0.5926 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.1477, allocations: 69.52 kB / 0.5927 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1477, allocations: 0 / 0.5927 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1477, allocations: 3.938 kB / 0.5927 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1477, allocations: 4 kB / 0.5927 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.343e-05/0.1478, allocations: 161.6 kB / 0.5929 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1478, allocations: 0 / 0.5929 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.996e-05/0.1479, allocations: 15.98 kB / 0.5929 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1479, allocations: 3.953 kB / 0.5929 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.1479, allocations: 0 / 0.5929 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1479, allocations: 0 / 0.5929 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1479, allocations: 4 kB / 0.5929 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.455e-05/0.148, allocations: 81.06 kB / 0.593 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.1481, allocations: 81.02 kB / 0.593 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.1481, allocations: 3.953 kB / 0.593 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.1481, allocations: 0 / 0.593 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.1481, allocations: 7.984 kB / 0.5931 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1481, allocations: 0 / 0.5931 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.1482, allocations: 83.28 kB / 0.5931 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1482, allocations: 3.938 kB / 0.5931 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000204/0.1484, allocations: 39.98 kB / 0.5932 GB, free: 12.46 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.0002015/0.1486, allocations: 159.1 kB / 0.5933 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.32e-05/0.1487, allocations: 16 kB / 0.5933 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1487, allocations: 0 / 0.5933 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.132e-05/0.1487, allocations: 19.92 kB / 0.5934 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.1489, allocations: 4 kB / 0.5934 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.1491, allocations: 167 kB / 0.5935 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.1493, allocations: 0.6809 MB / 0.5942 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.183e-05/0.1494, allocations: 11.97 kB / 0.5942 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.1494, allocations: 11.44 kB / 0.5942 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.1494, allocations: 3.938 kB / 0.5942 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.002846/0.1522, allocations: 1.076 MB / 0.5953 GB, free: 10.3 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: