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.001231/0.001231, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001354/0.001354, allocations: 211 kB / 20.13 MB, free: 2.969 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 / 253.5 MB, free: 15.09 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.8202/0.8202, allocations: 133.9 MB / 443.5 MB, free: 13.93 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="cs",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="cs",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.001927/0.001927, allocations: 67.67 kB / 0.6142 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1566, allocations: 85.86 MB / 0.698 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002619/0.1592, allocations: 1.434 MB / 0.6994 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004562/0.1638, allocations: 2.909 MB / 0.7023 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.1638, allocations: 4 kB / 0.7023 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.1638, allocations: 0 / 0.7023 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.1639, allocations: 18.61 kB / 0.7023 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003915/0.1678, allocations: 1.626 MB / 0.7039 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.378e-05/0.1679, allocations: 43.67 kB / 0.7039 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.1679, allocations: 7.516 kB / 0.7039 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.54e-05/0.168, allocations: 15.92 kB / 0.7039 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.735e-05/0.168, allocations: 11.94 kB / 0.7039 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.168, allocations: 0 / 0.7039 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.1703, allocations: 1.554 MB / 0.7055 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1703, allocations: 7.938 kB / 0.7055 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.1703, allocations: 19.88 kB / 0.7055 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.1718, allocations: 1.083 MB / 0.7066 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1718, allocations: 4 kB / 0.7066 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1718, allocations: 0 / 0.7066 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1718, allocations: 0 / 0.7066 GB, free: 6.105 MB / 0.5137 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.0007092/0.1725, allocations: 0.5324 MB / 0.7071 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1726, allocations: 12.62 kB / 0.7071 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.724e-05/0.1726, allocations: 79.47 kB / 0.7072 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.736e-05/0.1727, allocations: 106 kB / 0.7073 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/0.1728, allocations: 88.17 kB / 0.7073 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.173, allocations: 251.3 kB / 0.7076 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.173, allocations: 150.6 kB / 0.7077 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/0.1731, allocations: 154.5 kB / 0.7079 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.981e-05/0.1732, allocations: 105 kB / 0.708 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.561e-05/0.1733, allocations: 75.28 kB / 0.7081 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.052e-05/0.1733, allocations: 158.5 kB / 0.7082 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.922e-05/0.1734, allocations: 154.6 kB / 0.7083 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.398e-05/0.1735, allocations: 150.6 kB / 0.7085 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.1738, allocations: 469.9 kB / 0.7089 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1739, allocations: 181.1 kB / 0.7091 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.174, allocations: 80.14 kB / 0.7092 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.174, allocations: 75.28 kB / 0.7093 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.159e-05/0.1741, allocations: 105.8 kB / 0.7094 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1741, allocations: 4 kB / 0.7094 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.053e-05/0.1742, allocations: 37.59 kB / 0.7094 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.1742, allocations: 126.7 kB / 0.7095 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1744, allocations: 135.6 kB / 0.7097 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1744, allocations: 25.7 kB / 0.7097 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.1745, allocations: 92.12 kB / 0.7098 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-06/0.1745, allocations: 0 / 0.7098 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.1745, allocations: 17.72 kB / 0.7098 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1746, allocations: 322.8 kB / 0.7101 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.1747, allocations: 7.984 kB / 0.7101 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.1747, allocations: 4 kB / 0.7101 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.1747, allocations: 12.89 kB / 0.7101 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1747, allocations: 0 / 0.7101 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001283/0.1749, allocations: 57.58 kB / 0.7102 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1749, allocations: 4 kB / 0.7102 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.1749, allocations: 4 kB / 0.7102 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1749, allocations: 0 / 0.7102 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-06/0.1749, allocations: 8.062 kB / 0.7102 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1749, allocations: 0 / 0.7102 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.1749, allocations: 0 / 0.7102 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.1749, allocations: 4 kB / 0.7102 GB, free: 2.137 MB / 0.5137 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.0001287/0.1751, allocations: 193 kB / 0.7104 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.1751, allocations: 108.9 kB / 0.7105 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.1752, allocations: 112.8 kB / 0.7106 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.393e-05/0.1753, allocations: 184.3 kB / 0.7108 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.49e-05/0.1754, allocations: 176.3 kB / 0.7109 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-05/0.1755, allocations: 180.2 kB / 0.7111 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.1757, allocations: 421.1 kB / 0.7115 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-05/0.1758, allocations: 104.9 kB / 0.7116 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.1758, allocations: 101 kB / 0.7117 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.259e-05/0.1759, allocations: 184.2 kB / 0.7119 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.123e-05/0.176, allocations: 180.3 kB / 0.712 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.526e-05/0.1761, allocations: 180.3 kB / 0.7122 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.058e-05/0.1762, allocations: 188.2 kB / 0.7124 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1764, allocations: 315.6 kB / 0.7127 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/0.1765, allocations: 190 kB / 0.7129 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.481e-05/0.1766, allocations: 180.2 kB / 0.713 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.1767, allocations: 108.9 kB / 0.7132 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.1767, allocations: 176.3 kB / 0.7133 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.1768, allocations: 112.9 kB / 0.7134 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.599e-05/0.1769, allocations: 100.8 kB / 0.7135 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1769, allocations: 0 / 0.7135 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007455/0.1776, allocations: 291 kB / 0.7138 GB, free: 14.2 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.001406/0.179, allocations: 1.175 MB / 0.7149 GB, free: 13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.1791, allocations: 41.58 kB / 0.715 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1791, allocations: 0 / 0.715 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.1791, allocations: 0 / 0.715 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.1796, allocations: 467.7 kB / 0.7154 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.1811, allocations: 1.591 MB / 0.717 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1814, allocations: 0.6807 MB / 0.7177 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.461e-05/0.1814, allocations: 4 kB / 0.7177 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.1814, allocations: 19.36 kB / 0.7177 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.1814, allocations: 0 / 0.7177 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.2076, allocations: 7.121 MB / 0.7246 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.453, allocations: 7.844 kB / 0.7246 GB, free: 3.211 MB / 0.5294 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 12.003907711012289] Failed to read output from testmodel.py, exit status != 0: 8.868863780982792 8.615736747 8.439717955999999 Calling exit ...