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.0009284/0.0009284, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005529/0.005529, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.283/1.283, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7284/0.7284, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 13.31 kB / 0.5041 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4327, allocations: 81.58 MB / 0.5838 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001395/0.4341, allocations: 1.081 MB / 0.5849 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.4356, allocations: 1.086 MB / 0.5859 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.4357, allocations: 4 kB / 0.5859 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.4357, allocations: 1.453 kB / 0.5859 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.504e-05/0.4358, allocations: 10.39 kB / 0.5859 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.4363, allocations: 146.7 kB / 0.5861 GB, free: 2.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.589e-05/0.4363, allocations: 36.7 kB / 0.5861 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.4364, allocations: 2.547 kB / 0.5861 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.687e-05/0.4364, allocations: 12.41 kB / 0.5861 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.4365, allocations: 17.34 kB / 0.5861 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.4365, allocations: 1.312 kB / 0.5861 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006577/0.4372, allocations: 422.9 kB / 0.5865 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.4372, allocations: 5.156 kB / 0.5866 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.4372, allocations: 40.81 kB / 0.5866 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.4376, allocations: 189.7 kB / 0.5868 GB, free: 2.062 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4376, allocations: 0.6094 kB / 0.5868 GB, free: 2.062 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4376, allocations: 0 / 0.5868 GB, free: 2.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.4376, allocations: 4.969 kB / 0.5868 GB, free: 2.059 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.0003409/0.438, allocations: 384.1 kB / 0.5871 GB, free: 1.664 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.438, allocations: 9.75 kB / 0.5872 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.318e-05/0.438, allocations: 30.75 kB / 0.5872 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.009e-05/0.4381, allocations: 7.703 kB / 0.5872 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.258e-05/0.4381, allocations: 164 kB / 0.5873 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.4382, allocations: 1.156 kB / 0.5873 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.4382, allocations: 13.67 kB / 0.5874 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.473e-05/0.4383, allocations: 43.25 kB / 0.5874 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4383, allocations: 5.125 kB / 0.5874 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.4383, allocations: 0 / 0.5874 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4383, allocations: 1.25 kB / 0.5874 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.552e-05/0.4384, allocations: 12.98 kB / 0.5874 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.4385, allocations: 162.1 kB / 0.5876 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.4386, allocations: 40.77 kB / 0.5876 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.4386, allocations: 21.3 kB / 0.5876 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000711/0.4393, allocations: 0.9828 MB / 0.5886 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.4394, allocations: 31.95 kB / 0.5886 GB, free: 15.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4394, allocations: 4.75 kB / 0.5886 GB, free: 15.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001596/0.4396, allocations: 52.52 kB / 0.5887 GB, free: 15.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.4396, allocations: 52.72 kB / 0.5887 GB, free: 15.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.118e-05/0.4397, allocations: 106.3 kB / 0.5888 GB, free: 15.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.4397, allocations: 29.7 kB / 0.5889 GB, free: 15.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.4397, allocations: 86.19 kB / 0.5889 GB, free: 15.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.4398, allocations: 18.67 kB / 0.589 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.4398, allocations: 10.34 kB / 0.589 GB, free: 15.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.4399, allocations: 318.5 kB / 0.5893 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.4399, allocations: 11.83 kB / 0.5893 GB, free: 15.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/0.44, allocations: 6.688 kB / 0.5893 GB, free: 15.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.44, allocations: 19.39 kB / 0.5893 GB, free: 15.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.44, allocations: 1.375 kB / 0.5893 GB, free: 15.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.424e-05/0.4401, allocations: 52.16 kB / 0.5894 GB, free: 15.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4401, allocations: 5.719 kB / 0.5894 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4401, allocations: 0 / 0.5894 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.4401, allocations: 0 / 0.5894 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.4403, allocations: 15 kB / 0.5894 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4403, allocations: 9.047 kB / 0.5894 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.4403, allocations: 5.375 kB / 0.5894 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.4403, allocations: 5.219 kB / 0.5894 GB, free: 15.21 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 7.845e-05/0.4404, allocations: 112.4 kB / 0.5895 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.4404, allocations: 5.219 kB / 0.5895 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.4405, allocations: 64.42 kB / 0.5896 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4406, allocations: 5.219 kB / 0.5896 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4406, allocations: 7.938 kB / 0.5896 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4406, allocations: 4.703 kB / 0.5896 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.4407, allocations: 162.2 kB / 0.5897 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4407, allocations: 0 / 0.5897 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/0.4408, allocations: 14.39 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.4408, allocations: 1.406 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.4408, allocations: 3.938 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4408, allocations: 0.7031 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4408, allocations: 0.75 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.4409, allocations: 82.69 kB / 0.5898 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.441, allocations: 82.28 kB / 0.5899 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.441, allocations: 1.953 kB / 0.5899 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.304e-05/0.441, allocations: 4 kB / 0.5899 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.441, allocations: 2.953 kB / 0.5899 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.4411, allocations: 1.641 kB / 0.5899 GB, free: 14.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.064e-05/0.4411, allocations: 86.92 kB / 0.59 GB, free: 14.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4411, allocations: 0 / 0.59 GB, free: 14.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.4413, allocations: 46.11 kB / 0.5901 GB, free: 14.55 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.0004978/0.4418, allocations: 0.6605 MB / 0.5907 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.103e-05/0.442, allocations: 20.27 kB / 0.5907 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.442, allocations: 0 / 0.5907 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.442, allocations: 13.53 kB / 0.5907 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.4422, allocations: 9.094 kB / 0.5907 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.4427, allocations: 225.6 kB / 0.591 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.4429, allocations: 0.6794 MB / 0.5916 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.251e-05/0.4429, allocations: 4.766 kB / 0.5916 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.443, allocations: 18.38 kB / 0.5916 GB, free: 13.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.443, allocations: 0 / 0.5916 GB, free: 13.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.4555, allocations: 1.951 MB / 0.5935 GB, free: 12.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/0.4558, allocations: 285.6 kB / 0.5938 GB, free: 12.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.162, allocations: 0 / 0.5938 GB, free: 12.48 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)