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.0009079/0.0009079, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.0009484/0.0009484, allocations: 173 kB / 23.28 MB, free: 1.219 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.8821/0.8821, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7088/0.7088, allocations: 154.9 MB / 415.1 MB, free: 268 kB / 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.333e-06/1.333e-06, allocations: 0 / 0.5212 GB, free: 1.457 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.569e-05, allocations: 4 kB / 0.5212 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002911/0.002927, allocations: 3.047 MB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.00476, allocations: 2.112 MB / 0.5262 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.004886, allocations: 7.938 kB / 0.5262 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008888/0.005775, allocations: 484.7 kB / 0.5267 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.005925, allocations: 152.5 kB / 0.5268 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 6.899e-05/0.005994, allocations: 59.94 kB / 0.5269 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.006281, allocations: 462.5 kB / 0.5273 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.006415, allocations: 99.83 kB / 0.5274 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.006636, allocations: 248.6 kB / 0.5277 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.006778, allocations: 139.6 kB / 0.5278 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.006809, allocations: 32 kB / 0.5278 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.862e-05/0.006847, allocations: 36.62 kB / 0.5279 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.006919, allocations: 99.61 kB / 0.528 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.821e-05/0.007007, allocations: 141.5 kB / 0.5281 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.007227, allocations: 290.8 kB / 0.5284 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.00723, allocations: 4 kB / 0.5284 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.71e-07/0.00723, allocations: 0 / 0.5284 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.007233, allocations: 0 / 0.5284 GB, free: 10.09 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.0005701/0.007804, allocations: 0.7478 MB / 0.5291 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.007832, allocations: 12.03 kB / 0.5291 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.007887, allocations: 60.66 kB / 0.5292 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.008113, allocations: 304.5 kB / 0.5295 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.008126, allocations: 16.88 kB / 0.5295 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.008151, allocations: 24.38 kB / 0.5295 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.008306, allocations: 145.4 kB / 0.5296 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.008314, allocations: 2.938 kB / 0.5296 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.008325, allocations: 4.375 kB / 0.5296 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.008332, allocations: 11.94 kB / 0.5297 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.2e-05/0.008414, allocations: 69.42 kB / 0.5297 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.009179, allocations: 0.6183 MB / 0.5303 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.009281, allocations: 96.98 kB / 0.5304 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.009333, allocations: 55.64 kB / 0.5305 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.009343, allocations: 4 kB / 0.5305 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.00936, allocations: 39.8 kB / 0.5305 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 9.02e-07/0.009361, allocations: 0 / 0.5305 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0001737/0.009535, allocations: 151.5 kB / 0.5307 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.009557, allocations: 55.41 kB / 0.5307 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.009791, allocations: 426.6 kB / 0.5311 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.009802, allocations: 25.7 kB / 0.5311 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.009915, allocations: 283.9 kB / 0.5314 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.009955, allocations: 63.42 kB / 0.5315 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.009992, allocations: 44 kB / 0.5315 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.01012, allocations: 0.5507 MB / 0.5321 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.01014, allocations: 16.55 kB / 0.5321 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/0.01016, allocations: 21.05 kB / 0.5321 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.088e-05/0.01022, allocations: 56.7 kB / 0.5321 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.01022, allocations: 0 / 0.5321 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001122/0.01034, allocations: 144.1 kB / 0.5323 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.01035, allocations: 4 kB / 0.5323 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.01035, allocations: 0 / 0.5323 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.353e-06/0.01036, allocations: 0 / 0.5323 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.01048, allocations: 51.97 kB / 0.5323 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.01048, allocations: 7.125 kB / 0.5323 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.01053, allocations: 19.88 kB / 0.5324 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.01054, allocations: 0 / 0.5324 GB, free: 5.832 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 7.793e-05/0.01062, allocations: 172.4 kB / 0.5325 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.01065, allocations: 43.77 kB / 0.5326 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.01069, allocations: 35.41 kB / 0.5326 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.01069, allocations: 0 / 0.5326 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01069, allocations: 5.5 kB / 0.5326 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01069, allocations: 3.984 kB / 0.5326 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.01087, allocations: 229 kB / 0.5328 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.01087, allocations: 0 / 0.5328 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.01103, allocations: 53.03 kB / 0.5329 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.01103, allocations: 0 / 0.5329 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01104, allocations: 4 kB / 0.5329 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01104, allocations: 5.062 kB / 0.5329 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.01104, allocations: 0 / 0.5329 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.01124, allocations: 317.7 kB / 0.5332 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.01127, allocations: 36.7 kB / 0.5332 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.01129, allocations: 4 kB / 0.5332 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.01136, allocations: 12.77 kB / 0.5332 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.01138, allocations: 7.984 kB / 0.5333 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.01138, allocations: 4.875 kB / 0.5333 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000131/0.01152, allocations: 271 kB / 0.5335 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01152, allocations: 3.062 kB / 0.5335 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001762/0.01169, allocations: 79.84 kB / 0.5336 GB, free: 4.527 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 6.324e-05/0.01176, allocations: 103.2 kB / 0.5337 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.556e-05/0.01185, allocations: 91.41 kB / 0.5338 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.72e-07/0.01185, allocations: 0 / 0.5338 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.01189, allocations: 43.61 kB / 0.5338 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.01216, allocations: 88.27 kB / 0.5339 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007493/0.01291, allocations: 0.6424 MB / 0.5345 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.109e-05/0.01296, allocations: 98.5 kB / 0.5346 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.204e-05/0.01303, allocations: 34.89 kB / 0.5347 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.01315, allocations: 138.2 kB / 0.5348 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of SimCode: time 6.52e-07/0.01315, allocations: 0.9062 kB / 0.5348 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of Templates: time 0.005453/0.01861, allocations: 3.968 MB / 0.5387 GB, free: 15.59 MB / 0.5105 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.349261337891221]