Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001852/0.001852, allocations: 104 kB / 16.45 MB, free: 6.449 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.002155/0.002155, allocations: 212 kB / 19.43 MB, free: 3.637 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.457/1.457, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.002609/0.002609, allocations: 290.4 kB / 309.1 MB, free: 4.078 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.218/1.218, allocations: 180.9 MB / 0.5333 GB, free: 13.85 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 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.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.004504/0.004504, allocations: 101 kB / 0.7343 GB, free: 28.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1728, allocations: 95.34 MB / 0.8274 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00253/0.1753, allocations: 1.46 MB / 0.8289 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004558/0.1799, allocations: 2.936 MB / 0.8317 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.1799, allocations: 0 / 0.8317 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.1799, allocations: 3.984 kB / 0.8317 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.296e-05/0.18, allocations: 15.81 kB / 0.8317 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.1839, allocations: 1.621 MB / 0.8333 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.591e-05/0.184, allocations: 43.73 kB / 0.8334 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.184, allocations: 7.984 kB / 0.8334 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.184, allocations: 11.94 kB / 0.8334 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.1841, allocations: 23.88 kB / 0.8334 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/0.1841, allocations: 3.938 kB / 0.8334 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.1863, allocations: 1.556 MB / 0.8349 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.1863, allocations: 0 / 0.8349 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.1863, allocations: 23.86 kB / 0.835 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.1878, allocations: 1.099 MB / 0.836 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1878, allocations: 0 / 0.836 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1878, allocations: 0 / 0.836 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1878, allocations: 0 / 0.836 GB, free: 1.059 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000684/0.1885, allocations: 0.538 MB / 0.8365 GB, free: 484 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1885, allocations: 12.69 kB / 0.8366 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/0.1886, allocations: 106 kB / 0.8367 GB, free: 356 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.067e-05/0.1886, allocations: 84.17 kB / 0.8367 GB, free: 272 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.1888, allocations: 249.3 kB / 0.837 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.1889, allocations: 154.9 kB / 0.8371 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.1889, allocations: 154.9 kB / 0.8373 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.472e-05/0.189, allocations: 120.9 kB / 0.8374 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.189, allocations: 75.28 kB / 0.8375 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.1891, allocations: 150.6 kB / 0.8376 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.616e-05/0.1892, allocations: 150.6 kB / 0.8377 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.291e-05/0.1892, allocations: 154.5 kB / 0.8379 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.1895, allocations: 469.9 kB / 0.8383 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.009e-05/0.1896, allocations: 165.1 kB / 0.8385 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.1897, allocations: 84.12 kB / 0.8386 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.1897, allocations: 79.22 kB / 0.8387 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.892e-05/0.1898, allocations: 121.8 kB / 0.8388 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.1898, allocations: 0 / 0.8388 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.389e-05/0.1898, allocations: 29.66 kB / 0.8388 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.1899, allocations: 130.7 kB / 0.8389 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.19, allocations: 125.8 kB / 0.839 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1901, allocations: 25.7 kB / 0.8391 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.1901, allocations: 96.08 kB / 0.8392 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.1901, allocations: 0 / 0.8392 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.1902, allocations: 21.72 kB / 0.8392 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1903, allocations: 318.8 kB / 0.8395 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.1903, allocations: 4 kB / 0.8395 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.565e-05/0.1903, allocations: 4 kB / 0.8395 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.1904, allocations: 16.8 kB / 0.8395 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1904, allocations: 0 / 0.8395 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001246/0.1905, allocations: 49.62 kB / 0.8396 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1905, allocations: 9.406 kB / 0.8396 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.1905, allocations: 0 / 0.8396 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1905, allocations: 4.062 kB / 0.8396 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.385e-06/0.1905, allocations: 7.938 kB / 0.8396 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1905, allocations: 0 / 0.8396 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.1906, allocations: 3.953 kB / 0.8396 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1906, allocations: 0 / 0.8396 GB, free: 13.17 MB / 0.5919 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001012/0.1907, allocations: 185.1 kB / 0.8398 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.1907, allocations: 108.9 kB / 0.8399 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.273e-05/0.1908, allocations: 128.6 kB / 0.84 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.091e-05/0.1909, allocations: 180.2 kB / 0.8402 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.067e-05/0.1909, allocations: 176.3 kB / 0.8403 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.028e-05/0.191, allocations: 180.3 kB / 0.8405 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.1913, allocations: 421.1 kB / 0.8409 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.902e-05/0.1913, allocations: 101 kB / 0.841 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.1913, allocations: 112.9 kB / 0.8411 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.951e-05/0.1914, allocations: 176.3 kB / 0.8413 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/0.1915, allocations: 180.3 kB / 0.8414 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.16e-05/0.1915, allocations: 184.2 kB / 0.8416 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.048e-05/0.1916, allocations: 180.3 kB / 0.8418 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.1918, allocations: 315.7 kB / 0.8421 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-05/0.1919, allocations: 186 kB / 0.8423 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/0.1919, allocations: 188.2 kB / 0.8424 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.192, allocations: 105 kB / 0.8425 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.1921, allocations: 180.2 kB / 0.8427 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.1921, allocations: 109 kB / 0.8428 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.254e-05/0.1922, allocations: 101.4 kB / 0.8429 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1922, allocations: 0 / 0.8429 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007408/0.1929, allocations: 291 kB / 0.8432 GB, free: 9.238 MB / 0.5919 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 (0): * Single equations (assignments): 0 * 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.001343/0.1943, allocations: 1.179 MB / 0.8444 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.615e-05/0.1944, allocations: 33.7 kB / 0.8444 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1944, allocations: 4 kB / 0.8444 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.158e-06/0.1944, allocations: 3.984 kB / 0.8444 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1948, allocations: 464.7 kB / 0.8448 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1963, allocations: 1.597 MB / 0.8464 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1965, allocations: 0.6846 MB / 0.8471 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.521e-05/0.1965, allocations: 4.031 kB / 0.8471 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.1966, allocations: 11.44 kB / 0.8471 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of SimCode: time 4.4e-07/0.1966, allocations: 7.969 kB / 0.8471 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.2282, allocations: 7.134 MB / 0.8541 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.299, allocations: 8.641 kB / 0.8541 GB, free: 14.2 MB / 0.6075 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.43078926904127] Failed to read output from testmodel.py, exit status != 0: 8.373807474970818 8.397615959 8.205738636 Calling exit ...