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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_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_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.00125/0.001256, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001256/0.001256, allocations: 192.4 kB / 16.25 MB, free: 6.629 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.241/1.241, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7094/0.7094, allocations: 132.2 MB / 422.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.64 kB / 0.5014 GB, free: 8.977 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1343, allocations: 80.21 MB / 0.5797 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002264/0.1366, allocations: 1.407 MB / 0.5811 GB, free: 7.566 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.138, allocations: 1.068 MB / 0.5822 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.1381, allocations: 3.938 kB / 0.5822 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.1381, allocations: 0 / 0.5822 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.858e-05/0.1381, allocations: 15.91 kB / 0.5822 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.1387, allocations: 182.2 kB / 0.5823 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.221e-05/0.1387, allocations: 35.8 kB / 0.5824 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.1388, allocations: 4 kB / 0.5824 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.755e-05/0.1388, allocations: 8 kB / 0.5824 GB, free: 6.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.1389, allocations: 19.92 kB / 0.5824 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.1389, allocations: 0 / 0.5824 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004921/0.1394, allocations: 423.4 kB / 0.5828 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.1394, allocations: 15.92 kB / 0.5828 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.1394, allocations: 11.92 kB / 0.5828 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1397, allocations: 191.9 kB / 0.583 GB, free: 5.602 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1397, allocations: 0 / 0.583 GB, free: 5.602 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1397, allocations: 0 / 0.583 GB, free: 5.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1397, allocations: 0 / 0.583 GB, free: 5.602 MB / 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.0003774/0.1401, allocations: 387.2 kB / 0.5834 GB, free: 5.176 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1401, allocations: 8.031 kB / 0.5834 GB, free: 5.168 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.829e-05/0.1402, allocations: 34.75 kB / 0.5834 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.1402, allocations: 4.938 kB / 0.5834 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.608e-05/0.1403, allocations: 176.2 kB / 0.5836 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.046e-06/0.1403, allocations: 4.375 kB / 0.5836 GB, free: 4.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.1403, allocations: 7.938 kB / 0.5836 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.744e-05/0.1404, allocations: 41.62 kB / 0.5837 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1404, allocations: 0 / 0.5837 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1405, allocations: 3.984 kB / 0.5837 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.1405, allocations: 0 / 0.5837 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.269e-05/0.1405, allocations: 12 kB / 0.5837 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.1407, allocations: 161.7 kB / 0.5838 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.819e-05/0.1407, allocations: 42.55 kB / 0.5839 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.1408, allocations: 12.89 kB / 0.5839 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008265/0.1416, allocations: 0.9856 MB / 0.5848 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1416, allocations: 42.48 kB / 0.5849 GB, free: 3.305 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1416, allocations: 0 / 0.5849 GB, free: 3.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001434/0.1418, allocations: 57.69 kB / 0.5849 GB, free: 3.242 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.1418, allocations: 51.41 kB / 0.585 GB, free: 3.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.795e-05/0.1419, allocations: 109.8 kB / 0.5851 GB, free: 3.062 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.1419, allocations: 25.7 kB / 0.5851 GB, free: 3.031 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.1419, allocations: 84.12 kB / 0.5852 GB, free: 2.945 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.142, allocations: 19.75 kB / 0.5852 GB, free: 2.926 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.142, allocations: 13.72 kB / 0.5852 GB, free: 2.906 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.1421, allocations: 318.8 kB / 0.5855 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.1421, allocations: 7.938 kB / 0.5855 GB, free: 2.578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/0.1421, allocations: 7.938 kB / 0.5855 GB, free: 2.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.1422, allocations: 28.86 kB / 0.5856 GB, free: 2.539 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1422, allocations: 0 / 0.5856 GB, free: 2.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.272e-05/0.1423, allocations: 53.62 kB / 0.5856 GB, free: 2.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.1423, allocations: 4 kB / 0.5856 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1423, allocations: 0 / 0.5856 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1423, allocations: 0 / 0.5856 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1424, allocations: 15.98 kB / 0.5856 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1424, allocations: 0 / 0.5856 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.1425, allocations: 3.906 kB / 0.5857 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1425, allocations: 4 kB / 0.5857 GB, free: 2.453 MB / 494.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.553e-05/0.1425, allocations: 117.7 kB / 0.5858 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/0.1426, allocations: 7.938 kB / 0.5858 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.1427, allocations: 69.58 kB / 0.5858 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1427, allocations: 0 / 0.5858 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1427, allocations: 0 / 0.5858 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1427, allocations: 384 / 0.5858 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.427e-05/0.1428, allocations: 161.6 kB / 0.586 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1428, allocations: 0 / 0.586 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-05/0.1429, allocations: 15.98 kB / 0.586 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.1429, allocations: 4 kB / 0.586 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1429, allocations: 0 / 0.586 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1429, allocations: 0 / 0.586 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1429, allocations: 7.922 kB / 0.586 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.614e-05/0.143, allocations: 84.97 kB / 0.5861 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.1431, allocations: 77.11 kB / 0.5862 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.1431, allocations: 0 / 0.5862 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.1431, allocations: 0 / 0.5862 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.1431, allocations: 11.98 kB / 0.5862 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1431, allocations: 0 / 0.5862 GB, free: 1.801 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.253e-05/0.1432, allocations: 83.28 kB / 0.5863 GB, free: 1.719 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1432, allocations: 0 / 0.5863 GB, free: 1.719 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.1434, allocations: 39.98 kB / 0.5863 GB, free: 1.68 MB / 494.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.0004126/0.1438, allocations: 0.6708 MB / 0.587 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.936e-05/0.1439, allocations: 19.98 kB / 0.587 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1439, allocations: 0 / 0.587 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.1439, allocations: 15.94 kB / 0.587 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.1441, allocations: 4.875 kB / 0.587 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.1445, allocations: 217.8 kB / 0.5872 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.1447, allocations: 0.6807 MB / 0.5879 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.1448, allocations: 4 kB / 0.5879 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.1448, allocations: 11.44 kB / 0.5879 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1448, allocations: 3.938 kB / 0.5879 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01075/0.1556, allocations: 2.065 MB / 0.5899 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.1558, allocations: 284 kB / 0.5902 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.805, allocations: 0 / 0.5902 GB, free: 13.76 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)