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.0008855/0.0008855, 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.0008677/0.0008677, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9468/0.9468, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.7888/0.7888, allocations: 154.9 MB / 415.1 MB, free: 244 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.663e-06/1.663e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.453 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.289e-05, allocations: 8.141 kB / 480.4 MB, free: 6.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004251/0.004274, allocations: 3.063 MB / 483.5 MB, free: 3.426 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.007353, allocations: 2.156 MB / 485.6 MB, free: 1.277 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.007563, allocations: 8 kB / 485.7 MB, free: 1.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.008993, allocations: 499.9 kB / 486.1 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005535/0.009547, allocations: 149 kB / 486.3 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.009675, allocations: 65.64 kB / 486.4 MB, free: 0.5742 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000458/0.01013, allocations: 457.6 kB / 486.8 MB, free: 128 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.01033, allocations: 107.7 kB / 486.9 MB, free: 16 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004119/0.01074, allocations: 247.3 kB / 487.1 MB, free: 15.77 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.01095, allocations: 140.5 kB / 487.3 MB, free: 15.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.011, allocations: 36 kB / 487.3 MB, free: 15.6 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.149e-05/0.01105, allocations: 36 kB / 487.4 MB, free: 15.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.01115, allocations: 100.6 kB / 487.5 MB, free: 15.47 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.0113, allocations: 143.6 kB / 487.6 MB, free: 15.33 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.01163, allocations: 283.5 kB / 487.9 MB, free: 15.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01163, allocations: 0 / 487.9 MB, free: 15.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01163, allocations: 1.312 kB / 487.9 MB, free: 15.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.01163, allocations: 0 / 487.9 MB, free: 15.05 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.0008067/0.01244, allocations: 0.609 MB / 488.5 MB, free: 14.42 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.01247, allocations: 9.094 kB / 488.5 MB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.01253, allocations: 44.91 kB / 488.5 MB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.01279, allocations: 249.1 kB / 488.8 MB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.0128, allocations: 16.88 kB / 488.8 MB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.01283, allocations: 25.09 kB / 488.8 MB, free: 14.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.013, allocations: 149.3 kB / 489 MB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.01301, allocations: 1.656 kB / 489 MB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.01302, allocations: 8.375 kB / 489 MB, free: 13.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.01303, allocations: 7.938 kB / 489 MB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.915e-05/0.01312, allocations: 62.48 kB / 489 MB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.01362, allocations: 451.4 kB / 489.5 MB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.01372, allocations: 85.28 kB / 489.6 MB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.01377, allocations: 51.36 kB / 489.6 MB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.01378, allocations: 4.594 kB / 489.6 MB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.0138, allocations: 32 kB / 489.7 MB, free: 13.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.092e-06/0.0138, allocations: 0 / 489.7 MB, free: 13.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001552/0.01395, allocations: 113.6 kB / 489.8 MB, free: 13.08 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.01398, allocations: 55.34 kB / 489.8 MB, free: 13.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.01416, allocations: 308.1 kB / 490.1 MB, free: 12.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.01417, allocations: 29.7 kB / 490.1 MB, free: 12.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.01423, allocations: 174.4 kB / 490.3 MB, free: 12.49 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.01427, allocations: 63.42 kB / 490.4 MB, free: 12.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.01431, allocations: 33.69 kB / 490.4 MB, free: 12.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.01439, allocations: 351.7 kB / 490.8 MB, free: 12.04 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.01441, allocations: 16 kB / 490.8 MB, free: 12.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.19e-05/0.01443, allocations: 15.98 kB / 490.8 MB, free: 12.01 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.748e-05/0.01449, allocations: 58.86 kB / 490.8 MB, free: 11.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01449, allocations: 1.75 kB / 490.8 MB, free: 11.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 9.407e-05/0.01459, allocations: 104.7 kB / 490.9 MB, free: 11.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.0146, allocations: 4 kB / 491 MB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.0146, allocations: 0 / 491 MB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.01461, allocations: 4 kB / 491 MB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.01473, allocations: 57.25 kB / 491 MB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.01474, allocations: 4 kB / 491 MB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.264e-05/0.01479, allocations: 15.88 kB / 491 MB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.0148, allocations: 9.188 kB / 491 MB, free: 11.75 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 6.783e-05/0.01486, allocations: 120.5 kB / 491.2 MB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.01489, allocations: 21.52 kB / 491.2 MB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.01493, allocations: 39.39 kB / 491.2 MB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01493, allocations: 5.031 kB / 491.2 MB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01493, allocations: 0 / 491.2 MB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.01494, allocations: 1.688 kB / 491.2 MB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.0151, allocations: 185.5 kB / 491.4 MB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.0151, allocations: 0 / 491.4 MB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.01521, allocations: 59.95 kB / 491.5 MB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.01521, allocations: 0.625 kB / 491.5 MB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.01522, allocations: 0 / 491.5 MB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.01523, allocations: 0.6562 kB / 491.5 MB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01523, allocations: 0 / 491.5 MB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.01539, allocations: 239.3 kB / 491.7 MB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.01543, allocations: 31.8 kB / 491.7 MB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.01545, allocations: 4 kB / 491.7 MB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.01551, allocations: 8 kB / 491.7 MB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.01554, allocations: 16.98 kB / 491.8 MB, free: 11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.01554, allocations: 4.969 kB / 491.8 MB, free: 11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.903e-05/0.01563, allocations: 132.7 kB / 491.9 MB, free: 10.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01563, allocations: 0.7812 kB / 491.9 MB, free: 10.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000158/0.01579, allocations: 79.78 kB / 492 MB, free: 10.79 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 8.651e-05/0.01587, allocations: 93.25 kB / 492.1 MB, free: 10.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.01596, allocations: 62.22 kB / 492.1 MB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.01596, allocations: 4 kB / 492.1 MB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.903e-05/0.016, allocations: 45.7 kB / 492.2 MB, free: 10.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.01625, allocations: 91.47 kB / 492.3 MB, free: 10.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007627/0.01702, allocations: 0.6395 MB / 492.9 MB, free: 9.852 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.066e-05/0.01707, allocations: 92.3 kB / 493 MB, free: 9.742 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.118e-05/0.01713, allocations: 28.75 kB / 493 MB, free: 9.719 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.01725, allocations: 120.6 kB / 493.1 MB, free: 9.602 MB / 458.7 MB Notification: Performance of SimCode: time 3.21e-07/0.01725, allocations: 0 / 493.1 MB, free: 9.602 MB / 458.7 MB Notification: Performance of Templates: time 0.005442/0.02269, allocations: 3.885 MB / 497 MB, free: 6.074 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 -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.466673162765801]