Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001376/0.001376, allocations: 88.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.001479/0.001479, allocations: 161.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.462/1.462, allocations: 177.2 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.228/1.228, allocations: 154.8 MB / 414.4 MB, free: 468 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.5199 GB, free: 1.133 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.947e-05, allocations: 4.844 kB / 0.5199 GB, free: 1.129 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006052/0.006081, allocations: 3.793 MB / 0.5236 GB, free: 13.35 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004395/0.01048, allocations: 2.232 MB / 0.5258 GB, free: 11.12 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.01076, allocations: 13.03 kB / 0.5258 GB, free: 11.11 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.01244, allocations: 0.5158 MB / 0.5263 GB, free: 10.59 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005282/0.01296, allocations: 247.6 kB / 0.5265 GB, free: 10.35 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.01323, allocations: 145.4 kB / 0.5267 GB, free: 10.21 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000998/0.01423, allocations: 0.8405 MB / 0.5275 GB, free: 9.367 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004152/0.01465, allocations: 215 kB / 0.5277 GB, free: 9.148 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007053/0.01535, allocations: 467.7 kB / 0.5282 GB, free: 8.691 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000391/0.01574, allocations: 239.3 kB / 0.5284 GB, free: 8.457 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.01586, allocations: 77.41 kB / 0.5285 GB, free: 8.383 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.01599, allocations: 76 kB / 0.5285 GB, free: 8.309 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.01621, allocations: 171.4 kB / 0.5287 GB, free: 8.141 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004586/0.01667, allocations: 267.4 kB / 0.529 GB, free: 7.879 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.01798, allocations: 0.9943 MB / 0.5299 GB, free: 6.883 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.01798, allocations: 0 / 0.5299 GB, free: 6.883 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01798, allocations: 0 / 0.5299 GB, free: 6.883 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.018, allocations: 0 / 0.5299 GB, free: 6.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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001852/0.01985, allocations: 0.8832 MB / 0.5308 GB, free: 5.973 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.0199, allocations: 10.81 kB / 0.5308 GB, free: 5.965 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002861/0.02019, allocations: 120.5 kB / 0.5309 GB, free: 5.848 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008153/0.021, allocations: 403.5 kB / 0.5313 GB, free: 5.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.02105, allocations: 33.38 kB / 0.5313 GB, free: 5.398 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.02115, allocations: 48.38 kB / 0.5314 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.02226, allocations: 428.2 kB / 0.5318 GB, free: 4.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.02228, allocations: 4.188 kB / 0.5318 GB, free: 4.926 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.02233, allocations: 20.38 kB / 0.5318 GB, free: 4.906 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.02235, allocations: 15.94 kB / 0.5318 GB, free: 4.891 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/0.02314, allocations: 365.1 kB / 0.5322 GB, free: 4.535 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.02546, allocations: 1.19 MB / 0.5333 GB, free: 3.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/0.02613, allocations: 319.2 kB / 0.5336 GB, free: 2.996 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/0.02671, allocations: 286.9 kB / 0.5339 GB, free: 2.715 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.02674, allocations: 12.69 kB / 0.5339 GB, free: 2.703 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.02678, allocations: 32.84 kB / 0.5339 GB, free: 2.664 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 1.743e-06/0.02678, allocations: 4 kB / 0.534 GB, free: 2.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=42): time 0.001143/0.02792, allocations: 0.493 MB / 0.5344 GB, free: 2.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.02798, allocations: 63.12 kB / 0.5345 GB, free: 2.086 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006455/0.02863, allocations: 438.8 kB / 0.5349 GB, free: 1.656 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.02867, allocations: 37.7 kB / 0.5349 GB, free: 1.613 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.02893, allocations: 281.1 kB / 0.5352 GB, free: 1.332 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.02909, allocations: 146.7 kB / 0.5354 GB, free: 1.188 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.02921, allocations: 64.52 kB / 0.5354 GB, free: 1.117 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.02945, allocations: 358.8 kB / 0.5358 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.02974, allocations: 121.5 kB / 0.5359 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.03001, allocations: 125.2 kB / 0.536 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.03066, allocations: 297.4 kB / 0.5363 GB, free: 236 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.03067, allocations: 0 / 0.5363 GB, free: 236 kB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008027/0.03147, allocations: 408.5 kB / 0.5367 GB, free: 15.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.03149, allocations: 4 kB / 0.5367 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.03149, allocations: 3.938 kB / 0.5367 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/0.03153, allocations: 9.5 kB / 0.5367 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.03208, allocations: 127.8 kB / 0.5368 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.03208, allocations: 0 / 0.5368 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.0323, allocations: 25.12 kB / 0.5368 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.03232, allocations: 12 kB / 0.5368 GB, free: 15.65 MB / 474.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 (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.0002957/0.03262, allocations: 199.2 kB / 0.537 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.03274, allocations: 55.72 kB / 0.5371 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.03287, allocations: 60.8 kB / 0.5371 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.03287, allocations: 4 kB / 0.5371 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.03288, allocations: 8.5 kB / 0.5372 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.03289, allocations: 0.9375 kB / 0.5372 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006593/0.03355, allocations: 416.8 kB / 0.5376 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.03355, allocations: 4 kB / 0.5376 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.03412, allocations: 125.1 kB / 0.5377 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.03413, allocations: 5.312 kB / 0.5377 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.03415, allocations: 4 kB / 0.5377 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.03416, allocations: 4 kB / 0.5377 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.03416, allocations: 0 / 0.5377 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.03542, allocations: 0.6728 MB / 0.5383 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.03553, allocations: 60.86 kB / 0.5384 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.03558, allocations: 4 kB / 0.5384 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.0358, allocations: 11.98 kB / 0.5384 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.03588, allocations: 32.83 kB / 0.5385 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.0359, allocations: 8 kB / 0.5385 GB, free: 13.94 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006906/0.03659, allocations: 317.3 kB / 0.5388 GB, free: 13.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.03659, allocations: 0 / 0.5388 GB, free: 13.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004577/0.03705, allocations: 151.6 kB / 0.5389 GB, free: 13.48 MB / 474.7 MB 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.0001745/0.03722, allocations: 119.2 kB / 0.539 GB, free: 13.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006944/0.03792, allocations: 297 kB / 0.5393 GB, free: 13.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.03792, allocations: 0 / 0.5393 GB, free: 13.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.03826, allocations: 168.8 kB / 0.5395 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006198/0.03888, allocations: 106.5 kB / 0.5396 GB, free: 12.81 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.04098, allocations: 1.099 MB / 0.5406 GB, free: 11.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.04133, allocations: 277.7 kB / 0.5409 GB, free: 11.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.0415, allocations: 41.48 kB / 0.5409 GB, free: 11.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.04161, allocations: 32.5 kB / 0.541 GB, free: 11.38 MB / 474.7 MB Notification: Performance of SimCode: time 5.01e-07/0.04161, allocations: 1.125 kB / 0.541 GB, free: 11.38 MB / 474.7 MB Notification: Performance of Templates: time 0.01225/0.05386, allocations: 4.979 MB / 0.5458 GB, free: 6.613 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.869449972058646]