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.0008749/0.0008749, allocations: 80.53 kB / 19.93 MB, free: 4.605 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.0008288/0.0008288, allocations: 181.2 kB / 23.22 MB, free: 1.316 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.9124/0.9124, allocations: 177.1 MB / 203.5 MB, free: 5.746 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-531:686: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-531:694: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.7285/0.7285, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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.813e-06/1.813e-06, allocations: 0 / 0.6194 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.357e-05, allocations: 2.844 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003479/0.003512, allocations: 2.845 MB / 0.6222 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.005675, allocations: 1.962 MB / 0.6241 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.005842, allocations: 8 kB / 0.6241 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.006925, allocations: 465.6 kB / 0.6245 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.007111, allocations: 158.7 kB / 0.6247 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.007213, allocations: 63.92 kB / 0.6248 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.007566, allocations: 461.6 kB / 0.6252 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.007756, allocations: 95.8 kB / 0.6253 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.008096, allocations: 255.3 kB / 0.6255 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.008265, allocations: 127.6 kB / 0.6256 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.008303, allocations: 36 kB / 0.6257 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.78e-05/0.008341, allocations: 32 kB / 0.6257 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.008449, allocations: 99.61 kB / 0.6258 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.00856, allocations: 139.7 kB / 0.6259 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.008997, allocations: 0.5439 MB / 0.6265 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.009002, allocations: 0 / 0.6265 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.953e-06/0.009004, allocations: 0 / 0.6265 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.009011, allocations: 0 / 0.6265 GB, free: 5.836 MB / 0.5886 GB 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.0008532/0.009865, allocations: 0.6291 MB / 0.6271 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.009909, allocations: 11.97 kB / 0.6271 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.009978, allocations: 52.66 kB / 0.6271 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.01043, allocations: 323.7 kB / 0.6275 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.01045, allocations: 16.88 kB / 0.6275 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.01049, allocations: 24.38 kB / 0.6275 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.01079, allocations: 196.7 kB / 0.6277 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.0108, allocations: 192 / 0.6277 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.01082, allocations: 8.375 kB / 0.6277 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.01083, allocations: 15.92 kB / 0.6277 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.01109, allocations: 165.9 kB / 0.6279 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008083/0.01189, allocations: 0.6364 MB / 0.6285 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.01212, allocations: 138.5 kB / 0.6286 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.01226, allocations: 112.8 kB / 0.6287 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.01227, allocations: 0 / 0.6287 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.0123, allocations: 34.56 kB / 0.6288 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.0123, allocations: 0 / 0.6288 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0004046/0.0127, allocations: 247.8 kB / 0.629 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.01275, allocations: 63.3 kB / 0.6291 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.01307, allocations: 389.7 kB / 0.6294 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.01309, allocations: 33.7 kB / 0.6295 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.01343, allocations: 212.4 kB / 0.6297 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.01349, allocations: 63.44 kB / 0.6297 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.01353, allocations: 29.7 kB / 0.6298 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.01363, allocations: 346.8 kB / 0.6301 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/0.01372, allocations: 59.97 kB / 0.6301 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.0138, allocations: 58.19 kB / 0.6302 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.01398, allocations: 133.8 kB / 0.6303 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01399, allocations: 4 kB / 0.6303 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002423/0.01423, allocations: 207.9 kB / 0.6305 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.01425, allocations: 8 kB / 0.6305 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.01426, allocations: 0 / 0.6305 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.01428, allocations: 3.984 kB / 0.6305 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.01444, allocations: 51.91 kB / 0.6306 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01445, allocations: 4 kB / 0.6306 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.222e-05/0.01452, allocations: 27.75 kB / 0.6306 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.01453, allocations: 8 kB / 0.6306 GB, free: 1.418 MB / 0.5886 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 (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 0.0001214/0.01465, allocations: 157.8 kB / 0.6308 GB, free: 1.254 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.01469, allocations: 31.81 kB / 0.6308 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.01474, allocations: 43.39 kB / 0.6308 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.01474, allocations: 0 / 0.6308 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.01475, allocations: 0 / 0.6308 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01475, allocations: 0 / 0.6308 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.015, allocations: 273 kB / 0.6311 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.015, allocations: 0 / 0.6311 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.01515, allocations: 71.89 kB / 0.6312 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01516, allocations: 0 / 0.6312 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.01517, allocations: 4 kB / 0.6312 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.01517, allocations: 4 kB / 0.6312 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.01517, allocations: 0 / 0.6312 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.01558, allocations: 373.7 kB / 0.6315 GB, free: 440 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.01563, allocations: 43.73 kB / 0.6316 GB, free: 396 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.01566, allocations: 7.984 kB / 0.6316 GB, free: 388 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.01574, allocations: 12.06 kB / 0.6316 GB, free: 376 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.01579, allocations: 15.91 kB / 0.6316 GB, free: 360 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.0158, allocations: 8 kB / 0.6316 GB, free: 352 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002079/0.01601, allocations: 283.2 kB / 0.6319 GB, free: 68 kB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01601, allocations: 0 / 0.6319 GB, free: 68 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002184/0.01622, allocations: 76 kB / 0.632 GB, free: 15.99 MB / 0.6042 GB 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 0.0001465/0.01637, allocations: 115.2 kB / 0.6321 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.01663, allocations: 139.9 kB / 0.6322 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01663, allocations: 4 kB / 0.6322 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.01672, allocations: 67.91 kB / 0.6323 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.01711, allocations: 81.38 kB / 0.6324 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.01805, allocations: 0.7046 MB / 0.633 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.01819, allocations: 186.2 kB / 0.6332 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.01825, allocations: 28.5 kB / 0.6332 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.01825, allocations: 4 kB / 0.6333 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.005355/0.0236, allocations: 4.354 MB / 0.6375 GB, free: 10.3 MB / 0.6042 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.741460785269737] Failed to read output from testmodel.py, exit status != 0: 0.03076591994613409 0.040294493 0.029239760000000004 Calling exit ...