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.001184/0.001184, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7861/0.7861, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 56.72 kB / 0.5019 GB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4012, allocations: 80.2 MB / 0.5803 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003065/0.4043, allocations: 1.342 MB / 0.5816 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.4061, allocations: 1.08 MB / 0.5826 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.4061, allocations: 1.375 kB / 0.5826 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.4062, allocations: 1.312 kB / 0.5826 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.493e-05/0.4063, allocations: 5.969 kB / 0.5826 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007168/0.407, allocations: 218.4 kB / 0.5828 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.688e-05/0.4071, allocations: 36.61 kB / 0.5829 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.4071, allocations: 4.078 kB / 0.5829 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.4072, allocations: 12.27 kB / 0.5829 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.4073, allocations: 12.7 kB / 0.5829 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.4073, allocations: 1.438 kB / 0.5829 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007429/0.408, allocations: 423.2 kB / 0.5833 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.4081, allocations: 10.7 kB / 0.5833 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.4081, allocations: 10.61 kB / 0.5833 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.4085, allocations: 197.4 kB / 0.5835 GB, free: 2.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4085, allocations: 0.6562 kB / 0.5835 GB, free: 2.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4085, allocations: 0 / 0.5835 GB, free: 2.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.4085, allocations: 0.875 kB / 0.5835 GB, free: 2.617 MB / 430.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.0004547/0.409, allocations: 387 kB / 0.5839 GB, free: 2.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4091, allocations: 10.36 kB / 0.5839 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.4091, allocations: 31.27 kB / 0.5839 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.4091, allocations: 6.906 kB / 0.5839 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.4092, allocations: 172.2 kB / 0.5841 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.4093, allocations: 6.266 kB / 0.5841 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.4093, allocations: 9.25 kB / 0.5841 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.4094, allocations: 43.12 kB / 0.5842 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4094, allocations: 0 / 0.5842 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.4094, allocations: 0.8125 kB / 0.5842 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4094, allocations: 1.375 kB / 0.5842 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.373e-05/0.4095, allocations: 13.64 kB / 0.5842 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.4097, allocations: 160.9 kB / 0.5843 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.4098, allocations: 50.58 kB / 0.5844 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.67e-05/0.4098, allocations: 15.8 kB / 0.5844 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007922/0.4106, allocations: 0.987 MB / 0.5853 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.4106, allocations: 30.56 kB / 0.5854 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4106, allocations: 1.062 kB / 0.5854 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001805/0.4108, allocations: 53.16 kB / 0.5854 GB, free: 480 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.4109, allocations: 51.41 kB / 0.5855 GB, free: 416 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.266e-05/0.4109, allocations: 106.7 kB / 0.5856 GB, free: 312 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.4109, allocations: 25.7 kB / 0.5856 GB, free: 280 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.411, allocations: 91.05 kB / 0.5857 GB, free: 188 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.411, allocations: 18.23 kB / 0.5857 GB, free: 172 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.411, allocations: 18.11 kB / 0.5857 GB, free: 152 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4112, allocations: 321.7 kB / 0.586 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.4112, allocations: 5.219 kB / 0.586 GB, free: 15.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.4112, allocations: 4.891 kB / 0.586 GB, free: 15.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.693e-05/0.4113, allocations: 20.05 kB / 0.5861 GB, free: 15.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4113, allocations: 1.219 kB / 0.5861 GB, free: 15.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.825e-05/0.4114, allocations: 55.52 kB / 0.5861 GB, free: 15.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4114, allocations: 5.406 kB / 0.5861 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4114, allocations: 1.5 kB / 0.5861 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4114, allocations: 4.031 kB / 0.5861 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.4116, allocations: 21.56 kB / 0.5861 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4116, allocations: 1.344 kB / 0.5861 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.4116, allocations: 5.156 kB / 0.5862 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.4116, allocations: 1.219 kB / 0.5862 GB, free: 15.76 MB / 446.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 8.349e-05/0.4117, allocations: 116 kB / 0.5863 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.4117, allocations: 6.359 kB / 0.5863 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.4119, allocations: 59.45 kB / 0.5863 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.4119, allocations: 1.641 kB / 0.5863 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4119, allocations: 0 / 0.5863 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4119, allocations: 1.156 kB / 0.5863 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.412, allocations: 162.2 kB / 0.5865 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.412, allocations: 0 / 0.5865 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.278e-05/0.4121, allocations: 21.69 kB / 0.5865 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4121, allocations: 0.7188 kB / 0.5865 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.4121, allocations: 1.406 kB / 0.5865 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4122, allocations: 4.781 kB / 0.5865 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4122, allocations: 0 / 0.5865 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.4123, allocations: 78.22 kB / 0.5866 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.4123, allocations: 83.17 kB / 0.5867 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4124, allocations: 5.391 kB / 0.5867 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.424e-05/0.4124, allocations: 4.75 kB / 0.5867 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.4124, allocations: 1.969 kB / 0.5867 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.4124, allocations: 2.5 kB / 0.5867 GB, free: 15.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.747e-05/0.4125, allocations: 86.25 kB / 0.5868 GB, free: 15.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4125, allocations: 0.5625 kB / 0.5868 GB, free: 15.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.4127, allocations: 42.31 kB / 0.5868 GB, free: 15.11 MB / 446.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.0005973/0.4134, allocations: 0.6613 MB / 0.5874 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.4135, allocations: 28.56 kB / 0.5875 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4135, allocations: 0.875 kB / 0.5875 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.4135, allocations: 12.56 kB / 0.5875 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.4138, allocations: 16.92 kB / 0.5875 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.4143, allocations: 190.2 kB / 0.5877 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.4146, allocations: 0.6786 MB / 0.5883 GB, free: 13.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.845e-05/0.4147, allocations: 3.406 kB / 0.5883 GB, free: 13.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.4147, allocations: 19.38 kB / 0.5884 GB, free: 13.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4147, allocations: 0 / 0.5884 GB, free: 13.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.435, allocations: 2.134 MB / 0.5905 GB, free: 13.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/7.805, allocations: 7.078 kB / 0.5905 GB, free: 13.22 MB / 446.1 MB (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)