Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.002074/0.002074, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002491/0.002491, allocations: 190.1 kB / 22.23 MB, free: 5.105 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.376/1.376, allocations: 225.6 MB / 251 MB, free: 13.04 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.8355/0.8355, allocations: 134 MB / 440.3 MB, free: 328 kB / 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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 72.58 kB / 0.6108 GB, free: 13.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1605, allocations: 84.72 MB / 0.6935 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005786/0.1663, allocations: 4.182 MB / 0.6976 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003393/0.1697, allocations: 2.421 MB / 0.7 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.1699, allocations: 19.94 kB / 0.7 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.1713, allocations: 0.5441 MB / 0.7005 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.1717, allocations: 253.9 kB / 0.7008 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.172, allocations: 135.9 kB / 0.7009 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008394/0.1728, allocations: 0.8161 MB / 0.7017 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.1732, allocations: 239 kB / 0.7019 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.1735, allocations: 295 kB / 0.7022 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.1739, allocations: 330.6 kB / 0.7025 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.966e-05/0.174, allocations: 80 kB / 0.7026 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1741, allocations: 76 kB / 0.7027 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.1743, allocations: 167.4 kB / 0.7028 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003614/0.1747, allocations: 394.2 kB / 0.7032 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009827/0.1756, allocations: 0.9885 MB / 0.7042 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1757, allocations: 0 / 0.7042 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1757, allocations: 0 / 0.7042 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.1757, allocations: 0 / 0.7042 GB, free: 14.11 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001545/0.1772, allocations: 0.9038 MB / 0.705 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1772, allocations: 8.031 kB / 0.7051 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.1774, allocations: 76.47 kB / 0.7051 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006277/0.178, allocations: 400.2 kB / 0.7055 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.178, allocations: 37.38 kB / 0.7055 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.1781, allocations: 51.92 kB / 0.7056 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008003/0.1789, allocations: 430.4 kB / 0.706 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1789, allocations: 4 kB / 0.706 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.179, allocations: 23.94 kB / 0.706 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.179, allocations: 12 kB / 0.706 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00075/0.1797, allocations: 371.8 kB / 0.7064 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.1819, allocations: 1.473 MB / 0.7078 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005612/0.1825, allocations: 319.4 kB / 0.7081 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/0.183, allocations: 284.8 kB / 0.7084 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.183, allocations: 4 kB / 0.7084 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.183, allocations: 38.5 kB / 0.7084 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 1.523e-06/0.183, allocations: 4 kB / 0.7085 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.001045/0.1841, allocations: 498.5 kB / 0.7089 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.1841, allocations: 59.34 kB / 0.709 GB, free: 9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006148/0.1847, allocations: 485.9 kB / 0.7094 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.1848, allocations: 37.7 kB / 0.7095 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.185, allocations: 272.7 kB / 0.7097 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.1851, allocations: 158.6 kB / 0.7099 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1852, allocations: 62.08 kB / 0.71 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1854, allocations: 362.8 kB / 0.7103 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.1857, allocations: 124.7 kB / 0.7104 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.1859, allocations: 129.2 kB / 0.7105 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/0.1865, allocations: 290.2 kB / 0.7108 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1865, allocations: 7.938 kB / 0.7108 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007093/0.1872, allocations: 396.7 kB / 0.7112 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1872, allocations: 4 kB / 0.7112 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1872, allocations: 4 kB / 0.7112 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1872, allocations: 0 / 0.7112 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005463/0.1878, allocations: 127.8 kB / 0.7113 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1878, allocations: 4 kB / 0.7113 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.188, allocations: 35.77 kB / 0.7114 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.188, allocations: 12 kB / 0.7114 GB, free: 6.492 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.000227/0.1883, allocations: 197.7 kB / 0.7116 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.991e-05/0.1884, allocations: 55.67 kB / 0.7116 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.1885, allocations: 57.11 kB / 0.7117 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1885, allocations: 4 kB / 0.7117 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1885, allocations: 0 / 0.7117 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1885, allocations: 3.984 kB / 0.7117 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006926/0.1892, allocations: 0.5546 MB / 0.7122 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1892, allocations: 4 kB / 0.7122 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/0.1897, allocations: 123.9 kB / 0.7124 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1897, allocations: 4 kB / 0.7124 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.1898, allocations: 4 kB / 0.7124 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1898, allocations: 4 kB / 0.7124 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.1898, allocations: 3.984 kB / 0.7124 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1908, allocations: 0.6667 MB / 0.713 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.191, allocations: 55.64 kB / 0.7131 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.567e-05/0.191, allocations: 12 kB / 0.7131 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.1913, allocations: 11.98 kB / 0.7131 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.1913, allocations: 23.95 kB / 0.7131 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.1913, allocations: 16 kB / 0.7131 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004256/0.1918, allocations: 351.1 kB / 0.7135 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1918, allocations: 4 kB / 0.7135 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004223/0.1922, allocations: 151.7 kB / 0.7136 GB, free: 4.141 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001507/0.1923, allocations: 109.4 kB / 0.7137 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006466/0.193, allocations: 303.3 kB / 0.714 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.193, allocations: 0 / 0.714 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.1933, allocations: 172.1 kB / 0.7142 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/0.1939, allocations: 132.1 kB / 0.7143 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1959, allocations: 1.199 MB / 0.7155 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.1964, allocations: 0.8625 MB / 0.7163 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.1966, allocations: 56.39 kB / 0.7164 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.1967, allocations: 35.44 kB / 0.7164 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.1967, allocations: 0 / 0.7164 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of Templates: time 0.01232/0.209, allocations: 6.273 MB / 0.7225 GB, free: 11.09 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.522486213594675] Failed to read output from testmodel.py, exit status != 0: 0.2162927659228444 0.23129743800000002 0.052625074 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f81a748d7b0>