Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001298/0.001298, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001541/0.001541, allocations: 177 kB / 23.36 MB, free: 1.133 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.9238/0.9238, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.7535/0.7535, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 480.1 MB, free: 6.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.207e-05, allocations: 10.03 kB / 480.1 MB, free: 6.887 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005344/0.005366, allocations: 4.151 MB / 484.2 MB, free: 2.773 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.008562, allocations: 2.44 MB / 486.7 MB, free: 352 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.00877, allocations: 12 kB / 486.7 MB, free: 340 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.01009, allocations: 0.5186 MB / 487.2 MB, free: 15.81 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.01051, allocations: 253.3 kB / 487.4 MB, free: 15.57 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.01073, allocations: 143.8 kB / 487.6 MB, free: 15.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007386/0.01147, allocations: 0.8375 MB / 488.4 MB, free: 14.59 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.01181, allocations: 225.5 kB / 488.6 MB, free: 14.36 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005289/0.01234, allocations: 467.6 kB / 489.1 MB, free: 13.9 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.01267, allocations: 255.9 kB / 489.3 MB, free: 13.65 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.984e-05/0.01276, allocations: 72 kB / 489.4 MB, free: 13.58 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.01286, allocations: 76.59 kB / 489.5 MB, free: 13.51 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.01301, allocations: 176.8 kB / 489.7 MB, free: 13.34 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.01327, allocations: 263.4 kB / 489.9 MB, free: 13.08 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005345/0.0138, allocations: 0.506 MB / 490.4 MB, free: 12.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.0138, allocations: 0 / 490.4 MB, free: 12.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.0138, allocations: 0.6875 kB / 490.4 MB, free: 12.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.01381, allocations: 0 / 490.4 MB, free: 12.57 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001075/0.01488, allocations: 0.8576 MB / 491.3 MB, free: 11.69 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.01492, allocations: 8.031 kB / 491.3 MB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.01504, allocations: 90.98 kB / 491.4 MB, free: 11.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.01544, allocations: 295.6 kB / 491.7 MB, free: 11.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.01547, allocations: 37.38 kB / 491.7 MB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-05/0.01554, allocations: 49.78 kB / 491.7 MB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.01595, allocations: 293 kB / 492 MB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.01597, allocations: 4.141 kB / 492 MB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.01601, allocations: 20.38 kB / 492.1 MB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.01602, allocations: 15.94 kB / 492.1 MB, free: 10.87 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.01627, allocations: 131.5 kB / 492.2 MB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.01761, allocations: 0.8568 MB / 493.1 MB, free: 9.879 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.01785, allocations: 156.6 kB / 493.2 MB, free: 9.715 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.01808, allocations: 158.3 kB / 493.4 MB, free: 9.559 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.0181, allocations: 8 kB / 493.4 MB, free: 9.551 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.01813, allocations: 44.06 kB / 493.4 MB, free: 9.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 2.174e-06/0.01813, allocations: 0 / 493.4 MB, free: 9.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003901/0.01852, allocations: 222.3 kB / 493.6 MB, free: 9.277 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.01855, allocations: 55.41 kB / 493.7 MB, free: 9.211 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.01887, allocations: 347.3 kB / 494 MB, free: 8.859 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.01889, allocations: 30.33 kB / 494.1 MB, free: 8.824 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.01901, allocations: 235.7 kB / 494.3 MB, free: 8.594 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.01913, allocations: 154.6 kB / 494.4 MB, free: 8.441 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.01922, allocations: 66.03 kB / 494.5 MB, free: 8.367 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.01934, allocations: 358.7 kB / 494.9 MB, free: 8.008 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.01942, allocations: 36.73 kB / 494.9 MB, free: 7.973 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.01949, allocations: 45.22 kB / 494.9 MB, free: 7.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.01969, allocations: 131.5 kB / 495.1 MB, free: 7.801 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.01969, allocations: 0 / 495.1 MB, free: 7.801 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002763/0.01997, allocations: 189 kB / 495.2 MB, free: 7.609 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.01998, allocations: 5.188 kB / 495.3 MB, free: 7.605 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.01999, allocations: 1.078 kB / 495.3 MB, free: 7.605 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.02, allocations: 4 kB / 495.3 MB, free: 7.602 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.02039, allocations: 128.7 kB / 495.4 MB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.0204, allocations: 1.344 kB / 495.4 MB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.02053, allocations: 35.72 kB / 495.4 MB, free: 7.441 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.02055, allocations: 8 kB / 495.4 MB, free: 7.434 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 (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.0001262/0.02068, allocations: 125.2 kB / 495.5 MB, free: 7.301 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.02075, allocations: 45.8 kB / 495.6 MB, free: 7.258 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.806e-05/0.02083, allocations: 52.81 kB / 495.6 MB, free: 7.207 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.02083, allocations: 4 kB / 495.6 MB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.02084, allocations: 0 / 495.6 MB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.02084, allocations: 7.922 kB / 495.7 MB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.02126, allocations: 299.1 kB / 495.9 MB, free: 6.887 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.02126, allocations: 0 / 495.9 MB, free: 6.887 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.02168, allocations: 123.9 kB / 496.1 MB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.02169, allocations: 0.6094 kB / 496.1 MB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.02171, allocations: 9.406 kB / 496.1 MB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.02171, allocations: 3.938 kB / 496.1 MB, free: 6.754 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02171, allocations: 0 / 496.1 MB, free: 6.754 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.02216, allocations: 359.8 kB / 496.4 MB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.02224, allocations: 55.48 kB / 496.5 MB, free: 6.332 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.02229, allocations: 12.83 kB / 496.5 MB, free: 6.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.02244, allocations: 8 kB / 496.5 MB, free: 6.312 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.02249, allocations: 25.64 kB / 496.5 MB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.02251, allocations: 8 kB / 496.5 MB, free: 6.281 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.02268, allocations: 149.9 kB / 496.7 MB, free: 6.133 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02268, allocations: 0 / 496.7 MB, free: 6.133 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003866/0.02307, allocations: 147.7 kB / 496.8 MB, free: 5.988 MB / 458.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 0.0001286/0.0232, allocations: 93.23 kB / 496.9 MB, free: 5.887 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.02346, allocations: 169.1 kB / 497.1 MB, free: 5.719 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.02347, allocations: 5.25 kB / 497.1 MB, free: 5.715 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.0236, allocations: 108.6 kB / 497.2 MB, free: 5.605 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.02406, allocations: 104.6 kB / 497.3 MB, free: 5.512 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.02567, allocations: 0.9623 MB / 498.3 MB, free: 4.547 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.02578, allocations: 133.6 kB / 498.4 MB, free: 4.398 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.02594, allocations: 48.02 kB / 498.4 MB, free: 4.355 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.02617, allocations: 131.3 kB / 498.6 MB, free: 4.227 MB / 458.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02618, allocations: 0 / 498.6 MB, free: 4.227 MB / 458.7 MB Notification: Performance of Templates: time 0.01057/0.03674, allocations: 5.342 MB / 0.4921 GB, free: 15.33 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5449544060975313]