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.001235/0.001235, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00141/0.00141, allocations: 177 kB / 23.36 MB, free: 1.129 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.9196/0.9196, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8373/0.8373, allocations: 154.9 MB / 415.1 MB, free: 232 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.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.282e-06/1.282e-06, allocations: 0.6562 kB / 480.5 MB, free: 6.426 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.191e-05, allocations: 2.312 kB / 480.5 MB, free: 6.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002971/0.002983, allocations: 3.11 MB / 483.6 MB, free: 3.359 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.005147, allocations: 2.159 MB / 485.7 MB, free: 1.211 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.00528, allocations: 8.531 kB / 485.7 MB, free: 1.203 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.006291, allocations: 0.5084 MB / 486.2 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.006472, allocations: 144.4 kB / 486.4 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.336e-05/0.006555, allocations: 63.92 kB / 486.5 MB, free: 0.4922 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.006879, allocations: 461 kB / 486.9 MB, free: 44 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.007046, allocations: 108.6 kB / 487 MB, free: 15.93 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.007299, allocations: 251.4 kB / 487.3 MB, free: 15.69 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.007459, allocations: 135.6 kB / 487.4 MB, free: 15.55 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.007491, allocations: 33.03 kB / 487.4 MB, free: 15.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.563e-05/0.007527, allocations: 36 kB / 487.5 MB, free: 15.49 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.007604, allocations: 104.3 kB / 487.6 MB, free: 15.39 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.239e-05/0.007696, allocations: 139.7 kB / 487.7 MB, free: 15.25 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.007935, allocations: 295.7 kB / 488 MB, free: 14.96 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.007936, allocations: 0 / 488 MB, free: 14.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.007937, allocations: 0 / 488 MB, free: 14.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.007941, allocations: 1.156 kB / 488 MB, free: 14.96 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005455/0.008486, allocations: 0.6013 MB / 488.6 MB, free: 14.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.008515, allocations: 12.03 kB / 488.6 MB, free: 14.33 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.008566, allocations: 45.64 kB / 488.6 MB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.008875, allocations: 248.8 kB / 488.9 MB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.008895, allocations: 18.03 kB / 488.9 MB, free: 14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.008931, allocations: 16.38 kB / 488.9 MB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.009115, allocations: 153.3 kB / 489.1 MB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.009124, allocations: 1.094 kB / 489.1 MB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.009139, allocations: 12.38 kB / 489.1 MB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.009146, allocations: 8.812 kB / 489.1 MB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.009227, allocations: 57.45 kB / 489.1 MB, free: 13.76 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.009745, allocations: 450.5 kB / 489.6 MB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.009846, allocations: 79.14 kB / 489.7 MB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.009897, allocations: 51.05 kB / 489.7 MB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.009907, allocations: 4.656 kB / 489.7 MB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.009925, allocations: 34.56 kB / 489.7 MB, free: 13.11 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.009926, allocations: 0.7812 kB / 489.7 MB, free: 13.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001576/0.01008, allocations: 113.6 kB / 489.9 MB, free: 13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.01011, allocations: 52.34 kB / 489.9 MB, free: 12.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.0103, allocations: 311.4 kB / 490.2 MB, free: 12.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.01031, allocations: 30.92 kB / 490.2 MB, free: 12.58 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.01037, allocations: 161.3 kB / 490.4 MB, free: 12.42 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.01041, allocations: 67.42 kB / 490.5 MB, free: 12.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.01045, allocations: 42.16 kB / 490.5 MB, free: 12.31 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.01054, allocations: 354.7 kB / 490.9 MB, free: 11.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.01056, allocations: 13 kB / 490.9 MB, free: 11.94 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.01058, allocations: 15.98 kB / 490.9 MB, free: 11.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.313e-05/0.01064, allocations: 65.8 kB / 490.9 MB, free: 11.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.01065, allocations: 0 / 490.9 MB, free: 11.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 9.906e-05/0.01074, allocations: 107.4 kB / 491.1 MB, free: 11.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.01076, allocations: 7 kB / 491.1 MB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.01076, allocations: 4 kB / 491.1 MB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.01077, allocations: 0 / 491.1 MB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.01099, allocations: 82.14 kB / 491.1 MB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.01099, allocations: 4 kB / 491.1 MB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.01104, allocations: 19.88 kB / 491.2 MB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.01105, allocations: 1.156 kB / 491.2 MB, free: 11.64 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 (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.069e-05/0.01112, allocations: 120.7 kB / 491.3 MB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.01115, allocations: 20.64 kB / 491.3 MB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.01119, allocations: 39.39 kB / 491.3 MB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01119, allocations: 5.812 kB / 491.4 MB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01119, allocations: 3.938 kB / 491.4 MB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.0112, allocations: 0 / 491.4 MB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.01137, allocations: 181.6 kB / 491.5 MB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01138, allocations: 0 / 491.5 MB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.01155, allocations: 88.12 kB / 491.6 MB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01155, allocations: 0 / 491.6 MB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01156, allocations: 3.938 kB / 491.6 MB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01157, allocations: 4 kB / 491.6 MB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01157, allocations: 3.984 kB / 491.6 MB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.01174, allocations: 228.4 kB / 491.9 MB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.01178, allocations: 28.44 kB / 491.9 MB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.0118, allocations: 15.92 kB / 491.9 MB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.349e-05/0.01187, allocations: 6.062 kB / 491.9 MB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.0119, allocations: 7.984 kB / 491.9 MB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.0119, allocations: 8 kB / 491.9 MB, free: 10.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.283e-05/0.01199, allocations: 132.7 kB / 492 MB, free: 10.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01199, allocations: 0 / 492 MB, free: 10.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.01216, allocations: 80.38 kB / 492.1 MB, free: 10.65 MB / 458.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 7.118e-05/0.01223, allocations: 94.59 kB / 492.2 MB, free: 10.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.696e-05/0.01233, allocations: 71.31 kB / 492.3 MB, free: 10.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.01233, allocations: 4 kB / 492.3 MB, free: 10.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.948e-05/0.01237, allocations: 42.09 kB / 492.3 MB, free: 10.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.01263, allocations: 95.7 kB / 492.4 MB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.01343, allocations: 0.6441 MB / 493.1 MB, free: 9.707 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.3e-05/0.01349, allocations: 92.61 kB / 493.2 MB, free: 9.598 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.592e-05/0.01356, allocations: 31.19 kB / 493.2 MB, free: 9.574 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.0137, allocations: 122 kB / 493.3 MB, free: 9.453 MB / 458.7 MB Notification: Performance of SimCode: time 7.02e-07/0.0137, allocations: 0 / 493.3 MB, free: 9.453 MB / 458.7 MB Notification: Performance of Templates: time 0.006264/0.01997, allocations: 4.21 MB / 497.5 MB, free: 5.617 MB / 458.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 -s gbode -gbm=radauIIA3 -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.5048571210354567]