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.0015/0.0015, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001803/0.001803, allocations: 173 kB / 23.49 MB, free: 1.055 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.9029/0.9029, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.8069/0.8069, allocations: 154.8 MB / 415.1 MB, free: 488 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 2.464e-06/2.464e-06, allocations: 0.5469 kB / 0.5206 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.333e-05, allocations: 8.422 kB / 0.5206 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006439/0.006473, allocations: 4.223 MB / 0.5248 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00434/0.01081, allocations: 2.407 MB / 0.5271 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.01125, allocations: 12.97 kB / 0.5271 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.01337, allocations: 0.5158 MB / 0.5276 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007254/0.0141, allocations: 256.2 kB / 0.5279 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.01446, allocations: 139.8 kB / 0.528 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.01556, allocations: 0.846 MB / 0.5288 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004276/0.01599, allocations: 211 kB / 0.529 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008707/0.01686, allocations: 471 kB / 0.5295 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000457/0.01732, allocations: 247.3 kB / 0.5297 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.01742, allocations: 72 kB / 0.5298 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.01755, allocations: 76 kB / 0.5299 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.01773, allocations: 179.4 kB / 0.53 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003062/0.01803, allocations: 268.7 kB / 0.5303 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006777/0.01871, allocations: 0.4983 MB / 0.5308 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.01872, allocations: 0 / 0.5308 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.774e-06/0.01872, allocations: 4 kB / 0.5308 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.01873, allocations: 0.9375 kB / 0.5308 GB, free: 7.812 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.001775/0.02051, allocations: 1.003 MB / 0.5318 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.02056, allocations: 8.031 kB / 0.5318 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.02077, allocations: 116.5 kB / 0.5319 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.02139, allocations: 385.4 kB / 0.5322 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.02143, allocations: 41.31 kB / 0.5323 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/0.02151, allocations: 48.38 kB / 0.5323 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.02218, allocations: 311.7 kB / 0.5326 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.0222, allocations: 4.141 kB / 0.5326 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.02225, allocations: 20.38 kB / 0.5327 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.02227, allocations: 15.94 kB / 0.5327 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004778/0.02275, allocations: 189.4 kB / 0.5328 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.02471, allocations: 1.205 MB / 0.534 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.02512, allocations: 214.8 kB / 0.5342 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.02548, allocations: 191.6 kB / 0.5344 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.0255, allocations: 4.688 kB / 0.5344 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.02554, allocations: 41.39 kB / 0.5345 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.02554, allocations: 0 / 0.5345 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.000725/0.02626, allocations: 335.9 kB / 0.5348 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.02631, allocations: 63.12 kB / 0.5348 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.02689, allocations: 478.7 kB / 0.5353 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.02691, allocations: 29.7 kB / 0.5353 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.02714, allocations: 347.2 kB / 0.5357 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.02727, allocations: 150.7 kB / 0.5358 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.02738, allocations: 67.73 kB / 0.5359 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000232/0.02761, allocations: 0.5469 MB / 0.5364 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.02777, allocations: 48.72 kB / 0.5364 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.02792, allocations: 73.11 kB / 0.5365 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.02826, allocations: 161.3 kB / 0.5367 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.02827, allocations: 0 / 0.5367 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005108/0.02878, allocations: 284.6 kB / 0.5369 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.0288, allocations: 4 kB / 0.5369 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.0288, allocations: 0.7656 kB / 0.5369 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.02883, allocations: 7.984 kB / 0.5369 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.0293, allocations: 123.8 kB / 0.5371 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.02931, allocations: 4.938 kB / 0.5371 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.0295, allocations: 31.77 kB / 0.5371 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.02952, allocations: 12 kB / 0.5371 GB, free: 1.141 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.0001696/0.02969, allocations: 174.4 kB / 0.5373 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-05/0.02979, allocations: 63.61 kB / 0.5373 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.02989, allocations: 56.81 kB / 0.5374 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.0299, allocations: 4 kB / 0.5374 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.0299, allocations: 4.594 kB / 0.5374 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.02991, allocations: 3.984 kB / 0.5374 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/0.03058, allocations: 428.8 kB / 0.5378 GB, free: 384 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.03058, allocations: 0.5625 kB / 0.5378 GB, free: 384 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004737/0.03105, allocations: 125.2 kB / 0.5379 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.03106, allocations: 4 kB / 0.5379 GB, free: 256 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.03109, allocations: 8 kB / 0.5379 GB, free: 248 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.0311, allocations: 4.594 kB / 0.538 GB, free: 244 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.0311, allocations: 8.547 kB / 0.538 GB, free: 236 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007764/0.03188, allocations: 0.5002 MB / 0.5384 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.03197, allocations: 56.45 kB / 0.5385 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.742e-05/0.03203, allocations: 8 kB / 0.5385 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.03222, allocations: 12.53 kB / 0.5385 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/0.03229, allocations: 25.39 kB / 0.5385 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.03232, allocations: 12 kB / 0.5386 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003435/0.03266, allocations: 307 kB / 0.5388 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/0.03266, allocations: 0 / 0.5388 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004972/0.03316, allocations: 156.5 kB / 0.539 GB, free: 15.15 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.0001541/0.03331, allocations: 112.4 kB / 0.5391 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004341/0.03375, allocations: 199.4 kB / 0.5393 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.03375, allocations: 1.219 kB / 0.5393 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.03395, allocations: 131.6 kB / 0.5394 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.03458, allocations: 95.09 kB / 0.5395 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.03675, allocations: 1.032 MB / 0.5405 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.03686, allocations: 129.8 kB / 0.5406 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001914/0.03706, allocations: 45.39 kB / 0.5407 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.03717, allocations: 37.38 kB / 0.5407 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of SimCode: time 1.994e-06/0.03717, allocations: 0 / 0.5407 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of Templates: time 0.01166/0.04883, allocations: 4.976 MB / 0.5456 GB, free: 8.633 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.717040270799771]