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.001005/0.001005, allocations: 73.09 kB / 20.66 MB, free: 3.848 MB / 18.57 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.001553/0.001553, allocations: 169 kB / 24.06 MB, free: 460 kB / 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.9239/0.9239, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.7278/0.7278, allocations: 154.6 MB / 415.6 MB, free: 0.5547 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.193e-06/1.193e-06, allocations: 0 / 0.5216 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.301e-05, allocations: 3.031 kB / 0.5216 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003133/0.003156, allocations: 3.051 MB / 0.5246 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.005319, allocations: 2.103 MB / 0.5266 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.005457, allocations: 8.75 kB / 0.5266 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009663/0.006424, allocations: 476.8 kB / 0.5271 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.006592, allocations: 155.6 kB / 0.5272 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.006714, allocations: 64.48 kB / 0.5273 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.007063, allocations: 457.6 kB / 0.5277 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.007231, allocations: 96.39 kB / 0.5278 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.007519, allocations: 251.4 kB / 0.5281 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.007686, allocations: 137.1 kB / 0.5282 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.007718, allocations: 36 kB / 0.5282 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.683e-05/0.007755, allocations: 32 kB / 0.5283 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.007841, allocations: 103.7 kB / 0.5284 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.859e-05/0.007939, allocations: 144.6 kB / 0.5285 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.008208, allocations: 286.9 kB / 0.5288 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.008211, allocations: 4 kB / 0.5288 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.041e-06/0.008212, allocations: 2.031 kB / 0.5288 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.008216, allocations: 0 / 0.5288 GB, free: 10.55 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.00066/0.008876, allocations: 0.7429 MB / 0.5295 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.008908, allocations: 12.03 kB / 0.5295 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.008967, allocations: 60.66 kB / 0.5296 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.00923, allocations: 313.3 kB / 0.5299 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.009242, allocations: 12.88 kB / 0.5299 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.00927, allocations: 20.38 kB / 0.5299 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.009442, allocations: 145.4 kB / 0.53 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.009451, allocations: 192 / 0.53 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.009466, allocations: 12.38 kB / 0.5301 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.009473, allocations: 7.938 kB / 0.5301 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.009562, allocations: 63.53 kB / 0.5301 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.01017, allocations: 0.6244 MB / 0.5307 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.01029, allocations: 99.91 kB / 0.5308 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.075e-05/0.01035, allocations: 51.66 kB / 0.5309 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.01036, allocations: 4.719 kB / 0.5309 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.01038, allocations: 42.03 kB / 0.5309 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.01038, allocations: 0 / 0.5309 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0001952/0.01058, allocations: 155.3 kB / 0.5311 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.0106, allocations: 51.41 kB / 0.5311 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.01086, allocations: 430.6 kB / 0.5315 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.01088, allocations: 29.7 kB / 0.5316 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.01101, allocations: 279 kB / 0.5318 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.01105, allocations: 67.41 kB / 0.5319 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.0111, allocations: 39.36 kB / 0.5319 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.01125, allocations: 0.5429 MB / 0.5325 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.01127, allocations: 19.98 kB / 0.5325 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/0.0113, allocations: 23.08 kB / 0.5325 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.49e-05/0.01137, allocations: 57.22 kB / 0.5326 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.01137, allocations: 0 / 0.5326 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001209/0.01149, allocations: 142.2 kB / 0.5327 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.0115, allocations: 4 kB / 0.5327 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.01151, allocations: 4 kB / 0.5327 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.01151, allocations: 0 / 0.5327 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.01165, allocations: 47.97 kB / 0.5327 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-06/0.01165, allocations: 1.812 kB / 0.5327 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.01171, allocations: 15.89 kB / 0.5328 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.01172, allocations: 7.984 kB / 0.5328 GB, free: 6.293 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 9.079e-05/0.01181, allocations: 167.3 kB / 0.5329 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.01185, allocations: 43.77 kB / 0.533 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.01189, allocations: 39.39 kB / 0.533 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.0119, allocations: 4 kB / 0.533 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.0119, allocations: 0 / 0.533 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.0119, allocations: 0 / 0.533 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.01212, allocations: 233 kB / 0.5332 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01213, allocations: 0 / 0.5332 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.01225, allocations: 59.88 kB / 0.5333 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01225, allocations: 4 kB / 0.5333 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.01226, allocations: 3.938 kB / 0.5333 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.01227, allocations: 0 / 0.5333 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01227, allocations: 0 / 0.5333 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.0125, allocations: 317.3 kB / 0.5336 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.01254, allocations: 43.73 kB / 0.5336 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.01256, allocations: 0 / 0.5336 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.01264, allocations: 8 kB / 0.5336 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.01268, allocations: 11.97 kB / 0.5337 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.01269, allocations: 6.469 kB / 0.5337 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001488/0.01284, allocations: 267 kB / 0.5339 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.71e-07/0.01284, allocations: 0 / 0.5339 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002066/0.01305, allocations: 75.84 kB / 0.534 GB, free: 4.992 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 0.0001331/0.01318, allocations: 107.2 kB / 0.5341 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.01331, allocations: 81.02 kB / 0.5342 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01332, allocations: 0 / 0.5342 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.217e-05/0.01337, allocations: 55.88 kB / 0.5342 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.01373, allocations: 85.61 kB / 0.5343 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009134/0.01464, allocations: 0.6471 MB / 0.5349 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.262e-05/0.01471, allocations: 104.9 kB / 0.535 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.773e-05/0.01479, allocations: 28.95 kB / 0.5351 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.01492, allocations: 134.2 kB / 0.5352 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.01492, allocations: 1 kB / 0.5352 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of Templates: time 0.006439/0.02136, allocations: 4.046 MB / 0.5391 GB, free: 15.94 MB / 0.5105 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.4679149761795998]