Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001289/0.001289, allocations: 103.1 kB / 16.45 MB, free: 6.504 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.001313/0.001313, allocations: 212.9 kB / 19.43 MB, free: 3.66 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.362/1.362, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.7974/0.7974, allocations: 133.9 MB / 442.8 MB, free: 11.31 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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.001831/0.001831, allocations: 66.84 kB / 0.6135 GB, free: 8.723 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1673, allocations: 85.85 MB / 0.6973 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002682/0.17, allocations: 1.441 MB / 0.6988 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004679/0.1746, allocations: 2.903 MB / 0.7016 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.1747, allocations: 7.938 kB / 0.7016 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.1747, allocations: 0 / 0.7016 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.709e-05/0.1748, allocations: 19.84 kB / 0.7016 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004231/0.179, allocations: 1.626 MB / 0.7032 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.1791, allocations: 47.67 kB / 0.7032 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.1792, allocations: 0 / 0.7032 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.791e-05/0.1792, allocations: 15.92 kB / 0.7033 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.778e-05/0.1792, allocations: 15.92 kB / 0.7033 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.1792, allocations: 0 / 0.7033 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.1817, allocations: 1.552 MB / 0.7048 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.1818, allocations: 7.938 kB / 0.7048 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.1818, allocations: 15.94 kB / 0.7048 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.1835, allocations: 1.091 MB / 0.7059 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1835, allocations: 3.984 kB / 0.7059 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1835, allocations: 0 / 0.7059 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.1835, allocations: 0 / 0.7059 GB, free: 10.19 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.0007284/0.1842, allocations: 0.5285 MB / 0.7064 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1843, allocations: 8.031 kB / 0.7064 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.38e-05/0.1844, allocations: 110 kB / 0.7065 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.03e-05/0.1844, allocations: 84.17 kB / 0.7066 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.1846, allocations: 251.5 kB / 0.7068 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.026e-05/0.1847, allocations: 158.5 kB / 0.707 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.1848, allocations: 150.6 kB / 0.7071 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.22e-05/0.1849, allocations: 104.9 kB / 0.7072 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/0.1849, allocations: 79.28 kB / 0.7073 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.185, allocations: 154.6 kB / 0.7075 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.886e-05/0.185, allocations: 154.6 kB / 0.7076 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.1851, allocations: 150.6 kB / 0.7077 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.1854, allocations: 469.8 kB / 0.7082 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.421e-05/0.1855, allocations: 173.1 kB / 0.7084 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.1856, allocations: 80.14 kB / 0.7084 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.1856, allocations: 79.28 kB / 0.7085 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.09e-05/0.1857, allocations: 105.8 kB / 0.7086 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 2.795e-06/0.1857, allocations: 3.984 kB / 0.7086 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.385e-05/0.1858, allocations: 37.66 kB / 0.7086 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.1858, allocations: 130.6 kB / 0.7088 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.186, allocations: 125.8 kB / 0.7089 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.186, allocations: 29.69 kB / 0.7089 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.1861, allocations: 92.14 kB / 0.709 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.1861, allocations: 0 / 0.709 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.1861, allocations: 17.72 kB / 0.709 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1863, allocations: 322.8 kB / 0.7093 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.1863, allocations: 7.938 kB / 0.7093 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.1863, allocations: 8 kB / 0.7093 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/0.1863, allocations: 12.86 kB / 0.7094 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1863, allocations: 0 / 0.7094 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001318/0.1865, allocations: 57.58 kB / 0.7094 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1865, allocations: 5.406 kB / 0.7094 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.1865, allocations: 4 kB / 0.7094 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1865, allocations: 0 / 0.7094 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1865, allocations: 0 / 0.7094 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1865, allocations: 4 kB / 0.7094 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.1865, allocations: 8 kB / 0.7094 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1866, allocations: 0 / 0.7094 GB, free: 6.301 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.0001184/0.1867, allocations: 185.1 kB / 0.7096 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.429e-05/0.1868, allocations: 112.9 kB / 0.7097 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.079e-05/0.1868, allocations: 112.8 kB / 0.7098 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.051e-05/0.1869, allocations: 180.3 kB / 0.71 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.572e-05/0.187, allocations: 180.3 kB / 0.7102 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-05/0.1871, allocations: 184.2 kB / 0.7103 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.1874, allocations: 417.2 kB / 0.7107 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.649e-05/0.1874, allocations: 104.9 kB / 0.7108 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.1875, allocations: 101 kB / 0.7109 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.05e-05/0.1875, allocations: 184.3 kB / 0.7111 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.045e-05/0.1876, allocations: 184.2 kB / 0.7113 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.26e-05/0.1877, allocations: 184.3 kB / 0.7115 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.729e-05/0.1878, allocations: 184.2 kB / 0.7116 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.188, allocations: 311.7 kB / 0.7119 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1881, allocations: 186 kB / 0.7121 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.265e-05/0.1882, allocations: 180.3 kB / 0.7123 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1883, allocations: 108.9 kB / 0.7124 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/0.1884, allocations: 176.3 kB / 0.7126 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.1884, allocations: 101 kB / 0.7127 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.197e-05/0.1885, allocations: 109.4 kB / 0.7128 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1885, allocations: 0 / 0.7128 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009124/0.1894, allocations: 295 kB / 0.713 GB, free: 2.375 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.001548/0.191, allocations: 1.171 MB / 0.7142 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.1911, allocations: 37.69 kB / 0.7142 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1911, allocations: 0 / 0.7142 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-06/0.1911, allocations: 7.938 kB / 0.7142 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.1915, allocations: 464.2 kB / 0.7147 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.1932, allocations: 1.593 MB / 0.7162 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1935, allocations: 0.6846 MB / 0.7169 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.461e-05/0.1935, allocations: 0 / 0.7169 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.1935, allocations: 15.44 kB / 0.7169 GB, free: 14.27 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.1935, allocations: 0 / 0.7169 GB, free: 14.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.2267, allocations: 7.063 MB / 0.7238 GB, free: 7.422 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.091, allocations: 14.09 kB / 0.7238 GB, free: 7.414 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.479662929996266] Failed to read output from testmodel.py, exit status != 0: 8.159823248992325 8.173914915 7.987613011 Calling exit ...