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.0008927/0.0008927, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009221/0.0009221, allocations: 169 kB / 23.02 MB, free: 1.547 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.9184/0.9184, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7161/0.7161, allocations: 154.9 MB / 414.8 MB, free: 408 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.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.142e-06/1.142e-06, allocations: 0 / 0.5207 GB, free: 1.723 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.465e-05, allocations: 8.672 kB / 0.5208 GB, free: 1.719 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003584/0.003599, allocations: 4.244 MB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.006246, allocations: 2.423 MB / 0.5273 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.00647, allocations: 8.75 kB / 0.5273 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.007646, allocations: 0.5153 MB / 0.5278 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.007975, allocations: 256.2 kB / 0.528 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.008147, allocations: 142.6 kB / 0.5282 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00063/0.008777, allocations: 0.8405 MB / 0.529 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.009046, allocations: 211 kB / 0.5292 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.009527, allocations: 467 kB / 0.5296 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.009778, allocations: 255.3 kB / 0.5299 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.089e-05/0.009839, allocations: 72 kB / 0.5299 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.37e-05/0.009913, allocations: 77.25 kB / 0.53 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.01003, allocations: 179.3 kB / 0.5302 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.01021, allocations: 263.4 kB / 0.5304 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.01062, allocations: 0.4983 MB / 0.5309 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.01062, allocations: 0.9375 kB / 0.5309 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.12e-07/0.01062, allocations: 3.938 kB / 0.5309 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.01063, allocations: 0.9375 kB / 0.5309 GB, free: 7.305 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.001018/0.01165, allocations: 1.01 MB / 0.5319 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.01169, allocations: 11.16 kB / 0.5319 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.01181, allocations: 108.5 kB / 0.532 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.0122, allocations: 386.2 kB / 0.5324 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.01223, allocations: 37.38 kB / 0.5324 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.01229, allocations: 48.38 kB / 0.5325 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.01271, allocations: 311.7 kB / 0.5328 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.01273, allocations: 5.703 kB / 0.5328 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.01275, allocations: 20.38 kB / 0.5328 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.01277, allocations: 15.94 kB / 0.5328 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.01306, allocations: 193.8 kB / 0.533 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.01439, allocations: 1.202 MB / 0.5342 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.01466, allocations: 212.3 kB / 0.5344 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.01491, allocations: 188.9 kB / 0.5346 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.01493, allocations: 8.688 kB / 0.5346 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.01496, allocations: 41.39 kB / 0.5346 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 1.934e-06/0.01496, allocations: 0 / 0.5346 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.0004836/0.01545, allocations: 333.6 kB / 0.5349 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.01548, allocations: 63.12 kB / 0.535 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.01585, allocations: 479.9 kB / 0.5354 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.01587, allocations: 33.7 kB / 0.5355 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.01603, allocations: 347.2 kB / 0.5358 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.531e-05/0.01613, allocations: 150.7 kB / 0.5359 GB, free: 2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.665e-05/0.01619, allocations: 64.95 kB / 0.536 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.01637, allocations: 0.5469 MB / 0.5365 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.01646, allocations: 56.7 kB / 0.5366 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-05/0.01655, allocations: 66.16 kB / 0.5367 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.01675, allocations: 161.3 kB / 0.5368 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01676, allocations: 0.8438 kB / 0.5368 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003057/0.01706, allocations: 285.3 kB / 0.5371 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01708, allocations: 4 kB / 0.5371 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.01708, allocations: 3.594 kB / 0.5371 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.0171, allocations: 4 kB / 0.5371 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.0174, allocations: 123.8 kB / 0.5372 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.01741, allocations: 3.984 kB / 0.5372 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.038e-05/0.0175, allocations: 27.78 kB / 0.5372 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.01752, allocations: 15.94 kB / 0.5373 GB, free: 0.6289 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.0001235/0.01764, allocations: 172.5 kB / 0.5374 GB, free: 460 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.0177, allocations: 62.95 kB / 0.5375 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.812e-05/0.01776, allocations: 56.81 kB / 0.5375 GB, free: 340 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.01777, allocations: 11.97 kB / 0.5375 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.01778, allocations: 7.938 kB / 0.5376 GB, free: 320 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01778, allocations: 0 / 0.5376 GB, free: 320 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.01818, allocations: 432.2 kB / 0.538 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01818, allocations: 0 / 0.538 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.01847, allocations: 127 kB / 0.5381 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.01848, allocations: 7.984 kB / 0.5381 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.0185, allocations: 8 kB / 0.5381 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.0185, allocations: 4 kB / 0.5381 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01851, allocations: 0 / 0.5381 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.0191, allocations: 0.4963 MB / 0.5386 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.01919, allocations: 55.64 kB / 0.5386 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.01923, allocations: 8 kB / 0.5387 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.01933, allocations: 11.88 kB / 0.5387 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.0194, allocations: 35.88 kB / 0.5387 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.01941, allocations: 4 kB / 0.5387 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002504/0.01966, allocations: 315 kB / 0.539 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01966, allocations: 0 / 0.539 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002867/0.01994, allocations: 143.7 kB / 0.5391 GB, free: 14.64 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.000105/0.02005, allocations: 111.2 kB / 0.5392 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.02036, allocations: 203.4 kB / 0.5394 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02036, allocations: 1.125 kB / 0.5394 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.0205, allocations: 131.6 kB / 0.5396 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.0209, allocations: 102.6 kB / 0.5397 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.02227, allocations: 1.03 MB / 0.5407 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.768e-05/0.02235, allocations: 125.8 kB / 0.5408 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.02246, allocations: 40.55 kB / 0.5408 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.899e-05/0.02254, allocations: 36.5 kB / 0.5409 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/0.02254, allocations: 0 / 0.5409 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of Templates: time 0.007565/0.0301, allocations: 5.25 MB / 0.546 GB, free: 7.852 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: 3.503807276021689]