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.00135/0.00135, 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.0009601/0.0009601, allocations: 173 kB / 23.35 MB, free: 1.137 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.9493/0.9493, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7518/0.7518, allocations: 154.9 MB / 415.1 MB, free: 224 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.423e-06/1.423e-06, allocations: 0 / 480.5 MB, free: 6.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.601e-05, allocations: 4.562 kB / 480.5 MB, free: 6.406 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004495/0.004511, allocations: 4.192 MB / 484.7 MB, free: 2.254 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.006817, allocations: 2.451 MB / 487.1 MB, free: 15.82 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.00699, allocations: 9.031 kB / 487.1 MB, free: 15.81 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.007997, allocations: 0.5513 MB / 487.7 MB, free: 15.26 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.008269, allocations: 253.1 kB / 487.9 MB, free: 15.01 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.008418, allocations: 135.8 kB / 488 MB, free: 14.88 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000519/0.008936, allocations: 0.8454 MB / 488.9 MB, free: 14.03 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.009182, allocations: 222.4 kB / 489.1 MB, free: 13.8 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.009565, allocations: 471 kB / 489.6 MB, free: 13.34 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.009801, allocations: 251.3 kB / 489.8 MB, free: 13.1 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.789e-05/0.009859, allocations: 77.09 kB / 489.9 MB, free: 13.02 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.541e-05/0.009924, allocations: 72 kB / 490 MB, free: 12.95 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.01004, allocations: 179.3 kB / 490.1 MB, free: 12.78 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.0102, allocations: 260.4 kB / 490.4 MB, free: 12.52 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.01057, allocations: 0.5099 MB / 490.9 MB, free: 12.01 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.01057, allocations: 0 / 490.9 MB, free: 12.01 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01057, allocations: 0.7812 kB / 490.9 MB, free: 12.01 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.01058, allocations: 0 / 490.9 MB, free: 12.01 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.0007337/0.01131, allocations: 0.8535 MB / 491.7 MB, free: 11.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.01134, allocations: 12.03 kB / 491.8 MB, free: 11.13 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.01142, allocations: 89.45 kB / 491.8 MB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.0117, allocations: 289.4 kB / 492.1 MB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.01172, allocations: 37.38 kB / 492.2 MB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.01176, allocations: 48.38 kB / 492.2 MB, free: 10.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.01203, allocations: 290 kB / 492.5 MB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.01205, allocations: 4.141 kB / 492.5 MB, free: 10.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.01207, allocations: 25.03 kB / 492.5 MB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.01208, allocations: 15.92 kB / 492.5 MB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.01223, allocations: 134.9 kB / 492.7 MB, free: 10.19 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009095/0.01314, allocations: 0.861 MB / 493.5 MB, free: 9.324 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.01331, allocations: 171.1 kB / 493.7 MB, free: 9.148 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.01346, allocations: 158.1 kB / 493.9 MB, free: 8.992 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.01348, allocations: 8 kB / 493.9 MB, free: 8.984 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.0135, allocations: 45.03 kB / 493.9 MB, free: 8.934 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 1.353e-06/0.0135, allocations: 0 / 493.9 MB, free: 8.934 MB / 458.7 MB Notification: Performance of matching and sorting (n=42): time 0.000261/0.01376, allocations: 225.1 kB / 494.1 MB, free: 8.707 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.01379, allocations: 55.41 kB / 494.2 MB, free: 8.641 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.0141, allocations: 339.3 kB / 494.5 MB, free: 8.297 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.01412, allocations: 34.33 kB / 494.5 MB, free: 8.258 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/0.0142, allocations: 237.4 kB / 494.8 MB, free: 8.023 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.01428, allocations: 148.9 kB / 494.9 MB, free: 7.879 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.01434, allocations: 66.05 kB / 495 MB, free: 7.809 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.01443, allocations: 362.7 kB / 495.3 MB, free: 7.445 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.01448, allocations: 32.73 kB / 495.4 MB, free: 7.414 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.708e-05/0.01452, allocations: 45.23 kB / 495.4 MB, free: 7.371 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.01465, allocations: 130.7 kB / 495.5 MB, free: 7.242 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01465, allocations: 0 / 495.5 MB, free: 7.242 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001751/0.01482, allocations: 189 kB / 495.7 MB, free: 7.051 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.01483, allocations: 9.125 kB / 495.7 MB, free: 7.043 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.01484, allocations: 0 / 495.7 MB, free: 7.043 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.01485, allocations: 0 / 495.7 MB, free: 7.043 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.01526, allocations: 202.5 kB / 495.9 MB, free: 6.852 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.01526, allocations: 0.5 kB / 495.9 MB, free: 6.852 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.9e-05/0.01534, allocations: 28.47 kB / 496 MB, free: 6.824 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.01535, allocations: 8 kB / 496 MB, free: 6.816 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 9.139e-05/0.01545, allocations: 134.4 kB / 496.1 MB, free: 6.676 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.01549, allocations: 39.95 kB / 496.1 MB, free: 6.637 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.244e-05/0.01554, allocations: 56.81 kB / 496.2 MB, free: 6.578 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01554, allocations: 5.641 kB / 496.2 MB, free: 6.574 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.01555, allocations: 5.844 kB / 496.2 MB, free: 6.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01555, allocations: 3.984 kB / 496.2 MB, free: 6.566 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.01581, allocations: 293.4 kB / 496.5 MB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01581, allocations: 0 / 496.5 MB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.01618, allocations: 201.1 kB / 496.7 MB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.01618, allocations: 9.75 kB / 496.7 MB, free: 6.066 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.0162, allocations: 4 kB / 496.7 MB, free: 6.062 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.0162, allocations: 5.281 kB / 496.7 MB, free: 6.059 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.0162, allocations: 0 / 496.7 MB, free: 6.059 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.01649, allocations: 360.1 kB / 497.1 MB, free: 5.691 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.01656, allocations: 56.33 kB / 497.1 MB, free: 5.637 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.01661, allocations: 15.98 kB / 497.1 MB, free: 5.621 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.01673, allocations: 8.906 kB / 497.1 MB, free: 5.613 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.01677, allocations: 23.95 kB / 497.2 MB, free: 5.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.01678, allocations: 8 kB / 497.2 MB, free: 5.582 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.01689, allocations: 149.6 kB / 497.3 MB, free: 5.438 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01689, allocations: 0 / 497.3 MB, free: 5.438 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.01711, allocations: 149.1 kB / 497.5 MB, free: 5.293 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 7.759e-05/0.01718, allocations: 88.36 kB / 497.6 MB, free: 5.195 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.01735, allocations: 165.1 kB / 497.7 MB, free: 5.031 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.01735, allocations: 4 kB / 497.7 MB, free: 5.027 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.01744, allocations: 106.5 kB / 497.8 MB, free: 4.922 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.01775, allocations: 119.1 kB / 497.9 MB, free: 4.812 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.01887, allocations: 0.9676 MB / 498.9 MB, free: 3.844 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.204e-05/0.01895, allocations: 136.4 kB / 499 MB, free: 3.691 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000116/0.01907, allocations: 45.34 kB / 499.1 MB, free: 3.648 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.01927, allocations: 147.1 kB / 499.2 MB, free: 3.504 MB / 458.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01927, allocations: 0 / 499.2 MB, free: 3.504 MB / 458.7 MB Notification: Performance of Templates: time 0.008407/0.02768, allocations: 6.18 MB / 0.4936 GB, free: 13.82 MB / 474.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 -s gbode -gbm=radauIIA3 -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.570257430896163]