Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.0009189/0.0009189, allocations: 81.14 kB / 19.87 MB, free: 4.621 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.0009613/0.0009613, allocations: 173 kB / 23.28 MB, free: 1.223 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.9054/0.9054, allocations: 177.2 MB / 203.7 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.7354/0.7354, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5208 GB, free: 1.832 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.623e-05, allocations: 6.859 kB / 0.5208 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005507/0.005533, allocations: 4.13 MB / 0.5249 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003581/0.009113, allocations: 2.388 MB / 0.5272 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.009391, allocations: 8 kB / 0.5272 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.01085, allocations: 0.5144 MB / 0.5277 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.01133, allocations: 253.7 kB / 0.5279 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.01157, allocations: 147.8 kB / 0.5281 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008156/0.01239, allocations: 0.8378 MB / 0.5289 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.01275, allocations: 211 kB / 0.5291 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.01336, allocations: 463 kB / 0.5296 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003589/0.01372, allocations: 258 kB / 0.5298 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.181e-05/0.01381, allocations: 72 kB / 0.5299 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.01393, allocations: 76 kB / 0.5299 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.0141, allocations: 175.4 kB / 0.5301 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005402/0.01464, allocations: 263.4 kB / 0.5304 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005748/0.01521, allocations: 0.506 MB / 0.5309 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01522, allocations: 0 / 0.5309 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.01522, allocations: 0 / 0.5309 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.01523, allocations: 2.438 kB / 0.5309 GB, free: 7.57 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001257/0.01648, allocations: 1.007 MB / 0.5318 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.01653, allocations: 12.03 kB / 0.5318 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.01668, allocations: 116.5 kB / 0.532 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.01714, allocations: 374.3 kB / 0.5323 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.01717, allocations: 37.38 kB / 0.5324 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.01724, allocations: 48.38 kB / 0.5324 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.01768, allocations: 279.7 kB / 0.5327 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.0177, allocations: 6.922 kB / 0.5327 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.01773, allocations: 16.38 kB / 0.5327 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.01775, allocations: 15.94 kB / 0.5327 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.01803, allocations: 154.8 kB / 0.5328 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.01959, allocations: 1.114 MB / 0.5339 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.01988, allocations: 191.9 kB / 0.5341 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.02012, allocations: 163.6 kB / 0.5343 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.02014, allocations: 8.688 kB / 0.5343 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.02017, allocations: 41.38 kB / 0.5343 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.775e-06/0.02017, allocations: 0 / 0.5343 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.0004982/0.02067, allocations: 300.2 kB / 0.5346 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.02071, allocations: 63.19 kB / 0.5347 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/0.02115, allocations: 466.5 kB / 0.5351 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.02118, allocations: 29.7 kB / 0.5351 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.0214, allocations: 355.2 kB / 0.5355 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.02151, allocations: 154.7 kB / 0.5356 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.02161, allocations: 63.7 kB / 0.5357 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.02182, allocations: 0.5559 MB / 0.5362 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.02191, allocations: 40.72 kB / 0.5363 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.014e-05/0.022, allocations: 53.2 kB / 0.5363 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.02221, allocations: 144 kB / 0.5365 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.02221, allocations: 0 / 0.5365 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003532/0.02257, allocations: 248.6 kB / 0.5367 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.02258, allocations: 8 kB / 0.5367 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.02259, allocations: 0 / 0.5367 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.0226, allocations: 4.609 kB / 0.5367 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.02301, allocations: 120.4 kB / 0.5368 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.02302, allocations: 12.69 kB / 0.5368 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.02316, allocations: 27.77 kB / 0.5369 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.02318, allocations: 12.53 kB / 0.5369 GB, free: 1.215 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 (46): * Single equations (assignments): 46 * 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.0001405/0.02332, allocations: 173.2 kB / 0.537 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.0234, allocations: 60.92 kB / 0.5371 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.285e-05/0.02349, allocations: 52.81 kB / 0.5371 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.02349, allocations: 4 kB / 0.5372 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.02349, allocations: 0 / 0.5372 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.0235, allocations: 12.48 kB / 0.5372 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007136/0.02422, allocations: 349.3 kB / 0.5375 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.02422, allocations: 0 / 0.5375 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.02463, allocations: 129.9 kB / 0.5376 GB, free: 428 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.02463, allocations: 0 / 0.5376 GB, free: 428 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.02465, allocations: 8 kB / 0.5376 GB, free: 420 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.02466, allocations: 0 / 0.5376 GB, free: 420 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02466, allocations: 1.125 kB / 0.5376 GB, free: 420 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005488/0.02521, allocations: 475.1 kB / 0.5381 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.02528, allocations: 51.64 kB / 0.5381 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.02532, allocations: 4.906 kB / 0.5381 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.02549, allocations: 15.98 kB / 0.5382 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.02554, allocations: 24.61 kB / 0.5382 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.02555, allocations: 8 kB / 0.5382 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002446/0.0258, allocations: 295.7 kB / 0.5385 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.0258, allocations: 3.938 kB / 0.5385 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004085/0.02621, allocations: 149.2 kB / 0.5386 GB, free: 15.39 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001248/0.02633, allocations: 115.1 kB / 0.5387 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.02661, allocations: 181.5 kB / 0.5389 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.02661, allocations: 0 / 0.5389 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.02676, allocations: 115.4 kB / 0.539 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.0273, allocations: 105 kB / 0.5391 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.029, allocations: 1.015 MB / 0.5401 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.02911, allocations: 129.8 kB / 0.5402 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.02928, allocations: 41.73 kB / 0.5403 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.02954, allocations: 162.1 kB / 0.5404 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of SimCode: time 6.82e-07/0.02954, allocations: 7.188 kB / 0.5404 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.01127/0.04081, allocations: 5.402 MB / 0.5457 GB, free: 8.398 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4615285731852055]