Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 107.2 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 216.9 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002517/0.002517, allocations: 288.1 kB / 309.1 MB, free: 3.984 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.3/1.3, allocations: 180.9 MB / 0.5333 GB, free: 13.95 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 100.9 kB / 0.7343 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1792, allocations: 95.33 MB / 0.8274 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002574/0.1818, allocations: 1.386 MB / 0.8288 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.1837, allocations: 1.155 MB / 0.8299 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.1837, allocations: 0 / 0.8299 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.1838, allocations: 0 / 0.8299 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.641e-05/0.1838, allocations: 3.938 kB / 0.8299 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006524/0.1845, allocations: 234.5 kB / 0.8301 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.288e-05/0.1845, allocations: 35.8 kB / 0.8302 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.1846, allocations: 3.938 kB / 0.8302 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1847, allocations: 15.97 kB / 0.8302 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.1848, allocations: 19.92 kB / 0.8302 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.1848, allocations: 0 / 0.8302 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000647/0.1854, allocations: 439.4 kB / 0.8306 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.1854, allocations: 15.86 kB / 0.8306 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.1855, allocations: 11.94 kB / 0.8306 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.1858, allocations: 203.4 kB / 0.8308 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1858, allocations: 0 / 0.8308 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1858, allocations: 4 kB / 0.8308 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1858, allocations: 0 / 0.8308 GB, free: 6.367 MB / 0.5762 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.0004846/0.1863, allocations: 386.8 kB / 0.8312 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1863, allocations: 8.031 kB / 0.8312 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.1863, allocations: 34.75 kB / 0.8313 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.1864, allocations: 8.891 kB / 0.8313 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.1865, allocations: 172.3 kB / 0.8314 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1865, allocations: 4.375 kB / 0.8314 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.1865, allocations: 4.375 kB / 0.8314 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.533e-05/0.1866, allocations: 41.75 kB / 0.8315 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1866, allocations: 3.938 kB / 0.8315 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1866, allocations: 4 kB / 0.8315 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1866, allocations: 0 / 0.8315 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.851e-05/0.1867, allocations: 12 kB / 0.8315 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.1869, allocations: 165.6 kB / 0.8316 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.627e-05/0.187, allocations: 34.58 kB / 0.8317 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.187, allocations: 20.92 kB / 0.8317 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009927/0.188, allocations: 0.9856 MB / 0.8327 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.188, allocations: 38.44 kB / 0.8327 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.188, allocations: 0 / 0.8327 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001714/0.1882, allocations: 65.81 kB / 0.8328 GB, free: 4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.1882, allocations: 51.41 kB / 0.8328 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.441e-05/0.1883, allocations: 109.8 kB / 0.8329 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.1883, allocations: 29.7 kB / 0.8329 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.1884, allocations: 80.14 kB / 0.833 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1884, allocations: 11.91 kB / 0.833 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.1885, allocations: 17.7 kB / 0.8331 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1886, allocations: 318.8 kB / 0.8334 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.1886, allocations: 4 kB / 0.8334 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.891e-05/0.1886, allocations: 7.984 kB / 0.8334 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.222e-05/0.1887, allocations: 28.8 kB / 0.8334 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1887, allocations: 0 / 0.8334 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.751e-05/0.1888, allocations: 53.62 kB / 0.8334 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1888, allocations: 4 kB / 0.8334 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1888, allocations: 8 kB / 0.8335 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1888, allocations: 0 / 0.8335 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1889, allocations: 12 kB / 0.8335 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1889, allocations: 0 / 0.8335 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.1889, allocations: 7.922 kB / 0.8335 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.1889, allocations: 0 / 0.8335 GB, free: 3.215 MB / 0.5762 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 8.064e-05/0.189, allocations: 118.4 kB / 0.8336 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.189, allocations: 7.891 kB / 0.8336 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.1892, allocations: 61.59 kB / 0.8337 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1892, allocations: 0 / 0.8337 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1892, allocations: 7.938 kB / 0.8337 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1892, allocations: 0 / 0.8337 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1893, allocations: 157.7 kB / 0.8338 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1893, allocations: 4 kB / 0.8338 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.207e-05/0.1894, allocations: 11.94 kB / 0.8338 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1894, allocations: 8 kB / 0.8338 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.1894, allocations: 0 / 0.8338 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1894, allocations: 3.984 kB / 0.8338 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1894, allocations: 0 / 0.8338 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.1895, allocations: 81.05 kB / 0.8339 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.1895, allocations: 88.98 kB / 0.834 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.1896, allocations: 0 / 0.834 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.1896, allocations: 0 / 0.834 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.1896, allocations: 4 kB / 0.834 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.1896, allocations: 4 kB / 0.834 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.642e-05/0.1896, allocations: 87.27 kB / 0.8341 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1896, allocations: 0 / 0.8341 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000239/0.1899, allocations: 39.88 kB / 0.8341 GB, free: 2.438 MB / 0.5762 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.0005579/0.1904, allocations: 0.6863 MB / 0.8348 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.836e-05/0.1905, allocations: 16.28 kB / 0.8348 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1905, allocations: 0 / 0.8348 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.638e-05/0.1906, allocations: 16.06 kB / 0.8348 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.1908, allocations: 8.5 kB / 0.8348 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.1913, allocations: 207.8 kB / 0.835 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.1915, allocations: 0.6807 MB / 0.8357 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.028e-05/0.1916, allocations: 4 kB / 0.8357 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.1916, allocations: 14.38 kB / 0.8357 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1916, allocations: 4 kB / 0.8357 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.2153, allocations: 2.321 MB / 0.838 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.126, allocations: 12.94 kB / 0.838 GB, free: 14.61 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.401339762844145] Failed to read output from testmodel.py, exit status != 0: 8.19295768905431 8.208757338 8.018453244 Calling exit ...