Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009441/0.0009441, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.00213, 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.001009/0.001009, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.002195, 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.8878/0.8878, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07461/0.9624, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7321/0.7321, allocations: 155.3 MB / 399.3 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.2259/0.9581, allocations: 49.13 MB / 448.4 MB, free: 6.027 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-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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 449.7 MB, free: 4.719 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.487e-05, allocations: 3.562 kB / 449.7 MB, free: 4.715 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003133/0.003148, allocations: 3.121 MB / 452.8 MB, free: 1.645 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.00532, allocations: 2.179 MB / 455 MB, free: 15.47 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.005481, allocations: 12.56 kB / 455 MB, free: 15.46 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009349/0.006416, allocations: 499.8 kB / 455.5 MB, free: 14.97 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.006608, allocations: 153 kB / 455.7 MB, free: 14.82 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.541e-05/0.006694, allocations: 59.92 kB / 455.7 MB, free: 14.77 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.007025, allocations: 464.6 kB / 456.2 MB, free: 14.31 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.007182, allocations: 108.2 kB / 456.3 MB, free: 14.2 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.007512, allocations: 324.4 kB / 456.6 MB, free: 13.89 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.007663, allocations: 136.4 kB / 456.7 MB, free: 13.75 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.007696, allocations: 36 kB / 456.8 MB, free: 13.72 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.542e-05/0.007731, allocations: 32.66 kB / 456.8 MB, free: 13.69 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.007804, allocations: 83.73 kB / 456.9 MB, free: 13.61 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.758e-05/0.007901, allocations: 120.6 kB / 457 MB, free: 13.49 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.008141, allocations: 278.9 kB / 457.3 MB, free: 13.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.008153, allocations: 0.625 kB / 457.3 MB, free: 13.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.008154, allocations: 3.938 kB / 457.3 MB, free: 13.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.00817, allocations: 1.5 kB / 457.3 MB, free: 13.21 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009212/0.009092, allocations: 0.6861 MB / 458 MB, free: 12.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.009119, allocations: 8.031 kB / 458 MB, free: 12.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.009172, allocations: 40.91 kB / 458 MB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.009416, allocations: 248.9 kB / 458.3 MB, free: 12.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.00943, allocations: 18.06 kB / 458.3 MB, free: 12.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.00946, allocations: 20.38 kB / 458.3 MB, free: 12.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.009626, allocations: 153.3 kB / 458.4 MB, free: 12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.009636, allocations: 0.8125 kB / 458.4 MB, free: 12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.009648, allocations: 8.375 kB / 458.5 MB, free: 11.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.009656, allocations: 12.53 kB / 458.5 MB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.009735, allocations: 58.11 kB / 458.5 MB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.01026, allocations: 448.5 kB / 459 MB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.01037, allocations: 82.42 kB / 459 MB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.01042, allocations: 45.66 kB / 459.1 MB, free: 11.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.01043, allocations: 4 kB / 459.1 MB, free: 11.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.01045, allocations: 35.78 kB / 459.1 MB, free: 11.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.01045, allocations: 0 / 459.1 MB, free: 11.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001712/0.01062, allocations: 111.6 kB / 459.2 MB, free: 11.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.01065, allocations: 60.12 kB / 459.3 MB, free: 11.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.01084, allocations: 311.4 kB / 459.6 MB, free: 10.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.01085, allocations: 30.61 kB / 459.6 MB, free: 10.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.01092, allocations: 169.3 kB / 459.8 MB, free: 10.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.01096, allocations: 68.41 kB / 459.9 MB, free: 10.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.011, allocations: 29.7 kB / 459.9 MB, free: 10.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.01109, allocations: 354.7 kB / 460.2 MB, free: 10.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.01112, allocations: 16.62 kB / 460.3 MB, free: 10.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.01114, allocations: 19.53 kB / 460.3 MB, free: 10.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.17e-05/0.0112, allocations: 61 kB / 460.3 MB, free: 10.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.0112, allocations: 0 / 460.3 MB, free: 10.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 9.712e-05/0.0113, allocations: 107.8 kB / 460.4 MB, free: 9.922 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.01131, allocations: 4.5 kB / 460.4 MB, free: 9.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01132, allocations: 1.375 kB / 460.4 MB, free: 9.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.01133, allocations: 4 kB / 460.4 MB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.01159, allocations: 86.38 kB / 460.5 MB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.01159, allocations: 4.703 kB / 460.5 MB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.01165, allocations: 8 kB / 460.5 MB, free: 9.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.01166, allocations: 8.906 kB / 460.6 MB, free: 9.812 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 (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.831e-05/0.01173, allocations: 116.7 kB / 460.7 MB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.01176, allocations: 24.97 kB / 460.7 MB, free: 9.664 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.01181, allocations: 35.41 kB / 460.7 MB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01181, allocations: 4.906 kB / 460.7 MB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01182, allocations: 3.938 kB / 460.7 MB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01182, allocations: 0 / 460.7 MB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.012, allocations: 190.3 kB / 460.9 MB, free: 9.422 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.012, allocations: 0 / 460.9 MB, free: 9.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.01218, allocations: 91.95 kB / 461 MB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.01222, allocations: 31.7 kB / 461 MB, free: 9.305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01222, allocations: 4.594 kB / 461 MB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.01224, allocations: 8 kB / 461.1 MB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01224, allocations: 0.7188 kB / 461.1 MB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01224, allocations: 0 / 461.1 MB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.01243, allocations: 230.1 kB / 461.3 MB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.01245, allocations: 3.938 kB / 461.3 MB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.319e-05/0.01252, allocations: 8 kB / 461.3 MB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.01255, allocations: 12.56 kB / 461.3 MB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.01256, allocations: 9.438 kB / 461.3 MB, free: 9.023 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.227e-05/0.01265, allocations: 124.7 kB / 461.4 MB, free: 8.902 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01265, allocations: 0 / 461.4 MB, free: 8.902 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.01281, allocations: 75.84 kB / 461.5 MB, free: 8.828 MB / 442.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 8.097e-05/0.0129, allocations: 90.23 kB / 461.6 MB, free: 8.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.013, allocations: 71.3 kB / 461.7 MB, free: 8.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/0.01301, allocations: 9.016 kB / 461.7 MB, free: 8.652 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.132e-05/0.01305, allocations: 46.19 kB / 461.7 MB, free: 8.605 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.01334, allocations: 116 kB / 461.8 MB, free: 8.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/0.01695, allocations: 0.6344 MB / 462.5 MB, free: 7.844 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.017e-05/0.01702, allocations: 110.1 kB / 462.6 MB, free: 7.719 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.01713, allocations: 26.47 kB / 462.6 MB, free: 7.691 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.01729, allocations: 113.3 kB / 462.7 MB, free: 7.582 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01729, allocations: 0 / 462.7 MB, free: 7.582 MB / 442.7 MB Notification: Performance of Templates: time 0.00667/0.02396, allocations: 4.469 MB / 467.2 MB, free: 3.543 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.176570374518633]