Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.0008802/0.0008802, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009063/0.0009063, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9472/0.9472, allocations: 177.2 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7833/0.7833, allocations: 154.6 MB / 414.8 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 480.1 MB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.647e-05, allocations: 3.078 kB / 480.1 MB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004662/0.004679, allocations: 3.108 MB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003237/0.007916, allocations: 2.157 MB / 485.4 MB, free: 1.582 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.008134, allocations: 4 kB / 485.4 MB, free: 1.578 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.009587, allocations: 0.4921 MB / 485.9 MB, free: 1.086 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.009936, allocations: 156.8 kB / 486 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.01005, allocations: 57.31 kB / 486.1 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.0104, allocations: 464.5 kB / 486.5 MB, free: 436 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.01055, allocations: 105.2 kB / 486.6 MB, free: 324 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.0108, allocations: 247.9 kB / 486.9 MB, free: 76 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.01098, allocations: 135.8 kB / 487 MB, free: 15.94 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.01101, allocations: 32.91 kB / 487 MB, free: 15.91 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.587e-05/0.01105, allocations: 39.94 kB / 487.1 MB, free: 15.87 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.01113, allocations: 100.6 kB / 487.2 MB, free: 15.77 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.846e-05/0.01123, allocations: 143.7 kB / 487.3 MB, free: 15.63 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.01148, allocations: 287 kB / 487.6 MB, free: 15.35 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.01148, allocations: 0.625 kB / 487.6 MB, free: 15.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01148, allocations: 0 / 487.6 MB, free: 15.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.01148, allocations: 1.312 kB / 487.6 MB, free: 15.35 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005706/0.01205, allocations: 0.6051 MB / 488.2 MB, free: 14.72 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.01208, allocations: 11.97 kB / 488.2 MB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.01213, allocations: 45.97 kB / 488.3 MB, free: 14.67 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.01236, allocations: 244.8 kB / 488.5 MB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.01238, allocations: 16.88 kB / 488.5 MB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.0124, allocations: 25.09 kB / 488.5 MB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.01257, allocations: 149.3 kB / 488.7 MB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.01258, allocations: 4.781 kB / 488.7 MB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.01259, allocations: 4.375 kB / 488.7 MB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.01259, allocations: 8.562 kB / 488.7 MB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.679e-05/0.01268, allocations: 70.2 kB / 488.8 MB, free: 14.13 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.01319, allocations: 454 kB / 489.2 MB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.01329, allocations: 82.44 kB / 489.3 MB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.01334, allocations: 44.83 kB / 489.3 MB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.01335, allocations: 4.656 kB / 489.3 MB, free: 13.53 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.01337, allocations: 39.34 kB / 489.4 MB, free: 13.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.072e-06/0.01337, allocations: 0 / 489.4 MB, free: 13.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001587/0.01353, allocations: 111.5 kB / 489.5 MB, free: 13.37 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.01355, allocations: 56.91 kB / 489.6 MB, free: 13.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.01373, allocations: 307.4 kB / 489.9 MB, free: 13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.01374, allocations: 29.7 kB / 489.9 MB, free: 12.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.0138, allocations: 165.3 kB / 490 MB, free: 12.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.01386, allocations: 68.17 kB / 490.1 MB, free: 12.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.01389, allocations: 33.69 kB / 490.1 MB, free: 12.69 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.01398, allocations: 351.2 kB / 490.5 MB, free: 12.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.01401, allocations: 16.59 kB / 490.5 MB, free: 12.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.01403, allocations: 20.5 kB / 490.5 MB, free: 12.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.094e-05/0.01409, allocations: 61.03 kB / 490.6 MB, free: 12.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01409, allocations: 0 / 490.6 MB, free: 12.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001018/0.0142, allocations: 97.59 kB / 490.7 MB, free: 12.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.01421, allocations: 8.938 kB / 490.7 MB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01421, allocations: 0 / 490.7 MB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.01422, allocations: 1.406 kB / 490.7 MB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.01445, allocations: 94.27 kB / 490.8 MB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.01445, allocations: 0 / 490.8 MB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.444e-05/0.01451, allocations: 16.42 kB / 490.8 MB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.01451, allocations: 9.891 kB / 490.8 MB, free: 12.02 MB / 458.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 (20): * Single equations (assignments): 20 * 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 7.337e-05/0.01459, allocations: 112.7 kB / 490.9 MB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.01462, allocations: 23.98 kB / 490.9 MB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.01466, allocations: 39.39 kB / 491 MB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01466, allocations: 4 kB / 491 MB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.01467, allocations: 5.938 kB / 491 MB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01467, allocations: 0 / 491 MB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.01485, allocations: 189.5 kB / 491.2 MB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.01485, allocations: 0 / 491.2 MB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.01502, allocations: 81.61 kB / 491.2 MB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01503, allocations: 0 / 491.2 MB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.01504, allocations: 11.94 kB / 491.3 MB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01504, allocations: 1.281 kB / 491.3 MB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.01504, allocations: 4 kB / 491.3 MB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.01522, allocations: 233.9 kB / 491.5 MB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.01525, allocations: 29.69 kB / 491.5 MB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.01527, allocations: 11.92 kB / 491.5 MB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.01534, allocations: 4 kB / 491.5 MB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.01537, allocations: 11.98 kB / 491.6 MB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.01537, allocations: 0 / 491.6 MB, free: 11.24 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.398e-05/0.01546, allocations: 133.7 kB / 491.7 MB, free: 11.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01546, allocations: 0 / 491.7 MB, free: 11.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.01563, allocations: 80.44 kB / 491.8 MB, free: 11.03 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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 7.594e-05/0.0157, allocations: 87.34 kB / 491.8 MB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.01581, allocations: 74.39 kB / 491.9 MB, free: 10.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.01581, allocations: 4 kB / 491.9 MB, free: 10.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.01585, allocations: 46.17 kB / 492 MB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.01611, allocations: 95.27 kB / 492.1 MB, free: 10.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000789/0.0169, allocations: 0.632 MB / 492.7 MB, free: 10.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.559e-05/0.01695, allocations: 100.6 kB / 492.8 MB, free: 9.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.389e-05/0.01703, allocations: 30.64 kB / 492.8 MB, free: 9.957 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.01717, allocations: 118.3 kB / 492.9 MB, free: 9.844 MB / 458.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01717, allocations: 0 / 492.9 MB, free: 9.844 MB / 458.7 MB Notification: Performance of Templates: time 0.005838/0.02301, allocations: 4.216 MB / 497.2 MB, free: 6.012 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5248845196329057]