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.001305/0.001305, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001466/0.001466, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 8.027 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.8096/0.8096, allocations: 134 MB / 446.4 MB, free: 10.25 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.001908/0.001908, allocations: 72.17 kB / 0.6186 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.165, allocations: 85.9 MB / 0.7025 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005495/0.1705, allocations: 4.202 MB / 0.7066 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003692/0.1742, allocations: 2.46 MB / 0.709 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.1745, allocations: 8 kB / 0.709 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.176, allocations: 0.5441 MB / 0.7095 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005291/0.1766, allocations: 254 kB / 0.7098 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.1768, allocations: 139.9 kB / 0.7099 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000856/0.1777, allocations: 0.8059 MB / 0.7107 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.1781, allocations: 235 kB / 0.7109 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.1785, allocations: 314.9 kB / 0.7112 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.1789, allocations: 330.5 kB / 0.7115 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.446e-05/0.1789, allocations: 72 kB / 0.7116 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1791, allocations: 76 kB / 0.7117 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1792, allocations: 179.4 kB / 0.7118 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.1796, allocations: 386.2 kB / 0.7122 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009835/0.1806, allocations: 0.9924 MB / 0.7132 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1806, allocations: 0 / 0.7132 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1806, allocations: 4 kB / 0.7132 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.1806, allocations: 0 / 0.7132 GB, free: 6.387 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.001463/0.1821, allocations: 0.8937 MB / 0.7141 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1821, allocations: 12.62 kB / 0.7141 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.1822, allocations: 90.7 kB / 0.7142 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.1823, allocations: 80.47 kB / 0.7142 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006787/0.183, allocations: 396.2 kB / 0.7146 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.183, allocations: 41.12 kB / 0.7147 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.1831, allocations: 48 kB / 0.7147 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007408/0.1839, allocations: 434.4 kB / 0.7151 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.1839, allocations: 3.953 kB / 0.7151 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.1839, allocations: 24 kB / 0.7151 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.1839, allocations: 12 kB / 0.7152 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/0.1846, allocations: 367.8 kB / 0.7155 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.1867, allocations: 1.476 MB / 0.7169 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.1872, allocations: 314.7 kB / 0.7172 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.1877, allocations: 280.5 kB / 0.7175 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.1877, allocations: 4 kB / 0.7175 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1877, allocations: 34.56 kB / 0.7176 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 1.994e-06/0.1877, allocations: 0 / 0.7176 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.0009799/0.1887, allocations: 0.4907 MB / 0.718 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.1888, allocations: 59.41 kB / 0.7181 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.1894, allocations: 489.9 kB / 0.7186 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.1894, allocations: 33.7 kB / 0.7186 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.1896, allocations: 280.7 kB / 0.7189 GB, free: 392 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.1898, allocations: 154.6 kB / 0.719 GB, free: 236 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1899, allocations: 62.08 kB / 0.7191 GB, free: 164 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002117/0.1901, allocations: 362.8 kB / 0.7194 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.1903, allocations: 120.7 kB / 0.7195 GB, free: 15.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.1906, allocations: 125.2 kB / 0.7196 GB, free: 15.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.1911, allocations: 302.1 kB / 0.7199 GB, free: 15.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1911, allocations: 0 / 0.7199 GB, free: 15.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006575/0.1918, allocations: 392.8 kB / 0.7203 GB, free: 14.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1918, allocations: 8 kB / 0.7203 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1918, allocations: 0 / 0.7203 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.1918, allocations: 8.641 kB / 0.7203 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/0.1923, allocations: 127.9 kB / 0.7204 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1923, allocations: 4 kB / 0.7204 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.1926, allocations: 39.72 kB / 0.7205 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.1926, allocations: 12 kB / 0.7205 GB, free: 14.68 MB / 0.545 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.0002398/0.1928, allocations: 201.7 kB / 0.7207 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.329e-05/0.1929, allocations: 51.67 kB / 0.7207 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.193, allocations: 61.05 kB / 0.7208 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.193, allocations: 4 kB / 0.7208 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.193, allocations: 4 kB / 0.7208 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1931, allocations: 3.984 kB / 0.7208 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006801/0.1937, allocations: 0.5508 MB / 0.7213 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1937, allocations: 0 / 0.7213 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.1942, allocations: 127.9 kB / 0.7215 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1942, allocations: 0 / 0.7215 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.1943, allocations: 8 kB / 0.7215 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1943, allocations: 0 / 0.7215 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1943, allocations: 0 / 0.7215 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1953, allocations: 0.6627 MB / 0.7221 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1954, allocations: 59.64 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.1954, allocations: 4 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.1957, allocations: 11.98 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.1957, allocations: 27.95 kB / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1958, allocations: 8 kB / 0.7222 GB, free: 12.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004277/0.1962, allocations: 347.1 kB / 0.7226 GB, free: 12.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1962, allocations: 4 kB / 0.7226 GB, free: 12.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004221/0.1966, allocations: 151.7 kB / 0.7227 GB, free: 12.34 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.1979, allocations: 1.216 MB / 0.7239 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005968/0.1985, allocations: 303.4 kB / 0.7242 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1985, allocations: 0 / 0.7242 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.1988, allocations: 163.8 kB / 0.7243 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/0.1995, allocations: 140.8 kB / 0.7245 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00653/0.206, allocations: 4.855 MB / 0.7292 GB, free: 5.574 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.2065, allocations: 0.8702 MB / 0.7301 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002084/0.2067, allocations: 64.38 kB / 0.7301 GB, free: 4.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.207, allocations: 187.4 kB / 0.7303 GB, free: 4.43 MB / 0.545 GB Notification: Performance of SimCode: time 1.372e-06/0.207, allocations: 3.938 kB / 0.7303 GB, free: 4.426 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04251/0.2495, allocations: 11.8 MB / 0.7418 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.9, allocations: 11.8 kB / 0.7418 GB, free: 8.906 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.775755907998246] Failed to read output from testmodel.py, exit status != 0: 12.004744548998133 12.35281399 12.168863609 Calling exit ...