Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001328/0.001328, allocations: 93.06 kB / 19.65 MB, free: 280 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.001389/0.001389, allocations: 165.3 kB / 23.02 MB, free: 1.555 MB / 18.57 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.9702/0.9702, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7577/0.7577, allocations: 154.6 MB / 414.5 MB, free: 0.668 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.5204 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.445e-05, allocations: 3.641 kB / 0.5204 GB, free: 2.152 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00318/0.003194, allocations: 3.107 MB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.005444, allocations: 2.139 MB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.005624, allocations: 4 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.006735, allocations: 488.4 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.00693, allocations: 144.3 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 9.719e-05/0.007027, allocations: 65.08 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.007367, allocations: 453.7 kB / 0.5266 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.007528, allocations: 107.4 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.007809, allocations: 248.1 kB / 0.527 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.007971, allocations: 136.8 kB / 0.5271 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.008005, allocations: 36 kB / 0.5271 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.015e-05/0.008045, allocations: 36 kB / 0.5272 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.008129, allocations: 99.67 kB / 0.5273 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.008233, allocations: 140.7 kB / 0.5274 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.008502, allocations: 290.9 kB / 0.5277 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.008504, allocations: 0.5625 kB / 0.5277 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.92e-07/0.008505, allocations: 0 / 0.5277 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.00851, allocations: 2.969 kB / 0.5277 GB, free: 10.71 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006957/0.009205, allocations: 0.7446 MB / 0.5284 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.009239, allocations: 8.031 kB / 0.5284 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.009311, allocations: 63.69 kB / 0.5285 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.009768, allocations: 310.6 kB / 0.5288 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.009784, allocations: 16.88 kB / 0.5288 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.009819, allocations: 24.38 kB / 0.5288 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.01004, allocations: 157.4 kB / 0.5289 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.01005, allocations: 192 / 0.5289 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.01007, allocations: 9.875 kB / 0.529 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.01008, allocations: 11.94 kB / 0.529 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.01022, allocations: 78.92 kB / 0.529 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00072/0.01094, allocations: 0.6942 MB / 0.5297 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.01109, allocations: 111 kB / 0.5298 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.01117, allocations: 59.66 kB / 0.5299 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.01118, allocations: 7.938 kB / 0.5299 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.0112, allocations: 37.39 kB / 0.5299 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.243e-06/0.0112, allocations: 0 / 0.5299 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0002614/0.01146, allocations: 169.6 kB / 0.5301 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.01149, allocations: 51.41 kB / 0.5301 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.01179, allocations: 441.2 kB / 0.5306 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.0118, allocations: 25.7 kB / 0.5306 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.01192, allocations: 279 kB / 0.5309 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.01196, allocations: 63.44 kB / 0.5309 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.012, allocations: 39.36 kB / 0.5309 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.01214, allocations: 0.5391 MB / 0.5315 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.952e-05/0.01218, allocations: 21.33 kB / 0.5315 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.9e-05/0.01222, allocations: 23.98 kB / 0.5315 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.806e-05/0.01232, allocations: 73.39 kB / 0.5316 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.01232, allocations: 0 / 0.5316 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001577/0.01248, allocations: 151.5 kB / 0.5317 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.01249, allocations: 10.03 kB / 0.5317 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.0125, allocations: 1.156 kB / 0.5317 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.01251, allocations: 0 / 0.5317 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.01266, allocations: 51.97 kB / 0.5318 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.01267, allocations: 5.406 kB / 0.5318 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.01273, allocations: 19.81 kB / 0.5318 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.01274, allocations: 4 kB / 0.5318 GB, free: 6.277 MB / 0.4948 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 (20): * Single equations (assignments): 20 * 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 8.026e-05/0.01282, allocations: 165.8 kB / 0.532 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.01286, allocations: 43.77 kB / 0.532 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.0129, allocations: 31.41 kB / 0.5321 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01291, allocations: 4.75 kB / 0.5321 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01291, allocations: 0 / 0.5321 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01291, allocations: 4.516 kB / 0.5321 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.01316, allocations: 301.9 kB / 0.5323 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01316, allocations: 0 / 0.5323 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.01329, allocations: 55.91 kB / 0.5324 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01329, allocations: 0 / 0.5324 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.01331, allocations: 0.9688 kB / 0.5324 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.01331, allocations: 4 kB / 0.5324 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01331, allocations: 0.5938 kB / 0.5324 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.01357, allocations: 339.4 kB / 0.5327 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.01361, allocations: 36.34 kB / 0.5328 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.01364, allocations: 8.641 kB / 0.5328 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.0137, allocations: 4 kB / 0.5328 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.01374, allocations: 12.55 kB / 0.5328 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.01374, allocations: 5.531 kB / 0.5328 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001765/0.01392, allocations: 287.1 kB / 0.5331 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01392, allocations: 0 / 0.5331 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001957/0.01412, allocations: 79.84 kB / 0.5331 GB, free: 4.867 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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 7.59e-05/0.01419, allocations: 104.8 kB / 0.5332 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001503/0.01434, allocations: 93.2 kB / 0.5333 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-06/0.01434, allocations: 0 / 0.5333 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.766e-05/0.0144, allocations: 60.23 kB / 0.5334 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.01472, allocations: 81.73 kB / 0.5335 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.01567, allocations: 0.6539 MB / 0.5341 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.771e-05/0.01573, allocations: 97.05 kB / 0.5342 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.98e-05/0.0158, allocations: 28.06 kB / 0.5342 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.01585, allocations: 27.31 kB / 0.5343 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of SimCode: time 3.9e-07/0.01585, allocations: 0 / 0.5343 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of Templates: time 0.005575/0.02142, allocations: 3.66 MB / 0.5378 GB, free: 312 kB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7303787120617926]