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.001899/0.001899, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002487/0.002487, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003379/0.003379, allocations: 291.9 kB / 312.7 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.297/1.297, allocations: 180.6 MB / 0.5369 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.00295/0.00295, allocations: 104.5 kB / 0.7396 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1951, allocations: 95.38 MB / 0.8327 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002944/0.198, allocations: 1.368 MB / 0.8341 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002054/0.2001, allocations: 1.042 MB / 0.8351 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.2001, allocations: 0 / 0.8351 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.2001, allocations: 7.875 kB / 0.8351 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-05/0.2002, allocations: 3.938 kB / 0.8351 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008696/0.2011, allocations: 230 kB / 0.8353 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.075e-05/0.2011, allocations: 27.86 kB / 0.8353 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.875e-05/0.2012, allocations: 11.94 kB / 0.8353 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.2013, allocations: 19.91 kB / 0.8354 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.2014, allocations: 11.92 kB / 0.8354 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.2014, allocations: 4 kB / 0.8354 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007389/0.2021, allocations: 411.4 kB / 0.8358 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.2022, allocations: 0 / 0.8358 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.2022, allocations: 15.92 kB / 0.8358 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.2026, allocations: 199.4 kB / 0.836 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.2027, allocations: 4 kB / 0.836 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2027, allocations: 0 / 0.836 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.2027, allocations: 0 / 0.836 GB, free: 5.109 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.0005299/0.2032, allocations: 309.7 kB / 0.8363 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2032, allocations: 12.62 kB / 0.8363 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.2033, allocations: 34.73 kB / 0.8363 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.2033, allocations: 16.77 kB / 0.8363 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2034, allocations: 106.5 kB / 0.8364 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.2034, allocations: 8.375 kB / 0.8364 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.2035, allocations: 384 / 0.8364 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.2036, allocations: 41.81 kB / 0.8365 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.2036, allocations: 4 kB / 0.8365 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.2036, allocations: 0 / 0.8365 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2036, allocations: 0 / 0.8365 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.7e-05/0.2037, allocations: 12 kB / 0.8365 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.2039, allocations: 132.7 kB / 0.8366 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.204, allocations: 38.55 kB / 0.8367 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.204, allocations: 20.89 kB / 0.8367 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005632/0.2046, allocations: 99.94 kB / 0.8368 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.2046, allocations: 42.5 kB / 0.8368 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.2046, allocations: 0 / 0.8368 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001977/0.2048, allocations: 61.56 kB / 0.8369 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.2048, allocations: 55.41 kB / 0.8369 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.2049, allocations: 105.8 kB / 0.837 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.205, allocations: 25.7 kB / 0.8371 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.205, allocations: 84.14 kB / 0.8371 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.205, allocations: 11.91 kB / 0.8371 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.996e-05/0.2051, allocations: 21.7 kB / 0.8372 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2052, allocations: 310.8 kB / 0.8375 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/0.2052, allocations: 8 kB / 0.8375 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.866e-05/0.2052, allocations: 11.98 kB / 0.8375 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.892e-05/0.2053, allocations: 20.86 kB / 0.8375 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2053, allocations: 0 / 0.8375 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.747e-05/0.2054, allocations: 57.56 kB / 0.8376 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2054, allocations: 6.031 kB / 0.8376 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2054, allocations: 0 / 0.8376 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2054, allocations: 0 / 0.8376 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.2055, allocations: 12 kB / 0.8376 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2055, allocations: 3.938 kB / 0.8376 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.94e-05/0.2056, allocations: 11.98 kB / 0.8376 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.2056, allocations: 4 kB / 0.8376 GB, free: 3.262 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.042e-05/0.2057, allocations: 110.4 kB / 0.8377 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.2057, allocations: 11.89 kB / 0.8377 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.2058, allocations: 61.62 kB / 0.8378 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2058, allocations: 0 / 0.8378 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2058, allocations: 0 / 0.8378 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2058, allocations: 0 / 0.8378 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.2059, allocations: 128.8 kB / 0.8379 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.206, allocations: 0 / 0.8379 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.17e-05/0.206, allocations: 19.92 kB / 0.8379 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.206, allocations: 4 kB / 0.8379 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.206, allocations: 8 kB / 0.8379 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.206, allocations: 0 / 0.8379 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.206, allocations: 0 / 0.8379 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.2062, allocations: 73.11 kB / 0.838 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.2062, allocations: 11.88 kB / 0.838 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.2062, allocations: 4 kB / 0.838 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/0.2062, allocations: 4 kB / 0.838 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.2062, allocations: 11.92 kB / 0.838 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.2062, allocations: 0 / 0.838 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.779e-05/0.2063, allocations: 79.28 kB / 0.8381 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2063, allocations: 4 kB / 0.8381 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002575/0.2065, allocations: 47.86 kB / 0.8382 GB, free: 2.609 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.0005669/0.2071, allocations: 0.6673 MB / 0.8388 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.2072, allocations: 31.95 kB / 0.8388 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2072, allocations: 0 / 0.8388 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.217e-05/0.2072, allocations: 8 kB / 0.8388 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.2075, allocations: 12.48 kB / 0.8389 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.208, allocations: 198.2 kB / 0.839 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.987e-05/0.2081, allocations: 63.34 kB / 0.8391 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.539e-05/0.2081, allocations: 4.844 kB / 0.8391 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.2082, allocations: 15.42 kB / 0.8391 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.2082, allocations: 0 / 0.8391 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.2387, allocations: 2.806 MB / 0.8419 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.23, allocations: 11.61 kB / 0.8419 GB, free: 14.91 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.794110945891589] Failed to read output from testmodel.py, exit status != 0: 11.338182879146188 11.354159364 11.148420334 Calling exit ...