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.001549/0.001549, allocations: 84.72 kB / 19.44 MB, free: 356 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.001713/0.001713, allocations: 157.7 kB / 22.76 MB, free: 1.68 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 1.446/1.446, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.225/1.225, allocations: 154.8 MB / 414.3 MB, free: 456 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 178] 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.793e-06/1.793e-06, allocations: 0 / 0.5199 GB, free: 1.129 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.16e-05, allocations: 4.516 kB / 0.5199 GB, free: 1.125 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004735/0.004766, allocations: 2.844 MB / 0.5227 GB, free: 14.3 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003359/0.008125, allocations: 1.959 MB / 0.5246 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.00834, allocations: 4 kB / 0.5246 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.009856, allocations: 481 kB / 0.5251 GB, free: 11.87 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.01018, allocations: 151.5 kB / 0.5252 GB, free: 11.72 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.01033, allocations: 60.77 kB / 0.5253 GB, free: 11.66 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.01088, allocations: 465.6 kB / 0.5257 GB, free: 11.2 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.01111, allocations: 110.5 kB / 0.5258 GB, free: 11.09 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.01151, allocations: 239.4 kB / 0.526 GB, free: 10.86 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.01174, allocations: 139.5 kB / 0.5262 GB, free: 10.72 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/0.0118, allocations: 32 kB / 0.5262 GB, free: 10.69 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.849e-05/0.01187, allocations: 36 kB / 0.5262 GB, free: 10.66 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.012, allocations: 95.67 kB / 0.5263 GB, free: 10.56 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.01229, allocations: 143.6 kB / 0.5265 GB, free: 10.42 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006481/0.01293, allocations: 0.5378 MB / 0.527 GB, free: 9.883 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.01294, allocations: 0.6562 kB / 0.527 GB, free: 9.883 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01294, allocations: 0 / 0.527 GB, free: 9.883 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.01295, allocations: 0.9375 kB / 0.527 GB, free: 9.883 MB / 458.7 MB 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.001151/0.0141, allocations: 0.6312 MB / 0.5276 GB, free: 9.223 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.01414, allocations: 12.03 kB / 0.5276 GB, free: 9.211 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.01427, allocations: 65.16 kB / 0.5277 GB, free: 9.148 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005993/0.01487, allocations: 324.9 kB / 0.528 GB, free: 8.809 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.0149, allocations: 14 kB / 0.528 GB, free: 8.797 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.01495, allocations: 24.33 kB / 0.528 GB, free: 8.773 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.01541, allocations: 201.3 kB / 0.5282 GB, free: 8.574 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.01542, allocations: 192 / 0.5282 GB, free: 8.574 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.01545, allocations: 11.81 kB / 0.5282 GB, free: 8.566 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.01546, allocations: 7.938 kB / 0.5282 GB, free: 8.559 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.01587, allocations: 169.9 kB / 0.5284 GB, free: 8.391 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.01707, allocations: 0.6428 MB / 0.529 GB, free: 7.719 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.01742, allocations: 150.5 kB / 0.5292 GB, free: 7.562 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.01764, allocations: 101.1 kB / 0.5293 GB, free: 7.461 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.01767, allocations: 7.906 kB / 0.5293 GB, free: 7.453 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.0177, allocations: 30.56 kB / 0.5293 GB, free: 7.414 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.0177, allocations: 0.7188 kB / 0.5293 GB, free: 7.414 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006748/0.01838, allocations: 261.4 kB / 0.5296 GB, free: 7.156 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.01843, allocations: 51.41 kB / 0.5296 GB, free: 7.094 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.01893, allocations: 398.4 kB / 0.53 GB, free: 6.699 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.01896, allocations: 29.7 kB / 0.53 GB, free: 6.664 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.01915, allocations: 209.4 kB / 0.5302 GB, free: 6.457 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.01923, allocations: 59.48 kB / 0.5303 GB, free: 6.398 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.0193, allocations: 33.67 kB / 0.5303 GB, free: 6.359 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.0195, allocations: 353.5 kB / 0.5306 GB, free: 6.008 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.01966, allocations: 51.97 kB / 0.5307 GB, free: 5.957 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.01981, allocations: 59.97 kB / 0.5307 GB, free: 5.898 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.02013, allocations: 135.3 kB / 0.5309 GB, free: 5.766 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.02013, allocations: 2.625 kB / 0.5309 GB, free: 5.766 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004343/0.02057, allocations: 217.3 kB / 0.5311 GB, free: 5.547 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.02058, allocations: 4 kB / 0.5311 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.02059, allocations: 0 / 0.5311 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.02061, allocations: 0 / 0.5311 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.02088, allocations: 61.83 kB / 0.5311 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.02088, allocations: 0 / 0.5311 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.02102, allocations: 15.83 kB / 0.5312 GB, free: 5.469 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.02103, allocations: 4 kB / 0.5312 GB, free: 5.465 MB / 458.7 MB 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 0.0001972/0.02123, allocations: 166.6 kB / 0.5313 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.02131, allocations: 40.47 kB / 0.5314 GB, free: 5.254 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.513e-05/0.02139, allocations: 39.41 kB / 0.5314 GB, free: 5.215 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.0214, allocations: 4.656 kB / 0.5314 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.0214, allocations: 4 kB / 0.5314 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.02141, allocations: 4.641 kB / 0.5314 GB, free: 5.203 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.02182, allocations: 274.5 kB / 0.5317 GB, free: 4.906 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.02182, allocations: 0 / 0.5317 GB, free: 4.906 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.0221, allocations: 51.95 kB / 0.5317 GB, free: 4.855 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.0221, allocations: 0 / 0.5317 GB, free: 4.855 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.02212, allocations: 17 kB / 0.5317 GB, free: 4.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.02212, allocations: 0 / 0.5317 GB, free: 4.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.02212, allocations: 0 / 0.5317 GB, free: 4.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.02281, allocations: 383 kB / 0.5321 GB, free: 4.453 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.02288, allocations: 36.53 kB / 0.5321 GB, free: 4.418 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.02294, allocations: 8 kB / 0.5321 GB, free: 4.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.02309, allocations: 9.516 kB / 0.5322 GB, free: 4.402 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.02315, allocations: 15.97 kB / 0.5322 GB, free: 4.387 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.02317, allocations: 7.984 kB / 0.5322 GB, free: 4.379 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003579/0.02352, allocations: 283.2 kB / 0.5324 GB, free: 4.102 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02352, allocations: 2.344 kB / 0.5324 GB, free: 4.102 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003383/0.02386, allocations: 75.89 kB / 0.5325 GB, free: 4.027 MB / 458.7 MB 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.0001807/0.02404, allocations: 111.1 kB / 0.5326 GB, free: 3.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003914/0.02443, allocations: 142.3 kB / 0.5328 GB, free: 3.773 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.02444, allocations: 0 / 0.5328 GB, free: 3.773 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.02461, allocations: 75.89 kB / 0.5328 GB, free: 3.699 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.02518, allocations: 85.31 kB / 0.5329 GB, free: 3.617 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.02661, allocations: 0.6885 MB / 0.5336 GB, free: 2.945 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.02683, allocations: 194.6 kB / 0.5338 GB, free: 2.738 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.02695, allocations: 28 kB / 0.5338 GB, free: 2.711 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.02703, allocations: 28.5 kB / 0.5338 GB, free: 2.684 MB / 458.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02703, allocations: 1.281 kB / 0.5338 GB, free: 2.684 MB / 458.7 MB Notification: Performance of Templates: time 0.008776/0.03581, allocations: 3.656 MB / 0.5374 GB, free: 15.26 MB / 474.7 MB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.742904442944564]