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.001565/0.001565, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001838/0.001838, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.805 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.8087/0.8087, allocations: 134 MB / 446.4 MB, free: 9.957 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.002121/0.002121, allocations: 68.34 kB / 0.6186 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1515, allocations: 85.91 MB / 0.7025 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002727/0.1542, allocations: 1.423 MB / 0.7038 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004462/0.1587, allocations: 2.619 MB / 0.7064 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.1587, allocations: 0 / 0.7064 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.1587, allocations: 4 kB / 0.7064 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.1588, allocations: 15.8 kB / 0.7064 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004033/0.1628, allocations: 1.608 MB / 0.708 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.106e-05/0.1629, allocations: 39.73 kB / 0.708 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.163, allocations: 7.984 kB / 0.708 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.717e-05/0.163, allocations: 11.94 kB / 0.708 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.218e-05/0.163, allocations: 23.86 kB / 0.7081 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.163, allocations: 0 / 0.7081 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.1653, allocations: 1.44 MB / 0.7095 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.1653, allocations: 7.984 kB / 0.7095 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.1653, allocations: 15.88 kB / 0.7095 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.1668, allocations: 1.06 MB / 0.7105 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1668, allocations: 0 / 0.7105 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1668, allocations: 3.938 kB / 0.7105 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.1668, allocations: 4 kB / 0.7105 GB, free: 8.738 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.0006017/0.1674, allocations: 456.1 kB / 0.711 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1674, allocations: 16.02 kB / 0.711 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.449e-05/0.1675, allocations: 110 kB / 0.7111 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/0.1675, allocations: 84.17 kB / 0.7112 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1677, allocations: 189.7 kB / 0.7114 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.1678, allocations: 158.5 kB / 0.7115 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/0.1678, allocations: 150.6 kB / 0.7117 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.976e-05/0.1679, allocations: 112.9 kB / 0.7118 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.1679, allocations: 75.28 kB / 0.7118 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.168, allocations: 150.6 kB / 0.712 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.659e-05/0.168, allocations: 150.6 kB / 0.7121 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.351e-05/0.1681, allocations: 158.6 kB / 0.7123 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.1684, allocations: 440.9 kB / 0.7127 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.1685, allocations: 169.1 kB / 0.7129 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.1685, allocations: 80.14 kB / 0.7129 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.1686, allocations: 83.28 kB / 0.713 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.1686, allocations: 105.8 kB / 0.7131 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1686, allocations: 0 / 0.7131 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.456e-05/0.1687, allocations: 33.66 kB / 0.7131 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.1688, allocations: 130.6 kB / 0.7133 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1689, allocations: 136.5 kB / 0.7134 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1689, allocations: 25.7 kB / 0.7134 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.169, allocations: 96.12 kB / 0.7135 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.169, allocations: 0 / 0.7135 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.169, allocations: 13.72 kB / 0.7135 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1691, allocations: 326.8 kB / 0.7138 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.1692, allocations: 4.047 kB / 0.7138 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.1692, allocations: 4 kB / 0.7138 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.052e-05/0.1692, allocations: 16.86 kB / 0.7139 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1692, allocations: 4 kB / 0.7139 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001203/0.1693, allocations: 45.64 kB / 0.7139 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1693, allocations: 7.938 kB / 0.7139 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.1694, allocations: 4 kB / 0.7139 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1694, allocations: 0 / 0.7139 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1694, allocations: 0 / 0.7139 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1694, allocations: 0 / 0.7139 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.249e-05/0.1694, allocations: 3.953 kB / 0.7139 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1694, allocations: 12.06 kB / 0.7139 GB, free: 5.055 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.0001176/0.1695, allocations: 189.1 kB / 0.7141 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.1696, allocations: 109 kB / 0.7142 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.1697, allocations: 116.7 kB / 0.7143 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.71e-05/0.1697, allocations: 176.3 kB / 0.7145 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.088e-05/0.1698, allocations: 180.3 kB / 0.7147 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-05/0.1699, allocations: 188.2 kB / 0.7148 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.1701, allocations: 384.2 kB / 0.7152 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.142e-05/0.1701, allocations: 104.9 kB / 0.7153 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.1702, allocations: 101 kB / 0.7154 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.904e-05/0.1702, allocations: 184.3 kB / 0.7156 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-05/0.1703, allocations: 192.1 kB / 0.7158 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-05/0.1704, allocations: 176.3 kB / 0.7159 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.24e-05/0.1705, allocations: 184.2 kB / 0.7161 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.1706, allocations: 307.7 kB / 0.7164 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.1707, allocations: 116.9 kB / 0.7165 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-05/0.1707, allocations: 180.3 kB / 0.7167 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/0.1708, allocations: 108.9 kB / 0.7168 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.1709, allocations: 176.3 kB / 0.717 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.1709, allocations: 105 kB / 0.7171 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.398e-05/0.171, allocations: 109.1 kB / 0.7172 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.171, allocations: 0 / 0.7172 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007232/0.1717, allocations: 291 kB / 0.7174 GB, free: 1.258 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.001309/0.173, allocations: 1.174 MB / 0.7186 GB, free: 60 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.392e-05/0.1731, allocations: 29.7 kB / 0.7186 GB, free: 24 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1731, allocations: 0 / 0.7186 GB, free: 24 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.41e-06/0.1731, allocations: 7.938 kB / 0.7186 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.1736, allocations: 467.7 kB / 0.7191 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.1749, allocations: 1.599 MB / 0.7206 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.657e-05/0.175, allocations: 67.33 kB / 0.7207 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.424e-05/0.175, allocations: 0 / 0.7207 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.175, allocations: 15.44 kB / 0.7207 GB, free: 13.78 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.175, allocations: 0 / 0.7207 GB, free: 13.78 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03709/0.2121, allocations: 7.566 MB / 0.7281 GB, free: 6.387 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.63, allocations: 9.453 kB / 0.7281 GB, free: 6.383 MB / 0.545 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 15.119414777960628] Failed to read output from testmodel.py, exit status != 0: 11.734679243993014 11.761040994 11.589369388 Calling exit ...