Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001284/0.001284, allocations: 108.3 kB / 16.46 MB, free: 6.512 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.001331/0.001331, allocations: 208.3 kB / 19.43 MB, free: 3.645 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.371/1.371, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.822/0.822, allocations: 134 MB / 442.8 MB, free: 11.29 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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.001838/0.001838, allocations: 67.41 kB / 0.6135 GB, free: 8.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1608, allocations: 85.85 MB / 0.6973 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004369/0.1652, allocations: 3.054 MB / 0.7003 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003007/0.1682, allocations: 2.184 MB / 0.7024 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.1684, allocations: 8 kB / 0.7024 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.1697, allocations: 0.4928 MB / 0.7029 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.17, allocations: 154.8 kB / 0.7031 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.1701, allocations: 59.94 kB / 0.7031 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005046/0.1706, allocations: 449.8 kB / 0.7036 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.1709, allocations: 103.3 kB / 0.7037 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.1711, allocations: 171.3 kB / 0.7038 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.1713, allocations: 187.1 kB / 0.704 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.1714, allocations: 36 kB / 0.704 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.1714, allocations: 36 kB / 0.7041 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.1716, allocations: 95.67 kB / 0.7042 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.1718, allocations: 222.9 kB / 0.7044 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005593/0.1723, allocations: 0.5486 MB / 0.7049 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1723, allocations: 0 / 0.7049 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1723, allocations: 0 / 0.7049 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.1723, allocations: 0 / 0.7049 GB, free: 11.15 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001043/0.1734, allocations: 0.716 MB / 0.7056 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1734, allocations: 9.109 kB / 0.7056 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.956e-05/0.1735, allocations: 58.73 kB / 0.7057 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.164e-05/0.1736, allocations: 44.66 kB / 0.7057 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.1741, allocations: 378.4 kB / 0.7061 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.1741, allocations: 28.44 kB / 0.7061 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/0.1742, allocations: 28 kB / 0.7061 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.1746, allocations: 199.3 kB / 0.7063 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1746, allocations: 0 / 0.7063 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.1746, allocations: 8 kB / 0.7063 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1746, allocations: 8 kB / 0.7063 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.175, allocations: 165.6 kB / 0.7065 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.1762, allocations: 0.8664 MB / 0.7073 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.1765, allocations: 138.6 kB / 0.7075 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.1767, allocations: 100.8 kB / 0.7076 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1767, allocations: 11.94 kB / 0.7076 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1767, allocations: 30.56 kB / 0.7076 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.1767, allocations: 0 / 0.7076 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005948/0.1773, allocations: 253.5 kB / 0.7078 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.1774, allocations: 59.41 kB / 0.7079 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.1778, allocations: 417.7 kB / 0.7083 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1779, allocations: 33.7 kB / 0.7083 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.178, allocations: 204.3 kB / 0.7085 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.1781, allocations: 67.42 kB / 0.7086 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.1781, allocations: 29.72 kB / 0.7086 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1783, allocations: 350.8 kB / 0.709 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1784, allocations: 55.97 kB / 0.709 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1786, allocations: 59.97 kB / 0.7091 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.1789, allocations: 139.2 kB / 0.7092 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1789, allocations: 0 / 0.7092 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003955/0.1793, allocations: 209.3 kB / 0.7094 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1793, allocations: 4 kB / 0.7094 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1793, allocations: 0 / 0.7094 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1793, allocations: 0 / 0.7094 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.1795, allocations: 67.89 kB / 0.7095 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1796, allocations: 3.984 kB / 0.7095 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.1797, allocations: 15.84 kB / 0.7095 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1797, allocations: 8 kB / 0.7095 GB, free: 6.195 MB / 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 (20): * Single equations (assignments): 20 * 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.0001546/0.1799, allocations: 165.8 kB / 0.7096 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.1799, allocations: 43.7 kB / 0.7097 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.074e-05/0.18, allocations: 39.59 kB / 0.7097 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.18, allocations: 4 kB / 0.7097 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.18, allocations: 0 / 0.7097 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.18, allocations: 3.984 kB / 0.7097 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.1804, allocations: 377.3 kB / 0.7101 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1804, allocations: 7.938 kB / 0.7101 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.1807, allocations: 51.91 kB / 0.7102 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.1807, allocations: 3.984 kB / 0.7102 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1807, allocations: 8 kB / 0.7102 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1807, allocations: 0 / 0.7102 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1807, allocations: 0 / 0.7102 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.1813, allocations: 378.9 kB / 0.7105 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1814, allocations: 120.8 kB / 0.7106 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.1814, allocations: 11.94 kB / 0.7106 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1816, allocations: 11.98 kB / 0.7107 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.1817, allocations: 11.92 kB / 0.7107 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.1817, allocations: 8.062 kB / 0.7107 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003312/0.182, allocations: 307.1 kB / 0.711 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.182, allocations: 0 / 0.711 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002948/0.1823, allocations: 71.89 kB / 0.711 GB, free: 4.512 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0009014/0.1832, allocations: 0.9246 MB / 0.7119 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.1835, allocations: 131.8 kB / 0.7121 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1835, allocations: 0 / 0.7121 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.1837, allocations: 82.55 kB / 0.7121 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.1842, allocations: 96.27 kB / 0.7122 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/0.1887, allocations: 3.485 MB / 0.7156 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.1891, allocations: 0.7988 MB / 0.7164 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.1892, allocations: 42.95 kB / 0.7165 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.1894, allocations: 115.4 kB / 0.7166 GB, free: 14.71 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.1894, allocations: 0 / 0.7166 GB, free: 14.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.2217, allocations: 8.011 MB / 0.7244 GB, free: 6.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.244, allocations: 14 kB / 0.7244 GB, free: 6.961 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.744950969005004] Failed to read output from testmodel.py, exit status != 0: 8.313257431000238 8.327026154 8.15202509 Calling exit ...