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.001122/0.001122, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001748/0.002869, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007172/0.0007172, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009462/0.001663, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9774/0.9774, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08157/1.059, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7247/0.7247, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2294/0.9541, allocations: 49.13 MB / 448.6 MB, free: 5.918 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.633e-06/1.633e-06, allocations: 0 / 450 MB, free: 4.586 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.061e-05, allocations: 8.562 kB / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003526/0.003547, allocations: 4.222 MB / 454.2 MB, free: 420 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.00558, allocations: 2.471 MB / 456.7 MB, free: 13.95 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.005743, allocations: 12.5 kB / 456.7 MB, free: 13.94 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008454/0.006588, allocations: 0.5308 MB / 457.2 MB, free: 13.41 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.00683, allocations: 257.5 kB / 457.5 MB, free: 13.16 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.006959, allocations: 139.8 kB / 457.6 MB, free: 13.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000505/0.007464, allocations: 0.8453 MB / 458.4 MB, free: 12.17 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.007713, allocations: 226.4 kB / 458.7 MB, free: 11.95 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.008146, allocations: 0.5422 MB / 459.2 MB, free: 11.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.008377, allocations: 247.3 kB / 459.5 MB, free: 11.16 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.008434, allocations: 72 kB / 459.5 MB, free: 11.09 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.282e-05/0.008507, allocations: 79.94 kB / 459.6 MB, free: 11.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.00861, allocations: 140.5 kB / 459.7 MB, free: 10.88 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.008765, allocations: 223.6 kB / 460 MB, free: 10.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.009122, allocations: 494.8 kB / 460.4 MB, free: 10.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.009134, allocations: 0 / 460.4 MB, free: 10.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.009135, allocations: 0.8438 kB / 460.4 MB, free: 10.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.009144, allocations: 0 / 460.4 MB, free: 10.18 MB / 442.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.0008438/0.009988, allocations: 0.9965 MB / 461.4 MB, free: 9.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.01002, allocations: 8.031 kB / 461.4 MB, free: 9.152 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.0101, allocations: 93.77 kB / 461.5 MB, free: 9.062 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.01038, allocations: 288.8 kB / 461.8 MB, free: 8.758 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.0104, allocations: 37.38 kB / 461.9 MB, free: 8.723 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.01044, allocations: 48.36 kB / 461.9 MB, free: 8.676 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.01073, allocations: 284.3 kB / 462.2 MB, free: 8.391 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.01074, allocations: 16.69 kB / 462.2 MB, free: 8.375 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.01077, allocations: 21.03 kB / 462.2 MB, free: 8.355 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.01078, allocations: 15.94 kB / 462.2 MB, free: 8.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.01093, allocations: 136.8 kB / 462.4 MB, free: 8.207 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.0118, allocations: 0.8546 MB / 463.2 MB, free: 7.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.01196, allocations: 161.5 kB / 463.4 MB, free: 7.172 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.01211, allocations: 164.7 kB / 463.5 MB, free: 7.008 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.01213, allocations: 9.562 kB / 463.5 MB, free: 7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.01215, allocations: 35.25 kB / 463.6 MB, free: 6.957 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 1.252e-06/0.01215, allocations: 0.625 kB / 463.6 MB, free: 6.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002457/0.01239, allocations: 224.9 kB / 463.8 MB, free: 6.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.01242, allocations: 56 kB / 463.9 MB, free: 6.664 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.01262, allocations: 345 kB / 464.2 MB, free: 6.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.01264, allocations: 29.7 kB / 464.2 MB, free: 6.285 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.274e-05/0.01272, allocations: 233.5 kB / 464.5 MB, free: 6.051 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.0128, allocations: 154.6 kB / 464.6 MB, free: 5.898 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.01285, allocations: 62.05 kB / 464.7 MB, free: 5.828 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.01295, allocations: 364.3 kB / 465 MB, free: 5.465 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.01299, allocations: 36.73 kB / 465.1 MB, free: 5.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.205e-05/0.01303, allocations: 37.48 kB / 465.1 MB, free: 5.395 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.01315, allocations: 134.1 kB / 465.2 MB, free: 5.262 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01315, allocations: 1 kB / 465.2 MB, free: 5.262 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001667/0.01332, allocations: 189.1 kB / 465.4 MB, free: 5.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.01333, allocations: 4 kB / 465.4 MB, free: 5.066 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01333, allocations: 0.9062 kB / 465.4 MB, free: 5.066 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.01334, allocations: 5.547 kB / 465.4 MB, free: 5.062 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.01375, allocations: 214.2 kB / 465.6 MB, free: 4.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.01376, allocations: 3.938 kB / 465.6 MB, free: 4.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.01383, allocations: 28.47 kB / 465.7 MB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.01384, allocations: 8.719 kB / 465.7 MB, free: 4.824 MB / 442.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 8.706e-05/0.01393, allocations: 133.9 kB / 465.8 MB, free: 4.684 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.01397, allocations: 39.95 kB / 465.8 MB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.01403, allocations: 57.98 kB / 465.9 MB, free: 4.586 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01403, allocations: 4 kB / 465.9 MB, free: 4.582 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.01403, allocations: 0.5938 kB / 465.9 MB, free: 4.582 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01404, allocations: 3.984 kB / 465.9 MB, free: 4.578 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.01429, allocations: 298.8 kB / 466.2 MB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01429, allocations: 0 / 466.2 MB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.01466, allocations: 207.8 kB / 466.4 MB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.0147, allocations: 43.59 kB / 466.4 MB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.01471, allocations: 4.531 kB / 466.4 MB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.01472, allocations: 4 kB / 466.4 MB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01473, allocations: 4.531 kB / 466.5 MB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.01473, allocations: 1.969 kB / 466.5 MB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.01508, allocations: 368.1 kB / 466.8 MB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.01512, allocations: 11.98 kB / 466.8 MB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.01525, allocations: 8 kB / 466.8 MB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.01529, allocations: 25.59 kB / 466.9 MB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.0153, allocations: 4.844 kB / 466.9 MB, free: 3.598 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001358/0.01544, allocations: 152.7 kB / 467 MB, free: 3.449 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01544, allocations: 1.438 kB / 467 MB, free: 3.449 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003001/0.01574, allocations: 151.7 kB / 467.2 MB, free: 3.301 MB / 442.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 9.036e-05/0.01583, allocations: 96.89 kB / 467.3 MB, free: 3.199 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.01604, allocations: 161.5 kB / 467.4 MB, free: 3.039 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.01605, allocations: 7.984 kB / 467.4 MB, free: 3.031 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.01618, allocations: 125.3 kB / 467.5 MB, free: 2.906 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009875/0.01717, allocations: 1.327 MB / 468.9 MB, free: 1.332 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007816/0.02499, allocations: 1.016 MB / 469.9 MB, free: 292 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.435e-05/0.02508, allocations: 137.6 kB / 470 MB, free: 132 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.02523, allocations: 47.31 kB / 470.1 MB, free: 92 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.0255, allocations: 165.3 kB / 470.2 MB, free: 15.93 MB / 458.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0255, allocations: 3.938 kB / 470.2 MB, free: 15.93 MB / 458.7 MB Notification: Performance of Templates: time 0.01129/0.03679, allocations: 7.238 MB / 477.5 MB, free: 9.258 MB / 458.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=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.3701799092814326]