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.001832/0.001832, allocations: 85.48 kB / 19.44 MB, free: 344 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.002115/0.002115, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.273 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.343/1.343, allocations: 154.8 MB / 414.3 MB, free: 424 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.864e-06/1.864e-06, allocations: 3.938 kB / 0.5199 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.648e-05, allocations: 2.969 kB / 0.5199 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.007293/0.00733, allocations: 4.198 MB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004476/0.01181, allocations: 2.392 MB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004212/0.01223, allocations: 12 kB / 0.5264 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.01412, allocations: 0.5267 MB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006298/0.01475, allocations: 261.2 kB / 0.5271 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.01505, allocations: 139.8 kB / 0.5273 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001078/0.01613, allocations: 0.8366 MB / 0.5281 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004224/0.01655, allocations: 217.9 kB / 0.5283 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007519/0.01731, allocations: 463 kB / 0.5287 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/0.01772, allocations: 251.3 kB / 0.529 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.01783, allocations: 76 kB / 0.529 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.01798, allocations: 76 kB / 0.5291 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.01821, allocations: 175.4 kB / 0.5293 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.01855, allocations: 259.5 kB / 0.5295 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.02008, allocations: 1.007 MB / 0.5305 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.02008, allocations: 0 / 0.5305 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.823e-06/0.02009, allocations: 0 / 0.5305 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.02011, allocations: 0 / 0.5305 GB, free: 7.344 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.001941/0.02205, allocations: 1.056 MB / 0.5315 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.02209, allocations: 8.031 kB / 0.5316 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.0223, allocations: 116.5 kB / 0.5317 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007219/0.02302, allocations: 403.7 kB / 0.5321 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/0.02307, allocations: 37.38 kB / 0.5321 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.143e-05/0.02316, allocations: 48.88 kB / 0.5321 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008202/0.02398, allocations: 407.6 kB / 0.5325 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.024, allocations: 4.141 kB / 0.5325 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.02405, allocations: 21.09 kB / 0.5325 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.02407, allocations: 17.47 kB / 0.5326 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007247/0.0248, allocations: 347.8 kB / 0.5329 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.0274, allocations: 1.565 MB / 0.5344 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/0.02801, allocations: 319.7 kB / 0.5347 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005081/0.02852, allocations: 281.1 kB / 0.535 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.02856, allocations: 8 kB / 0.535 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.0286, allocations: 50.05 kB / 0.5351 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 1.543e-06/0.0286, allocations: 0 / 0.5351 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.001026/0.02963, allocations: 481.7 kB / 0.5355 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.02969, allocations: 59.34 kB / 0.5356 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007275/0.03041, allocations: 0.5484 MB / 0.5361 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.03045, allocations: 37.7 kB / 0.5361 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.0308, allocations: 355.2 kB / 0.5365 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.03099, allocations: 166.7 kB / 0.5366 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.03114, allocations: 83.72 kB / 0.5367 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007224/0.03186, allocations: 0.5626 MB / 0.5373 GB, free: 248 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.0321, allocations: 112.7 kB / 0.5374 GB, free: 136 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.03233, allocations: 124.8 kB / 0.5375 GB, free: 16 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.03289, allocations: 305.2 kB / 0.5378 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.03289, allocations: 0 / 0.5378 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007142/0.0336, allocations: 384.6 kB / 0.5382 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.03362, allocations: 6.656 kB / 0.5382 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.03363, allocations: 3.984 kB / 0.5382 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.03365, allocations: 4 kB / 0.5382 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.03419, allocations: 127.2 kB / 0.5383 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.0342, allocations: 0 / 0.5383 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.03442, allocations: 35.77 kB / 0.5383 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.03445, allocations: 8 kB / 0.5383 GB, free: 15.16 MB / 0.5105 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.0002976/0.03475, allocations: 228.5 kB / 0.5385 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.03485, allocations: 59.67 kB / 0.5386 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.03499, allocations: 56.81 kB / 0.5387 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.035, allocations: 4 kB / 0.5387 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.03501, allocations: 4.812 kB / 0.5387 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.03502, allocations: 3.984 kB / 0.5387 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008554/0.03587, allocations: 0.5476 MB / 0.5392 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.03588, allocations: 0 / 0.5392 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.03643, allocations: 125.3 kB / 0.5393 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.03644, allocations: 4 kB / 0.5393 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.03647, allocations: 4.562 kB / 0.5393 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.03647, allocations: 4 kB / 0.5393 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.03648, allocations: 4.547 kB / 0.5393 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.03765, allocations: 0.6886 MB / 0.54 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.03778, allocations: 56.06 kB / 0.5401 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.03784, allocations: 12 kB / 0.5401 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.03804, allocations: 16.73 kB / 0.5401 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.03813, allocations: 27.89 kB / 0.5401 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.03815, allocations: 13.5 kB / 0.5401 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004968/0.03865, allocations: 359 kB / 0.5405 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.03865, allocations: 0 / 0.5405 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004785/0.03913, allocations: 151.7 kB / 0.5406 GB, free: 12.75 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.0002044/0.03933, allocations: 116.7 kB / 0.5407 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006637/0.04, allocations: 316.6 kB / 0.541 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.04, allocations: 0 / 0.541 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.04032, allocations: 191.6 kB / 0.5412 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.04095, allocations: 101.6 kB / 0.5413 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.04313, allocations: 1.104 MB / 0.5424 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.04344, allocations: 266.3 kB / 0.5426 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001978/0.04364, allocations: 45.56 kB / 0.5427 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.04375, allocations: 36.5 kB / 0.5427 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of SimCode: time 1.412e-06/0.04375, allocations: 1.594 kB / 0.5427 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.01328/0.05703, allocations: 4.975 MB / 0.5476 GB, free: 5.844 MB / 0.5105 GB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.337667734012939]