Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001725/0.001725, allocations: 102.7 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.001868/0.001868, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.355/1.355, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8248/0.8248, allocations: 134 MB / 442.8 MB, free: 11.28 MB / 350.1 MB " [Timeout remaining time 179] 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.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001895/0.001895, allocations: 62.12 kB / 0.6135 GB, free: 8.734 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1613, allocations: 85.86 MB / 0.6973 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005379/0.1667, allocations: 4.169 MB / 0.7014 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003734/0.1704, allocations: 2.452 MB / 0.7038 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000349/0.1708, allocations: 15.94 kB / 0.7038 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.1723, allocations: 0.5286 MB / 0.7043 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005747/0.1729, allocations: 254 kB / 0.7046 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1732, allocations: 147.8 kB / 0.7047 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008749/0.1741, allocations: 0.8055 MB / 0.7055 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003672/0.1744, allocations: 234.6 kB / 0.7057 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.1749, allocations: 306.9 kB / 0.706 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.1752, allocations: 334.6 kB / 0.7063 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.134e-05/0.1753, allocations: 72 kB / 0.7064 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1754, allocations: 76 kB / 0.7065 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.1756, allocations: 171.4 kB / 0.7066 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.1759, allocations: 386.2 kB / 0.707 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009836/0.1769, allocations: 0.9962 MB / 0.708 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1769, allocations: 7.938 kB / 0.708 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1769, allocations: 0 / 0.708 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.1769, allocations: 0 / 0.708 GB, free: 7.984 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001507/0.1784, allocations: 0.9691 MB / 0.7089 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1785, allocations: 13.11 kB / 0.7089 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.686e-05/0.1786, allocations: 86.7 kB / 0.709 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.1787, allocations: 80.47 kB / 0.7091 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.1794, allocations: 470 kB / 0.7095 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.1794, allocations: 41.12 kB / 0.7096 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/0.1795, allocations: 52 kB / 0.7096 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007473/0.1802, allocations: 422.5 kB / 0.71 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.1802, allocations: 3.953 kB / 0.71 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.1803, allocations: 20 kB / 0.7101 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.1803, allocations: 12 kB / 0.7101 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006995/0.181, allocations: 375.7 kB / 0.7104 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.1831, allocations: 1.516 MB / 0.7119 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.1836, allocations: 318.7 kB / 0.7122 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/0.184, allocations: 285.5 kB / 0.7125 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.1841, allocations: 7.938 kB / 0.7125 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.1841, allocations: 38.56 kB / 0.7125 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 2.284e-06/0.1841, allocations: 0 / 0.7125 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.0009911/0.1851, allocations: 0.4907 MB / 0.713 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.1851, allocations: 59.41 kB / 0.7131 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005549/0.1857, allocations: 481.9 kB / 0.7135 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.1857, allocations: 33.7 kB / 0.7136 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.1859, allocations: 284.6 kB / 0.7138 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.1861, allocations: 154.6 kB / 0.714 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.1862, allocations: 58.08 kB / 0.714 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1863, allocations: 362.8 kB / 0.7144 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.1866, allocations: 128.6 kB / 0.7145 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.1868, allocations: 121.5 kB / 0.7146 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.1873, allocations: 306.1 kB / 0.7149 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1874, allocations: 0 / 0.7149 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006661/0.188, allocations: 392.5 kB / 0.7153 GB, free: 240 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.188, allocations: 8 kB / 0.7153 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.188, allocations: 0 / 0.7153 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.1881, allocations: 4.766 kB / 0.7153 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.1886, allocations: 123.9 kB / 0.7154 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1886, allocations: 7.922 kB / 0.7154 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.1888, allocations: 39.72 kB / 0.7155 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.1888, allocations: 8 kB / 0.7155 GB, free: 48 kB / 0.5294 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 (46): * Single equations (assignments): 46 * 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.0002465/0.1891, allocations: 205.7 kB / 0.7157 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.1892, allocations: 59.59 kB / 0.7157 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.1893, allocations: 65.05 kB / 0.7158 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1893, allocations: 4 kB / 0.7158 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1893, allocations: 0 / 0.7158 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1893, allocations: 3.984 kB / 0.7158 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006616/0.19, allocations: 0.5674 MB / 0.7163 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.19, allocations: 3.984 kB / 0.7163 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.1905, allocations: 127.9 kB / 0.7165 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1905, allocations: 0 / 0.7165 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.1905, allocations: 8 kB / 0.7165 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1905, allocations: 0 / 0.7165 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1905, allocations: 0 / 0.7165 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009993/0.1915, allocations: 0.6588 MB / 0.7171 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1917, allocations: 144.7 kB / 0.7173 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.1917, allocations: 8 kB / 0.7173 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.1919, allocations: 11.98 kB / 0.7173 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.192, allocations: 23.97 kB / 0.7173 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.192, allocations: 12 kB / 0.7173 GB, free: 14.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004024/0.1924, allocations: 347.1 kB / 0.7176 GB, free: 13.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1924, allocations: 0 / 0.7176 GB, free: 13.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004072/0.1928, allocations: 147.7 kB / 0.7178 GB, free: 13.58 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.001341/0.1942, allocations: 1.219 MB / 0.719 GB, free: 12.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006033/0.1948, allocations: 299.5 kB / 0.7193 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1948, allocations: 4 kB / 0.7193 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.1951, allocations: 163.8 kB / 0.7194 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.1957, allocations: 129.7 kB / 0.7195 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006516/0.2022, allocations: 4.87 MB / 0.7243 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.2027, allocations: 0.8703 MB / 0.7251 GB, free: 5.906 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002027/0.2029, allocations: 56.38 kB / 0.7252 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.2032, allocations: 191.4 kB / 0.7254 GB, free: 5.664 MB / 0.545 GB Notification: Performance of SimCode: time 1.192e-06/0.2032, allocations: 0 / 0.7254 GB, free: 5.664 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03804/0.2412, allocations: 11.51 MB / 0.7366 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/8.659, allocations: 11.62 kB / 0.7366 GB, free: 10.46 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.409710884996457] Failed to read output from testmodel.py, exit status != 0: 8.734209287998965 9.034437376 8.854279444 Calling exit ...