Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001062/0.001062, 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.001307/0.001307, allocations: 169 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.923/0.923, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.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-535:34: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-535:42: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.7521/0.7521, allocations: 154.8 MB / 414.7 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0.5469 kB / 0.5206 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.81e-05, allocations: 6.906 kB / 0.5206 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003031/0.003049, allocations: 3.107 MB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.005624, allocations: 2.15 MB / 0.5258 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.005846, allocations: 4.938 kB / 0.5258 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.00703, allocations: 484.1 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.007249, allocations: 148.8 kB / 0.5264 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.007354, allocations: 55.92 kB / 0.5264 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.00771, allocations: 466.2 kB / 0.5269 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.007885, allocations: 99.81 kB / 0.527 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.008183, allocations: 248.4 kB / 0.5272 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.008344, allocations: 135.6 kB / 0.5273 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.008381, allocations: 32.5 kB / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.015e-05/0.008421, allocations: 39.94 kB / 0.5274 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.952e-05/0.008511, allocations: 102.9 kB / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.008627, allocations: 147.6 kB / 0.5276 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.00894, allocations: 286.9 kB / 0.5279 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.008942, allocations: 0 / 0.5279 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.31e-07/0.008943, allocations: 0 / 0.5279 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.00895, allocations: 0 / 0.5279 GB, free: 10.43 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.0007108/0.009661, allocations: 0.7437 MB / 0.5286 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.009697, allocations: 8.031 kB / 0.5286 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.159e-05/0.009788, allocations: 64.66 kB / 0.5287 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.01012, allocations: 314.6 kB / 0.529 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.01014, allocations: 14.38 kB / 0.529 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.01018, allocations: 24.31 kB / 0.529 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.0104, allocations: 165.3 kB / 0.5292 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.01041, allocations: 192 / 0.5292 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.01042, allocations: 8.875 kB / 0.5292 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.01043, allocations: 8.969 kB / 0.5292 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.01057, allocations: 78.94 kB / 0.5293 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.01132, allocations: 0.6893 MB / 0.53 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.01147, allocations: 103.1 kB / 0.5301 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.636e-05/0.01156, allocations: 63.59 kB / 0.5301 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.01156, allocations: 4 kB / 0.5301 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.01159, allocations: 37.39 kB / 0.5302 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.072e-06/0.01159, allocations: 2.438 kB / 0.5302 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0002714/0.01186, allocations: 163.9 kB / 0.5303 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.01189, allocations: 59.34 kB / 0.5304 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.01221, allocations: 438.8 kB / 0.5308 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.01222, allocations: 29.7 kB / 0.5308 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.01249, allocations: 275.1 kB / 0.5311 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.01254, allocations: 65.17 kB / 0.5311 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.01258, allocations: 39.38 kB / 0.5312 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.01275, allocations: 0.5391 MB / 0.5317 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/0.01279, allocations: 27.92 kB / 0.5317 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.01283, allocations: 21.36 kB / 0.5318 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.477e-05/0.01292, allocations: 74.08 kB / 0.5318 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.01292, allocations: 0 / 0.5318 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001607/0.01309, allocations: 153.1 kB / 0.532 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.0131, allocations: 4 kB / 0.532 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.0131, allocations: 0 / 0.532 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.01311, allocations: 1.469 kB / 0.532 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.01325, allocations: 55.91 kB / 0.532 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.01326, allocations: 0 / 0.532 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.01332, allocations: 21.11 kB / 0.532 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.01332, allocations: 4 kB / 0.5321 GB, free: 6.004 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.791e-05/0.01341, allocations: 156.6 kB / 0.5322 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.01345, allocations: 48.36 kB / 0.5322 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.01349, allocations: 36.03 kB / 0.5323 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.0135, allocations: 7.984 kB / 0.5323 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.0135, allocations: 1.5 kB / 0.5323 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.01351, allocations: 4 kB / 0.5323 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.01377, allocations: 308.4 kB / 0.5326 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01377, allocations: 0 / 0.5326 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.0139, allocations: 48.94 kB / 0.5326 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.0139, allocations: 4 kB / 0.5326 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.01391, allocations: 4.594 kB / 0.5326 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01391, allocations: 3.984 kB / 0.5326 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01392, allocations: 0.5938 kB / 0.5326 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.01419, allocations: 334 kB / 0.533 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.01424, allocations: 43.73 kB / 0.533 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.01426, allocations: 0.5 kB / 0.533 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.01432, allocations: 8.719 kB / 0.533 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.01436, allocations: 15.91 kB / 0.533 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.01436, allocations: 9.156 kB / 0.533 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001907/0.01456, allocations: 283.1 kB / 0.5333 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01456, allocations: 0 / 0.5333 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001909/0.01475, allocations: 76.53 kB / 0.5334 GB, free: 4.586 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 8.189e-05/0.01483, allocations: 112.2 kB / 0.5335 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.01497, allocations: 83.55 kB / 0.5336 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01497, allocations: 6.438 kB / 0.5336 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.599e-05/0.01503, allocations: 51.59 kB / 0.5336 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.01535, allocations: 87.88 kB / 0.5337 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.01631, allocations: 0.6526 MB / 0.5343 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.073e-05/0.01637, allocations: 96.3 kB / 0.5344 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.166e-05/0.01644, allocations: 32.98 kB / 0.5345 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.01649, allocations: 20.5 kB / 0.5345 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.01649, allocations: 0 / 0.5345 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of Templates: time 0.005751/0.02224, allocations: 3.66 MB / 0.5381 GB, free: 16 kB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.697937855962664]