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.001637/0.001637, allocations: 110 kB / 18.93 MB, free: 2.945 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.001904/0.001904, allocations: 191.5 kB / 22.23 MB, free: 5.16 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.438/1.438, allocations: 225.6 MB / 251 MB, free: 13.02 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.8381/0.8381, allocations: 134 MB / 440.3 MB, free: 0.7461 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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.75 kB / 0.6108 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1707, allocations: 84.74 MB / 0.6936 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002748/0.1735, allocations: 1.444 MB / 0.695 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004926/0.1784, allocations: 2.911 MB / 0.6978 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.1784, allocations: 0 / 0.6978 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.1785, allocations: 11.92 kB / 0.6978 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.1785, allocations: 7.875 kB / 0.6978 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004466/0.183, allocations: 1.638 MB / 0.6994 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1831, allocations: 47.72 kB / 0.6995 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.1831, allocations: 4 kB / 0.6995 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.169e-05/0.1832, allocations: 19.92 kB / 0.6995 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.81e-05/0.1832, allocations: 15.88 kB / 0.6995 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.1832, allocations: 0 / 0.6995 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.1859, allocations: 1.735 MB / 0.7012 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.1859, allocations: 0 / 0.7012 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.186, allocations: 19.86 kB / 0.7012 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.1876, allocations: 1.13 MB / 0.7023 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1876, allocations: 0 / 0.7023 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1876, allocations: 0 / 0.7023 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1876, allocations: 0 / 0.7023 GB, free: 15.99 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.0006586/0.1883, allocations: 464 kB / 0.7028 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1883, allocations: 11.98 kB / 0.7028 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.1884, allocations: 84.17 kB / 0.7029 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.1886, allocations: 197.7 kB / 0.7031 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.897e-05/0.1886, allocations: 162.7 kB / 0.7032 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.1887, allocations: 154.6 kB / 0.7034 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.842e-05/0.1888, allocations: 108.9 kB / 0.7035 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.1888, allocations: 75.28 kB / 0.7035 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.1889, allocations: 154.5 kB / 0.7037 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-05/0.189, allocations: 154.6 kB / 0.7038 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.881e-05/0.189, allocations: 150.6 kB / 0.704 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.1894, allocations: 433 kB / 0.7044 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.1895, allocations: 177 kB / 0.7046 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.1895, allocations: 84.14 kB / 0.7046 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.1896, allocations: 79.28 kB / 0.7047 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.1896, allocations: 105.8 kB / 0.7048 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1896, allocations: 0 / 0.7048 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.513e-05/0.1897, allocations: 33.66 kB / 0.7048 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.1898, allocations: 130.7 kB / 0.705 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.19, allocations: 136.4 kB / 0.7051 GB, free: 13 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.19, allocations: 29.7 kB / 0.7051 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.19, allocations: 92.08 kB / 0.7052 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.1901, allocations: 0 / 0.7052 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.1901, allocations: 21.7 kB / 0.7052 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1902, allocations: 318.8 kB / 0.7055 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/0.1903, allocations: 4 kB / 0.7055 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.1903, allocations: 4 kB / 0.7055 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.861e-05/0.1904, allocations: 20.78 kB / 0.7056 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1904, allocations: 4.031 kB / 0.7056 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001403/0.1905, allocations: 53.72 kB / 0.7056 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1905, allocations: 4 kB / 0.7056 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.1905, allocations: 4 kB / 0.7056 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1906, allocations: 3.938 kB / 0.7056 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.1906, allocations: 0 / 0.7056 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1906, allocations: 3.938 kB / 0.7056 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.1906, allocations: 0 / 0.7056 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.1906, allocations: 4 kB / 0.7056 GB, free: 12.41 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.0001403/0.1907, allocations: 197.1 kB / 0.7058 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/0.1908, allocations: 108.9 kB / 0.7059 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.291e-05/0.1909, allocations: 108.6 kB / 0.706 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.062e-05/0.191, allocations: 184.2 kB / 0.7062 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001001/0.1911, allocations: 180.2 kB / 0.7064 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-05/0.1912, allocations: 184.2 kB / 0.7066 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.1915, allocations: 392.3 kB / 0.7069 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.126e-05/0.1915, allocations: 101 kB / 0.707 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.609e-05/0.1916, allocations: 104.9 kB / 0.7071 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.962e-05/0.1917, allocations: 184.2 kB / 0.7073 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.657e-05/0.1918, allocations: 184.2 kB / 0.7075 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.864e-05/0.1918, allocations: 180.3 kB / 0.7077 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.733e-05/0.1919, allocations: 180.2 kB / 0.7078 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.1921, allocations: 319.6 kB / 0.7081 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.1922, allocations: 108.9 kB / 0.7082 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.1923, allocations: 180.3 kB / 0.7084 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1924, allocations: 108.9 kB / 0.7085 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.1925, allocations: 180.2 kB / 0.7087 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.1926, allocations: 101 kB / 0.7088 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.304e-05/0.1926, allocations: 106.4 kB / 0.7089 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1926, allocations: 0 / 0.7089 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009148/0.1935, allocations: 283 kB / 0.7091 GB, free: 8.617 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.00118/0.1947, allocations: 0.5362 MB / 0.7097 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.1948, allocations: 37.7 kB / 0.7097 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1948, allocations: 0 / 0.7097 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.1948, allocations: 0 / 0.7097 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.1953, allocations: 479.7 kB / 0.7102 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.1957, allocations: 248.5 kB / 0.7104 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.196, allocations: 0.6846 MB / 0.7111 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.517e-05/0.196, allocations: 11.98 kB / 0.7111 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.345e-05/0.1961, allocations: 7.438 kB / 0.7111 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.1961, allocations: 0 / 0.7111 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of Templates: time 0.01097/0.207, allocations: 5.608 MB / 0.7166 GB, free: 1 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.779588702134788] Failed to read output from testmodel.py, exit status != 0: 0.21476329676806927 0.23081029400000003 0.03990954 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9c752157b0>