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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000848/0.0008479, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006731/0.006731, allocations: 171.2 kB / 16.27 MB, free: 6.648 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.451/1.451, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9014/0.9014, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.0003101, allocations: 16 kB / 0.5078 GB, free: 4.586 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1673, allocations: 82.3 MB / 0.5881 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001311/0.1687, allocations: 1.068 MB / 0.5892 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1702, allocations: 1.092 MB / 0.5902 GB, free: 276 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.644e-05/0.1702, allocations: 3.938 kB / 0.5902 GB, free: 272 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.1702, allocations: 3.938 kB / 0.5902 GB, free: 268 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.546e-05/0.1703, allocations: 3.938 kB / 0.5903 GB, free: 264 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.1707, allocations: 147.6 kB / 0.5904 GB, free: 116 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.735e-05/0.1708, allocations: 35.8 kB / 0.5904 GB, free: 80 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.1709, allocations: 3.984 kB / 0.5904 GB, free: 76 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.927e-05/0.1709, allocations: 8 kB / 0.5904 GB, free: 68 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.171, allocations: 15.92 kB / 0.5905 GB, free: 52 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.171, allocations: 4 kB / 0.5905 GB, free: 48 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005473/0.1715, allocations: 423.4 kB / 0.5909 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.1716, allocations: 7.938 kB / 0.5909 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.1716, allocations: 41.62 kB / 0.5909 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.1719, allocations: 187.9 kB / 0.5911 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1719, allocations: 0 / 0.5911 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1719, allocations: 0 / 0.5911 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1719, allocations: 0 / 0.5911 GB, free: 15.39 MB / 0.4981 GB 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.0003638/0.1723, allocations: 375.4 kB / 0.5914 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1723, allocations: 12.03 kB / 0.5915 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.1724, allocations: 34.73 kB / 0.5915 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.1724, allocations: 12.78 kB / 0.5915 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.681e-05/0.1725, allocations: 176.2 kB / 0.5917 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1725, allocations: 384 / 0.5917 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.1725, allocations: 7.938 kB / 0.5917 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.467e-05/0.1726, allocations: 37.69 kB / 0.5917 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.1726, allocations: 4 kB / 0.5917 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.1726, allocations: 0 / 0.5917 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1727, allocations: 0 / 0.5917 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.1727, allocations: 15.98 kB / 0.5917 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.1729, allocations: 161.7 kB / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/0.1729, allocations: 46.44 kB / 0.5919 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.173, allocations: 20.92 kB / 0.592 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008266/0.1738, allocations: 0.9817 MB / 0.5929 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1738, allocations: 34.56 kB / 0.5929 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1739, allocations: 0 / 0.5929 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001468/0.174, allocations: 53.59 kB / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.1741, allocations: 59.41 kB / 0.5931 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.605e-05/0.1741, allocations: 109.8 kB / 0.5932 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.1741, allocations: 29.7 kB / 0.5932 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.1742, allocations: 80.14 kB / 0.5933 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1742, allocations: 15.81 kB / 0.5933 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.1742, allocations: 9.719 kB / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.1743, allocations: 314.8 kB / 0.5936 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.1744, allocations: 11.94 kB / 0.5936 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.459e-05/0.1744, allocations: 4 kB / 0.5936 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.1744, allocations: 20.86 kB / 0.5936 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1744, allocations: 4 kB / 0.5936 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.244e-05/0.1745, allocations: 53.62 kB / 0.5937 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1745, allocations: 4 kB / 0.5937 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1746, allocations: 3.938 kB / 0.5937 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.1746, allocations: 0 / 0.5937 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1747, allocations: 15.98 kB / 0.5937 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1747, allocations: 0 / 0.5937 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.1747, allocations: 11.94 kB / 0.5937 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.1747, allocations: 0 / 0.5937 GB, free: 12.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.925e-05/0.1748, allocations: 117.7 kB / 0.5938 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.1748, allocations: 7.906 kB / 0.5938 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.1749, allocations: 64.58 kB / 0.5939 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.175, allocations: 0 / 0.5939 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.175, allocations: 0 / 0.5939 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.175, allocations: 0 / 0.5939 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.1751, allocations: 165.5 kB / 0.594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1751, allocations: 0 / 0.594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.193e-05/0.1752, allocations: 15.98 kB / 0.5941 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1752, allocations: 0 / 0.5941 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.1752, allocations: 8 kB / 0.5941 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1752, allocations: 4 kB / 0.5941 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1752, allocations: 0 / 0.5941 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.949e-05/0.1753, allocations: 73.44 kB / 0.5941 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.1753, allocations: 81.02 kB / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1754, allocations: 48 / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.024e-05/0.1754, allocations: 15.97 kB / 0.5942 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.1754, allocations: 0 / 0.5942 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1754, allocations: 4 kB / 0.5942 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.1755, allocations: 83.28 kB / 0.5943 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.483e-06/0.1755, allocations: 0 / 0.5943 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002278/0.1757, allocations: 47.92 kB / 0.5944 GB, free: 11.47 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 (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.0004381/0.1761, allocations: 0.6612 MB / 0.595 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.927e-05/0.1762, allocations: 27.98 kB / 0.595 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1762, allocations: 0 / 0.595 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.139e-05/0.1763, allocations: 11.94 kB / 0.5951 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.1765, allocations: 8 kB / 0.5951 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.1769, allocations: 219.9 kB / 0.5953 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.1771, allocations: 0.6809 MB / 0.5959 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.1771, allocations: 8.188 kB / 0.5959 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.1772, allocations: 11.44 kB / 0.596 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1772, allocations: 4 kB / 0.596 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5304/0.7076, allocations: 1.961 MB / 0.5979 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/0.7079, allocations: 287.2 kB / 0.5981 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.366, allocations: 4.062 kB / 0.5981 GB, free: 7.664 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)