Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001389/0.001389, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001541/0.001541, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 7.746 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.8019/0.8019, allocations: 134 MB / 446.4 MB, free: 9.973 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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.001941/0.001941, allocations: 75.94 kB / 0.6186 GB, free: 6.848 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1644, allocations: 85.91 MB / 0.7025 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003015/0.1674, allocations: 1.423 MB / 0.7039 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005016/0.1724, allocations: 2.658 MB / 0.7065 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.1725, allocations: 0 / 0.7065 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.1725, allocations: 7.922 kB / 0.7065 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.557e-05/0.1726, allocations: 11.86 kB / 0.7065 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00456/0.1771, allocations: 1.636 MB / 0.7081 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1772, allocations: 51.66 kB / 0.7081 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.1773, allocations: 0 / 0.7081 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.122e-05/0.1773, allocations: 15.94 kB / 0.7081 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.306e-05/0.1774, allocations: 15.92 kB / 0.7081 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.1774, allocations: 0 / 0.7081 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.1801, allocations: 1.479 MB / 0.7096 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.1801, allocations: 3.938 kB / 0.7096 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.1801, allocations: 15.94 kB / 0.7096 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.1817, allocations: 1.091 MB / 0.7107 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1817, allocations: 0 / 0.7107 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.694e-06/0.1817, allocations: 0 / 0.7107 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.1817, allocations: 0 / 0.7107 GB, free: 8.605 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006469/0.1824, allocations: 472 kB / 0.7111 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1824, allocations: 8.031 kB / 0.7111 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.381e-05/0.1825, allocations: 110 kB / 0.7112 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.908e-05/0.1826, allocations: 76.22 kB / 0.7113 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.1827, allocations: 197.7 kB / 0.7115 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.86e-05/0.1828, allocations: 158.5 kB / 0.7117 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.127e-05/0.1829, allocations: 158.5 kB / 0.7118 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.588e-05/0.183, allocations: 101 kB / 0.7119 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.183, allocations: 79.28 kB / 0.712 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.177e-05/0.1831, allocations: 154.6 kB / 0.7121 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.241e-05/0.1832, allocations: 150.6 kB / 0.7123 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.1832, allocations: 150.6 kB / 0.7124 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.1836, allocations: 444.9 kB / 0.7128 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1837, allocations: 173.1 kB / 0.713 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.1837, allocations: 80.14 kB / 0.7131 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.1838, allocations: 75.28 kB / 0.7131 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/0.1838, allocations: 113.8 kB / 0.7133 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1838, allocations: 0 / 0.7133 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.656e-05/0.1839, allocations: 29.64 kB / 0.7133 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.184, allocations: 134.7 kB / 0.7134 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.1841, allocations: 135.7 kB / 0.7135 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.1841, allocations: 25.7 kB / 0.7136 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.1842, allocations: 92.12 kB / 0.7137 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.1842, allocations: 0 / 0.7137 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.1842, allocations: 21.72 kB / 0.7137 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1844, allocations: 326.8 kB / 0.714 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.1844, allocations: 4 kB / 0.714 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.507e-05/0.1844, allocations: 8 kB / 0.714 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/0.1845, allocations: 12.86 kB / 0.714 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1845, allocations: 0 / 0.714 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001287/0.1846, allocations: 57.58 kB / 0.7141 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1846, allocations: 4 kB / 0.7141 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.1846, allocations: 4 kB / 0.7141 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1847, allocations: 0 / 0.7141 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.1847, allocations: 0 / 0.7141 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1847, allocations: 3.938 kB / 0.7141 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.1847, allocations: 0 / 0.7141 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1847, allocations: 4 kB / 0.7141 GB, free: 4.91 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 (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.0001173/0.1848, allocations: 193.1 kB / 0.7143 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.1849, allocations: 112.9 kB / 0.7144 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-05/0.1849, allocations: 116.7 kB / 0.7145 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-05/0.185, allocations: 176.3 kB / 0.7147 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.371e-05/0.1851, allocations: 176.3 kB / 0.7148 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-05/0.1852, allocations: 188.2 kB / 0.715 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.1855, allocations: 388.2 kB / 0.7154 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.685e-05/0.1855, allocations: 104.9 kB / 0.7155 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.1856, allocations: 105 kB / 0.7156 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.044e-05/0.1856, allocations: 184.2 kB / 0.7157 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.928e-05/0.1857, allocations: 184.3 kB / 0.7159 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-05/0.1858, allocations: 180.2 kB / 0.7161 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.78e-05/0.1859, allocations: 184.2 kB / 0.7163 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.1861, allocations: 311.7 kB / 0.7166 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.1861, allocations: 113 kB / 0.7167 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.331e-05/0.1862, allocations: 176.3 kB / 0.7168 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.722e-05/0.1863, allocations: 108.9 kB / 0.7169 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.1864, allocations: 180.2 kB / 0.7171 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.1864, allocations: 104.9 kB / 0.7172 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.972e-05/0.1865, allocations: 109.4 kB / 0.7173 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1865, allocations: 4 kB / 0.7173 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007548/0.1873, allocations: 291 kB / 0.7176 GB, free: 1.102 MB / 0.5294 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.001417/0.1887, allocations: 1.19 MB / 0.7188 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.1888, allocations: 45.64 kB / 0.7188 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1888, allocations: 64 / 0.7188 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.1888, allocations: 8 kB / 0.7188 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.1892, allocations: 456.6 kB / 0.7193 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.1908, allocations: 1.611 MB / 0.7208 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.017e-05/0.1908, allocations: 71.14 kB / 0.7209 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.267e-05/0.1908, allocations: 0 / 0.7209 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.1909, allocations: 23.45 kB / 0.7209 GB, free: 13.57 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1909, allocations: 4 kB / 0.7209 GB, free: 13.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.2273, allocations: 7.769 MB / 0.7285 GB, free: 5.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.54, allocations: 5.516 kB / 0.7285 GB, free: 5.977 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.052573271095753] Failed to read output from testmodel.py, exit status != 0: 11.648670413997024 11.677038158 11.490297636 Calling exit ...