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.01023/0.01023, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001899/0.001899, allocations: 195.8 kB / 16.68 MB, free: 5.957 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8672/0.8672, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 64.16 kB / 0.5852 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2008, allocations: 80.92 MB / 0.6642 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003056/0.2039, allocations: 1.347 MB / 0.6655 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.2061, allocations: 1.072 MB / 0.6666 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.2062, allocations: 0 / 0.6666 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.2062, allocations: 3.938 kB / 0.6666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.2063, allocations: 7.938 kB / 0.6666 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.2074, allocations: 215.2 kB / 0.6668 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.615e-05/0.2075, allocations: 35.84 kB / 0.6668 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.2076, allocations: 4 kB / 0.6668 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.081e-05/0.2076, allocations: 15.92 kB / 0.6669 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.2077, allocations: 15.94 kB / 0.6669 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.2077, allocations: 0 / 0.6669 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007146/0.2085, allocations: 423.5 kB / 0.6673 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.2085, allocations: 7.922 kB / 0.6673 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.2085, allocations: 11.94 kB / 0.6673 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.209, allocations: 198.4 kB / 0.6675 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.209, allocations: 0 / 0.6675 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.209, allocations: 0 / 0.6675 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.209, allocations: 0 / 0.6675 GB, free: 2.918 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.0005453/0.2095, allocations: 384.2 kB / 0.6679 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.2096, allocations: 8.031 kB / 0.6679 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.2096, allocations: 34.75 kB / 0.6679 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.2097, allocations: 4.938 kB / 0.6679 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.2098, allocations: 176.3 kB / 0.6681 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2099, allocations: 4.125 kB / 0.6681 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.2099, allocations: 4 kB / 0.6681 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.21, allocations: 37.69 kB / 0.6681 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.21, allocations: 0 / 0.6681 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.21, allocations: 3.938 kB / 0.6681 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2101, allocations: 0 / 0.6681 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.143e-05/0.2101, allocations: 12 kB / 0.6681 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.2103, allocations: 165.7 kB / 0.6683 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.719e-05/0.2104, allocations: 42.52 kB / 0.6683 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.2105, allocations: 12.92 kB / 0.6683 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.2115, allocations: 0.9856 MB / 0.6693 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.2116, allocations: 34.56 kB / 0.6693 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.755e-06/0.2116, allocations: 0 / 0.6693 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002213/0.2118, allocations: 65.67 kB / 0.6694 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.2119, allocations: 51.41 kB / 0.6694 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.212, allocations: 110.1 kB / 0.6695 GB, free: 396 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.212, allocations: 25.7 kB / 0.6696 GB, free: 364 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.212, allocations: 80.14 kB / 0.6696 GB, free: 280 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.2121, allocations: 23.77 kB / 0.6697 GB, free: 256 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.2122, allocations: 13.72 kB / 0.6697 GB, free: 236 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.2123, allocations: 318.8 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/0.2124, allocations: 4 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.2124, allocations: 8.031 kB / 0.67 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.957e-05/0.2125, allocations: 32.8 kB / 0.67 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2125, allocations: 7.875 kB / 0.67 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001106/0.2126, allocations: 53.59 kB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2126, allocations: 4 kB / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2126, allocations: 0 / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.2127, allocations: 0 / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.2128, allocations: 15.98 kB / 0.6701 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2128, allocations: 4.062 kB / 0.6701 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.2129, allocations: 0 / 0.6701 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.2129, allocations: 4 kB / 0.6701 GB, free: 15.77 MB / 0.5137 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 0.0001105/0.213, allocations: 117.8 kB / 0.6702 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.625e-05/0.2131, allocations: 4 kB / 0.6702 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.2132, allocations: 65.52 kB / 0.6703 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2133, allocations: 0 / 0.6703 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2133, allocations: 0 / 0.6703 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2133, allocations: 0 / 0.6703 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.2135, allocations: 165.5 kB / 0.6705 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2135, allocations: 0 / 0.6705 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.2135, allocations: 15.98 kB / 0.6705 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2136, allocations: 4 kB / 0.6705 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.2136, allocations: 0 / 0.6705 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2136, allocations: 0 / 0.6705 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2136, allocations: 4 kB / 0.6705 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.2137, allocations: 81 kB / 0.6706 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.2138, allocations: 81.11 kB / 0.6706 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2138, allocations: 0 / 0.6706 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.403e-05/0.2138, allocations: 3.984 kB / 0.6706 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.2139, allocations: 8 kB / 0.6706 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2139, allocations: 0 / 0.6706 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.809e-05/0.2139, allocations: 83.28 kB / 0.6707 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.743e-06/0.2139, allocations: 4 kB / 0.6707 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000272/0.2142, allocations: 43.86 kB / 0.6708 GB, free: 15 MB / 0.5137 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.0006506/0.2149, allocations: 0.6682 MB / 0.6714 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.215, allocations: 24.27 kB / 0.6714 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.215, allocations: 0 / 0.6714 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.629e-05/0.215, allocations: 12.09 kB / 0.6715 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.2153, allocations: 0.9375 kB / 0.6715 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.2159, allocations: 207.6 kB / 0.6717 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.2163, allocations: 0.6807 MB / 0.6723 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.783e-05/0.2163, allocations: 3.5 kB / 0.6723 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.2164, allocations: 21.61 kB / 0.6723 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.2164, allocations: 0 / 0.6723 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.2393, allocations: 2.178 MB / 0.6745 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.19, allocations: 30.91 kB / 0.6745 GB, free: 11.3 MB / 0.5137 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)