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.001633/0.001633, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002153/0.002153, allocations: 211.4 kB / 22.24 MB, free: 5.242 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.82 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.8334/0.8334, allocations: 134 MB / 446.4 MB, free: 9.961 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.002271/0.002271, allocations: 69.11 kB / 0.6185 GB, free: 6.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1605, allocations: 85.9 MB / 0.7024 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005712/0.1663, allocations: 3.79 MB / 0.7061 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003672/0.1699, allocations: 2.215 MB / 0.7083 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.1704, allocations: 16 kB / 0.7083 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.1721, allocations: 497.4 kB / 0.7088 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007436/0.1729, allocations: 254 kB / 0.709 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.1732, allocations: 139.8 kB / 0.7092 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.1743, allocations: 0.8166 MB / 0.7099 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004317/0.1747, allocations: 219 kB / 0.7102 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005436/0.1753, allocations: 307 kB / 0.7105 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.1758, allocations: 282.6 kB / 0.7107 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.1759, allocations: 76 kB / 0.7108 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.1761, allocations: 76 kB / 0.7109 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.1763, allocations: 171.4 kB / 0.711 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003978/0.1767, allocations: 318.6 kB / 0.7113 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.1777, allocations: 1 MB / 0.7123 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1777, allocations: 0 / 0.7123 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1777, allocations: 0 / 0.7123 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.905e-05/0.1778, allocations: 0 / 0.7123 GB, free: 6.887 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.001746/0.1795, allocations: 0.8976 MB / 0.7132 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1796, allocations: 8.625 kB / 0.7132 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.1797, allocations: 94.7 kB / 0.7133 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.1798, allocations: 76.47 kB / 0.7134 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007422/0.1805, allocations: 404.2 kB / 0.7137 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.1806, allocations: 41.12 kB / 0.7138 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.1807, allocations: 44 kB / 0.7138 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007915/0.1815, allocations: 430.4 kB / 0.7142 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.1815, allocations: 3.953 kB / 0.7142 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.1815, allocations: 23.98 kB / 0.7143 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.1815, allocations: 16 kB / 0.7143 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/0.1822, allocations: 359.8 kB / 0.7146 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.1843, allocations: 1.261 MB / 0.7159 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.1849, allocations: 307.2 kB / 0.7161 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/0.1854, allocations: 288.5 kB / 0.7164 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.1854, allocations: 8 kB / 0.7164 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1855, allocations: 34.56 kB / 0.7165 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 2.545e-06/0.1855, allocations: 4 kB / 0.7165 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.0009901/0.1864, allocations: 494.5 kB / 0.7169 GB, free: 2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1865, allocations: 59.34 kB / 0.717 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.1871, allocations: 493.9 kB / 0.7175 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.1871, allocations: 29.7 kB / 0.7175 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.1873, allocations: 280.7 kB / 0.7178 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.1875, allocations: 154.6 kB / 0.7179 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.1876, allocations: 62.08 kB / 0.718 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1878, allocations: 366.8 kB / 0.7183 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.188, allocations: 120.7 kB / 0.7184 GB, free: 424 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.1883, allocations: 125.2 kB / 0.7186 GB, free: 300 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.1888, allocations: 298.1 kB / 0.7188 GB, free: 0 / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1888, allocations: 0 / 0.7188 GB, free: 0 / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007219/0.1895, allocations: 400.8 kB / 0.7192 GB, free: 15.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1895, allocations: 7.938 kB / 0.7192 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1896, allocations: 0 / 0.7192 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1896, allocations: 0.7656 kB / 0.7192 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.1901, allocations: 123.9 kB / 0.7193 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.1901, allocations: 4 kB / 0.7193 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.1903, allocations: 31.73 kB / 0.7194 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.1903, allocations: 12 kB / 0.7194 GB, free: 15.43 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.0002641/0.1906, allocations: 205.7 kB / 0.7196 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-05/0.1907, allocations: 51.67 kB / 0.7196 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.1908, allocations: 69.03 kB / 0.7197 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.1908, allocations: 4 kB / 0.7197 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1908, allocations: 0 / 0.7197 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1908, allocations: 3.984 kB / 0.7197 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006892/0.1915, allocations: 488.2 kB / 0.7202 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1915, allocations: 0 / 0.7202 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.192, allocations: 123.9 kB / 0.7203 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1921, allocations: 4 kB / 0.7203 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.1921, allocations: 8 kB / 0.7203 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1921, allocations: 4 kB / 0.7203 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1921, allocations: 0 / 0.7203 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.1931, allocations: 0.6588 MB / 0.7209 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.1933, allocations: 55.64 kB / 0.721 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.584e-05/0.1933, allocations: 12 kB / 0.721 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.1936, allocations: 11.98 kB / 0.721 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.1936, allocations: 27.95 kB / 0.7211 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.1937, allocations: 15.94 kB / 0.7211 GB, free: 13.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004307/0.1941, allocations: 351.1 kB / 0.7214 GB, free: 13.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1941, allocations: 0 / 0.7214 GB, free: 13.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004411/0.1945, allocations: 147.7 kB / 0.7215 GB, free: 13.15 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.001383/0.1959, allocations: 1.214 MB / 0.7227 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006218/0.1965, allocations: 307.4 kB / 0.723 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1965, allocations: 4 kB / 0.723 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.1968, allocations: 163.8 kB / 0.7232 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.1975, allocations: 130.4 kB / 0.7233 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006974/0.2045, allocations: 4.855 MB / 0.728 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.2048, allocations: 279 kB / 0.7283 GB, free: 6.082 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.2051, allocations: 56.39 kB / 0.7284 GB, free: 6.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.2054, allocations: 187.4 kB / 0.7285 GB, free: 5.844 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/0.2054, allocations: 0 / 0.7285 GB, free: 5.844 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0472/0.2526, allocations: 12.64 MB / 0.7409 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.87, allocations: 10.17 kB / 0.7409 GB, free: 9.5 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.762395108118653] Failed to read output from testmodel.py, exit status != 0: 11.983754366170615 12.29450662 12.113532059 Calling exit ...