Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.0007322/0.0007322, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0007834/0.0007834, allocations: 216.2 kB / 23 MB, free: 2.98 MB / 13.93 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 0.8514/0.8514, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7287/0.7287, allocations: 203.8 MB / 0.5049 GB, free: 10.38 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [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.0008709/0.0008709, allocations: 68.66 kB / 0.7194 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4769, allocations: 102 MB / 0.8191 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003465/0.4804, allocations: 3.79 MB / 0.8228 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.4824, allocations: 2.226 MB / 0.8249 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.4826, allocations: 10.41 kB / 0.8249 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.4837, allocations: 0.5151 MB / 0.8255 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.484, allocations: 247 kB / 0.8257 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.4841, allocations: 138.5 kB / 0.8258 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005618/0.4847, allocations: 0.8124 MB / 0.8266 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.485, allocations: 207 kB / 0.8268 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.4853, allocations: 311.4 kB / 0.8271 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.4855, allocations: 282.5 kB / 0.8274 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.388e-05/0.4856, allocations: 72.5 kB / 0.8274 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.272e-05/0.4857, allocations: 74.62 kB / 0.8275 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.4858, allocations: 177.9 kB / 0.8277 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.486, allocations: 311.6 kB / 0.828 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008371/0.4869, allocations: 1.007 MB / 0.829 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4869, allocations: 1.469 kB / 0.829 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4869, allocations: 0 / 0.829 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.4869, allocations: 0 / 0.829 GB, free: 11.34 MB / 0.6198 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.001192/0.4881, allocations: 0.8924 MB / 0.8298 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.4881, allocations: 8.531 kB / 0.8298 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.642e-05/0.4882, allocations: 76.69 kB / 0.8299 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.4887, allocations: 399.1 kB / 0.8303 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.4887, allocations: 40.38 kB / 0.8303 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.4888, allocations: 51.62 kB / 0.8304 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.4893, allocations: 425.8 kB / 0.8308 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.4893, allocations: 5.25 kB / 0.8308 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.4893, allocations: 16.06 kB / 0.8308 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.4893, allocations: 12.16 kB / 0.8308 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006079/0.4899, allocations: 366.2 kB / 0.8312 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.4914, allocations: 1.17 MB / 0.8323 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.4917, allocations: 310.8 kB / 0.8326 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.4921, allocations: 297.7 kB / 0.8329 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.4921, allocations: 8.125 kB / 0.8329 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.4921, allocations: 38.02 kB / 0.8329 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 2.494e-06/0.4921, allocations: 0 / 0.8329 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0006382/0.4928, allocations: 493.6 kB / 0.8334 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.4928, allocations: 63.31 kB / 0.8335 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.4932, allocations: 437.8 kB / 0.8339 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.4932, allocations: 30.73 kB / 0.8339 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.4934, allocations: 281.2 kB / 0.8342 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.4934, allocations: 156 kB / 0.8343 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.4935, allocations: 58.08 kB / 0.8344 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4936, allocations: 356.6 kB / 0.8347 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.4938, allocations: 127.9 kB / 0.8349 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.4939, allocations: 127.6 kB / 0.835 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.4943, allocations: 297.5 kB / 0.8353 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4943, allocations: 0 / 0.8353 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004183/0.4947, allocations: 391 kB / 0.8356 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4947, allocations: 8.969 kB / 0.8356 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4947, allocations: 1.062 kB / 0.8356 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4947, allocations: 1.875 kB / 0.8356 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.495, allocations: 128.5 kB / 0.8358 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.495, allocations: 5.219 kB / 0.8358 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.809e-05/0.4951, allocations: 26.48 kB / 0.8358 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.4951, allocations: 11.78 kB / 0.8358 GB, free: 7.336 MB / 0.6198 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.0001451/0.4953, allocations: 199.4 kB / 0.836 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.4953, allocations: 50.03 kB / 0.836 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.4954, allocations: 55.2 kB / 0.8361 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4954, allocations: 8.328 kB / 0.8361 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4954, allocations: 0 / 0.8361 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4954, allocations: 6.016 kB / 0.8361 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.4958, allocations: 434.2 kB / 0.8365 GB, free: 6.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4958, allocations: 0 / 0.8365 GB, free: 6.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.4961, allocations: 125 kB / 0.8366 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4961, allocations: 1.25 kB / 0.8366 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.4961, allocations: 14.92 kB / 0.8367 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4961, allocations: 2.156 kB / 0.8367 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4961, allocations: 0.6562 kB / 0.8367 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006529/0.4968, allocations: 0.6534 MB / 0.8373 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.4968, allocations: 54.38 kB / 0.8374 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.4969, allocations: 14.25 kB / 0.8374 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.497, allocations: 11.12 kB / 0.8374 GB, free: 6.387 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.497, allocations: 26.44 kB / 0.8374 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.497, allocations: 11.48 kB / 0.8374 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000251/0.4973, allocations: 318.6 kB / 0.8377 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4973, allocations: 0 / 0.8377 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002638/0.4975, allocations: 153.8 kB / 0.8379 GB, free: 6.188 MB / 0.6198 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 9.991e-05/0.4976, allocations: 109.3 kB / 0.838 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.498, allocations: 302.5 kB / 0.8383 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.498, allocations: 1.188 kB / 0.8383 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.4982, allocations: 163.5 kB / 0.8384 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.4986, allocations: 102.7 kB / 0.8385 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.4999, allocations: 1.234 MB / 0.8397 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.5002, allocations: 269.5 kB / 0.84 GB, free: 5.012 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.5002, allocations: 35.95 kB / 0.84 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of SimCode: time 3.9e-07/0.5002, allocations: 0 / 0.84 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of Templates: time 0.0063/0.5065, allocations: 6.682 MB / 0.8465 GB, free: 1.859 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.585121944081038] Failed to read output from testmodel.py, exit status != 0: 0.5116150779649615 0.5204372869999999 0.031774265 Calling exit ...