Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 102.7 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.8144/0.8144, allocations: 134 MB / 436.6 MB, free: 1.266 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 69.02 kB / 0.6052 GB, free: 15.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1774, allocations: 84.69 MB / 0.6879 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002898/0.1803, allocations: 1.435 MB / 0.6893 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00487/0.1852, allocations: 2.9 MB / 0.6921 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.1853, allocations: 0 / 0.6921 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.1853, allocations: 3.984 kB / 0.6921 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.43e-05/0.1854, allocations: 19.8 kB / 0.6921 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.19, allocations: 1.582 MB / 0.6937 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1901, allocations: 51.72 kB / 0.6937 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.1901, allocations: 0 / 0.6937 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.521e-05/0.1901, allocations: 11.94 kB / 0.6937 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.287e-05/0.1902, allocations: 19.86 kB / 0.6938 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.1902, allocations: 4 kB / 0.6938 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.1929, allocations: 1.572 MB / 0.6953 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.1929, allocations: 4 kB / 0.6953 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.1929, allocations: 19.86 kB / 0.6953 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.195, allocations: 1.107 MB / 0.6964 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.195, allocations: 4 kB / 0.6964 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.964e-06/0.195, allocations: 0 / 0.6964 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.195, allocations: 0 / 0.6964 GB, free: 2.332 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.0007727/0.1957, allocations: 0.5246 MB / 0.6969 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1958, allocations: 12.03 kB / 0.6969 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/0.1959, allocations: 106 kB / 0.697 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.1959, allocations: 84.17 kB / 0.6971 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1961, allocations: 255.5 kB / 0.6974 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.447e-05/0.1962, allocations: 158.5 kB / 0.6975 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.449e-05/0.1963, allocations: 150.6 kB / 0.6977 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1964, allocations: 109 kB / 0.6978 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.1964, allocations: 75.28 kB / 0.6978 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/0.1965, allocations: 150.6 kB / 0.698 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-05/0.1966, allocations: 154.6 kB / 0.6981 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.366e-05/0.1966, allocations: 154.6 kB / 0.6983 GB, free: 324 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.197, allocations: 469.8 kB / 0.6987 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.1971, allocations: 165.1 kB / 0.6989 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.1972, allocations: 84.14 kB / 0.699 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.1972, allocations: 75.28 kB / 0.699 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/0.1973, allocations: 109.8 kB / 0.6991 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.1973, allocations: 0 / 0.6991 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 9.066e-05/0.1974, allocations: 41.58 kB / 0.6992 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.1974, allocations: 126.7 kB / 0.6993 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1976, allocations: 135.6 kB / 0.6994 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1976, allocations: 29.7 kB / 0.6994 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.1977, allocations: 88.14 kB / 0.6995 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-06/0.1977, allocations: 0 / 0.6995 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.1978, allocations: 25.7 kB / 0.6996 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1979, allocations: 314.8 kB / 0.6999 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.198, allocations: 8 kB / 0.6999 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.774e-05/0.198, allocations: 4 kB / 0.6999 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/0.198, allocations: 16.84 kB / 0.6999 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.198, allocations: 4.031 kB / 0.6999 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001382/0.1981, allocations: 53.59 kB / 0.6999 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1982, allocations: 4 kB / 0.6999 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.1982, allocations: 4 kB / 0.6999 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1982, allocations: 3.938 kB / 0.6999 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.1982, allocations: 0 / 0.6999 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1982, allocations: 3.938 kB / 0.7 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.1982, allocations: 7.984 kB / 0.7 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1982, allocations: 64 / 0.7 GB, free: 14.45 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.0001207/0.1984, allocations: 189.1 kB / 0.7001 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.1984, allocations: 117 kB / 0.7003 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.609e-05/0.1985, allocations: 120.6 kB / 0.7004 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.558e-05/0.1986, allocations: 180.2 kB / 0.7005 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.475e-05/0.1987, allocations: 180.2 kB / 0.7007 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.16e-05/0.1988, allocations: 176.3 kB / 0.7009 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.199, allocations: 421.2 kB / 0.7013 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.906e-05/0.1991, allocations: 104.9 kB / 0.7014 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.1991, allocations: 109 kB / 0.7015 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.197e-05/0.1992, allocations: 180.2 kB / 0.7017 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.1993, allocations: 176.3 kB / 0.7018 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.366e-05/0.1994, allocations: 180.3 kB / 0.702 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.208e-05/0.1995, allocations: 188.2 kB / 0.7022 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.1996, allocations: 311.6 kB / 0.7025 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1997, allocations: 182 kB / 0.7026 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.611e-05/0.1998, allocations: 188.2 kB / 0.7028 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.1999, allocations: 109 kB / 0.7029 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.642e-05/0.2, allocations: 180.2 kB / 0.7031 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/0.2001, allocations: 108.9 kB / 0.7032 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.865e-05/0.2002, allocations: 98.23 kB / 0.7033 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2002, allocations: 0 / 0.7033 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008538/0.201, allocations: 283 kB / 0.7036 GB, free: 10.52 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.001621/0.2026, allocations: 1.193 MB / 0.7047 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.2028, allocations: 41.64 kB / 0.7048 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2028, allocations: 0 / 0.7048 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.494e-06/0.2028, allocations: 0 / 0.7048 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.2032, allocations: 459.7 kB / 0.7052 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.2049, allocations: 1.609 MB / 0.7068 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.2052, allocations: 0.6846 MB / 0.7075 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.879e-05/0.2052, allocations: 0 / 0.7075 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.2053, allocations: 15.44 kB / 0.7075 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.2053, allocations: 0 / 0.7075 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.2392, allocations: 7.065 MB / 0.7144 GB, free: 15.53 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/8.701, allocations: 18.67 kB / 0.7144 GB, free: 15.51 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.157132883090526] Failed to read output from testmodel.py, exit status != 0: 8.77480736002326 8.796004446 8.596912871 Calling exit ...