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.001889/0.001889, allocations: 100.6 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.001961/0.001961, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.464/2.464, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.607/1.607, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005721/0.0005724, allocations: 12 kB / 0.5069 GB, free: 5.074 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2927, allocations: 82.33 MB / 0.5873 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002281/0.295, allocations: 1.053 MB / 0.5884 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.298, allocations: 0.9734 MB / 0.5893 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.2981, allocations: 0 / 0.5893 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.2981, allocations: 0 / 0.5893 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2983, allocations: 15.92 kB / 0.5893 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009107/0.2992, allocations: 135.5 kB / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.563e-05/0.2993, allocations: 23.97 kB / 0.5895 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.2994, allocations: 4 kB / 0.5895 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.2995, allocations: 15.92 kB / 0.5895 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.2996, allocations: 15.92 kB / 0.5895 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.2997, allocations: 3.938 kB / 0.5895 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009817/0.3007, allocations: 391.5 kB / 0.5899 GB, free: 296 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.3007, allocations: 7.984 kB / 0.5899 GB, free: 288 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.3008, allocations: 29.7 kB / 0.5899 GB, free: 252 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.3012, allocations: 136 kB / 0.5901 GB, free: 116 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3012, allocations: 4 kB / 0.5901 GB, free: 112 kB / 494.1 MB Notification: Performance of FrontEnd: time 5.3e-06/0.3012, allocations: 0 / 0.5901 GB, free: 112 kB / 494.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3012, allocations: 3.938 kB / 0.5901 GB, free: 108 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.0007714/0.302, allocations: 375.2 kB / 0.5904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 9.094e-05/0.3021, allocations: 8.031 kB / 0.5904 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.102e-05/0.3022, allocations: 34.56 kB / 0.5905 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.3022, allocations: 3.906 kB / 0.5905 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.3025, allocations: 175 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3025, allocations: 0 / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.3025, allocations: 0 / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.3027, allocations: 45.69 kB / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3027, allocations: 0 / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3028, allocations: 0 / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3028, allocations: 0 / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.702e-05/0.3029, allocations: 11.94 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.3032, allocations: 169.6 kB / 0.5909 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.3033, allocations: 38.61 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.3047, allocations: 0.9818 MB / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.3047, allocations: 34.56 kB / 0.5919 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.3047, allocations: 4 kB / 0.5919 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002847/0.305, allocations: 61.53 kB / 0.592 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.3051, allocations: 51.41 kB / 0.592 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3052, allocations: 113.8 kB / 0.5921 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3052, allocations: 25.7 kB / 0.5921 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.3053, allocations: 80.14 kB / 0.5922 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.3054, allocations: 7.906 kB / 0.5922 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.3054, allocations: 0 / 0.5922 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3056, allocations: 322.8 kB / 0.5925 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.3056, allocations: 8 kB / 0.5925 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.3057, allocations: 4.188 kB / 0.5925 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.726e-05/0.3057, allocations: 12.08 kB / 0.5925 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.3057, allocations: 7.938 kB / 0.5926 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001245/0.3059, allocations: 53.55 kB / 0.5926 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.3059, allocations: 4 kB / 0.5926 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3059, allocations: 0 / 0.5926 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.306, allocations: 0 / 0.5926 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.3062, allocations: 15.98 kB / 0.5926 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3062, allocations: 7.938 kB / 0.5926 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.3062, allocations: 7.938 kB / 0.5926 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3063, allocations: 0 / 0.5926 GB, free: 13.03 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 0.0001268/0.3064, allocations: 105.8 kB / 0.5927 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.3064, allocations: 7.953 kB / 0.5928 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.3066, allocations: 73.42 kB / 0.5928 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3067, allocations: 0 / 0.5928 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3067, allocations: 0 / 0.5928 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3067, allocations: 0 / 0.5928 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.3069, allocations: 161.7 kB / 0.593 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3069, allocations: 0 / 0.593 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.307, allocations: 19.94 kB / 0.593 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.307, allocations: 0 / 0.593 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.307, allocations: 0 / 0.593 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3071, allocations: 4 kB / 0.593 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3071, allocations: 4 kB / 0.593 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.3072, allocations: 73.12 kB / 0.5931 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.3073, allocations: 85.02 kB / 0.5932 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.3074, allocations: 3.953 kB / 0.5932 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.113e-05/0.3074, allocations: 7.984 kB / 0.5932 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3074, allocations: 3.938 kB / 0.5932 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3075, allocations: 3.938 kB / 0.5932 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.058e-05/0.3076, allocations: 87.28 kB / 0.5933 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3076, allocations: 0 / 0.5933 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004441/0.308, allocations: 35.98 kB / 0.5933 GB, free: 12.26 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.0007094/0.3087, allocations: 0.6593 MB / 0.5939 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.3089, allocations: 23.92 kB / 0.594 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3089, allocations: 0 / 0.594 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.807e-05/0.3089, allocations: 8 kB / 0.594 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.3092, allocations: 11.95 kB / 0.594 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.3099, allocations: 224 kB / 0.5942 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3102, allocations: 0.6809 MB / 0.5949 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.558e-05/0.3103, allocations: 12.34 kB / 0.5949 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.3103, allocations: 11.44 kB / 0.5949 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.3104, allocations: 4 kB / 0.5949 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.3347, allocations: 1.924 MB / 0.5968 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004534/0.3353, allocations: 261.9 kB / 0.597 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/3.144, allocations: 0 / 0.597 GB, free: 8.504 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/linux/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) Environment - environmentSimulation: