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.0007225/0.0007225, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009897/0.001712, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006943/0.0006943, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009413/0.001636, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9262/0.9262, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0872/1.013, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7255/0.7255, allocations: 154.6 MB / 398.5 MB, free: 0.5273 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2431/0.9686, allocations: 49.04 MB / 447.6 MB, free: 6.719 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/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.252e-06/1.252e-06, allocations: 0 / 448.9 MB, free: 5.398 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.091e-05, allocations: 4.281 kB / 448.9 MB, free: 5.395 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003688/0.003709, allocations: 4.207 MB / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.00589, allocations: 2.468 MB / 455.6 MB, free: 14.78 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.006031, allocations: 9.156 kB / 455.6 MB, free: 14.77 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008247/0.006856, allocations: 0.5305 MB / 456.1 MB, free: 14.24 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.007084, allocations: 249 kB / 456.4 MB, free: 14 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.007208, allocations: 147.7 kB / 456.5 MB, free: 13.85 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004765/0.007685, allocations: 0.8485 MB / 457.4 MB, free: 13 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.007917, allocations: 227.6 kB / 457.6 MB, free: 12.78 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.008346, allocations: 0.5369 MB / 458.1 MB, free: 12.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.008592, allocations: 247.3 kB / 458.4 MB, free: 12 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-05/0.008668, allocations: 76.91 kB / 458.4 MB, free: 11.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.008735, allocations: 76 kB / 458.5 MB, free: 11.86 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.922e-05/0.008834, allocations: 139.5 kB / 458.7 MB, free: 11.72 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004532/0.009287, allocations: 228.5 kB / 458.9 MB, free: 11.5 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.009716, allocations: 486.2 kB / 459.4 MB, free: 11.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.009727, allocations: 0.9062 kB / 459.4 MB, free: 11.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.009728, allocations: 0 / 459.4 MB, free: 11.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.009742, allocations: 3.938 kB / 459.4 MB, free: 11.02 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.0008123/0.01055, allocations: 1.001 MB / 460.4 MB, free: 9.996 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.495e-05/0.01058, allocations: 9.812 kB / 460.4 MB, free: 9.988 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.01065, allocations: 88.86 kB / 460.5 MB, free: 9.902 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.01092, allocations: 291.6 kB / 460.7 MB, free: 9.594 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.01094, allocations: 38.12 kB / 460.8 MB, free: 9.559 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.01098, allocations: 48.38 kB / 460.8 MB, free: 9.512 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.01124, allocations: 288.6 kB / 461.1 MB, free: 9.223 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.01125, allocations: 192 / 461.1 MB, free: 9.223 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.01127, allocations: 21.92 kB / 461.1 MB, free: 9.203 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.01128, allocations: 16.56 kB / 461.1 MB, free: 9.188 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.01142, allocations: 137.2 kB / 461.3 MB, free: 9.055 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/0.01226, allocations: 0.8633 MB / 462.1 MB, free: 8.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.01241, allocations: 161.2 kB / 462.3 MB, free: 8.012 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.01255, allocations: 155.4 kB / 462.4 MB, free: 7.859 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.01256, allocations: 8 kB / 462.5 MB, free: 7.852 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.01258, allocations: 47.88 kB / 462.5 MB, free: 7.797 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 1.443e-06/0.01258, allocations: 0 / 462.5 MB, free: 7.797 MB / 442.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002295/0.01281, allocations: 222 kB / 462.7 MB, free: 7.574 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.01284, allocations: 59.41 kB / 462.8 MB, free: 7.504 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.01302, allocations: 344.4 kB / 463.1 MB, free: 7.156 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.01304, allocations: 37.7 kB / 463.1 MB, free: 7.113 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.01312, allocations: 221.5 kB / 463.4 MB, free: 6.891 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.35e-05/0.01319, allocations: 159.9 kB / 463.5 MB, free: 6.734 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.01324, allocations: 62.05 kB / 463.6 MB, free: 6.668 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.01333, allocations: 362.7 kB / 463.9 MB, free: 6.305 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.01336, allocations: 33.61 kB / 464 MB, free: 6.273 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.202e-05/0.01341, allocations: 45.42 kB / 464 MB, free: 6.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.01352, allocations: 133 kB / 464.1 MB, free: 6.098 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01352, allocations: 1.188 kB / 464.1 MB, free: 6.098 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001549/0.01367, allocations: 185.1 kB / 464.3 MB, free: 5.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.01368, allocations: 8 kB / 464.3 MB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.01369, allocations: 0.75 kB / 464.3 MB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.01369, allocations: 4 kB / 464.3 MB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.0141, allocations: 206.6 kB / 464.5 MB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.01411, allocations: 4 kB / 464.5 MB, free: 5.703 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.01418, allocations: 27.78 kB / 464.6 MB, free: 5.676 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.01419, allocations: 8.969 kB / 464.6 MB, free: 5.668 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.654e-05/0.01428, allocations: 140.5 kB / 464.7 MB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.01431, allocations: 36.5 kB / 464.8 MB, free: 5.484 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.313e-05/0.01437, allocations: 54.73 kB / 464.8 MB, free: 5.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01437, allocations: 4 kB / 464.8 MB, free: 5.426 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.01437, allocations: 7.984 kB / 464.8 MB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01438, allocations: 1.062 kB / 464.8 MB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.01461, allocations: 293.4 kB / 465.1 MB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01461, allocations: 0 / 465.1 MB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.01497, allocations: 206.7 kB / 465.3 MB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.01501, allocations: 47.59 kB / 465.4 MB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01501, allocations: 0.5625 kB / 465.4 MB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.01503, allocations: 13.09 kB / 465.4 MB, free: 4.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01503, allocations: 3.984 kB / 465.4 MB, free: 4.859 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01503, allocations: 0 / 465.4 MB, free: 4.859 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.0153, allocations: 381.5 kB / 465.7 MB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.01533, allocations: 8 kB / 465.8 MB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.114e-05/0.01541, allocations: 8 kB / 465.8 MB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.01545, allocations: 27.94 kB / 465.8 MB, free: 4.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.01546, allocations: 8.719 kB / 465.8 MB, free: 4.422 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.567e-05/0.01555, allocations: 152.7 kB / 465.9 MB, free: 4.273 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01555, allocations: 2.219 kB / 465.9 MB, free: 4.273 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004348/0.01599, allocations: 143.7 kB / 466.1 MB, free: 4.133 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 8.097e-05/0.01607, allocations: 92.36 kB / 466.2 MB, free: 4.035 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.01622, allocations: 160.2 kB / 466.3 MB, free: 3.875 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.01623, allocations: 9.125 kB / 466.3 MB, free: 3.867 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.048e-05/0.0163, allocations: 92.69 kB / 466.4 MB, free: 3.773 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.01659, allocations: 159.8 kB / 466.6 MB, free: 3.625 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.0221, allocations: 1.022 MB / 467.6 MB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.082e-05/0.02217, allocations: 133.6 kB / 467.7 MB, free: 2.422 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.02228, allocations: 54.09 kB / 467.8 MB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.02246, allocations: 145.3 kB / 467.9 MB, free: 2.234 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02246, allocations: 1.844 kB / 467.9 MB, free: 2.234 MB / 442.7 MB Notification: Performance of Templates: time 0.008294/0.03075, allocations: 6.534 MB / 474.5 MB, free: 12.24 MB / 458.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.293354496359825]