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.000988/0.000988, allocations: 80.88 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.001117/0.001117, allocations: 181 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.9255/0.9255, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7134/0.7134, allocations: 154.9 MB / 415.1 MB, free: 256 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.803e-06/1.803e-06, allocations: 0 / 480.4 MB, free: 6.461 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.545e-05, allocations: 4.828 kB / 480.4 MB, free: 6.457 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005855/0.005881, allocations: 4.143 MB / 484.6 MB, free: 2.352 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004155/0.01004, allocations: 2.451 MB / 487 MB, free: 15.91 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.01038, allocations: 12.56 kB / 487 MB, free: 15.9 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.01191, allocations: 0.531 MB / 487.6 MB, free: 15.37 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.01239, allocations: 252.4 kB / 487.8 MB, free: 15.12 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.01261, allocations: 141.2 kB / 487.9 MB, free: 14.99 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006336/0.01324, allocations: 0.8415 MB / 488.8 MB, free: 14.14 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.01353, allocations: 220.9 kB / 489 MB, free: 13.92 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005111/0.01404, allocations: 463.5 kB / 489.5 MB, free: 13.46 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.01431, allocations: 256.7 kB / 489.7 MB, free: 13.21 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.082e-05/0.01438, allocations: 72 kB / 489.8 MB, free: 13.14 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.989e-05/0.01445, allocations: 76 kB / 489.9 MB, free: 13.07 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.01457, allocations: 179.3 kB / 490 MB, free: 12.89 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004751/0.01505, allocations: 265.1 kB / 490.3 MB, free: 12.64 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.01549, allocations: 0.5021 MB / 490.8 MB, free: 12.13 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.0155, allocations: 0 / 490.8 MB, free: 12.13 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.0155, allocations: 3.938 kB / 490.8 MB, free: 12.13 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.01551, allocations: 0.9688 kB / 490.8 MB, free: 12.13 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.0008118/0.01632, allocations: 0.8567 MB / 491.6 MB, free: 11.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.01635, allocations: 12.03 kB / 491.7 MB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.01644, allocations: 90.2 kB / 491.7 MB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.01675, allocations: 288.2 kB / 492 MB, free: 10.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.01678, allocations: 37.38 kB / 492.1 MB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.01682, allocations: 49.81 kB / 492.1 MB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.01711, allocations: 287.7 kB / 492.4 MB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.01712, allocations: 4.141 kB / 492.4 MB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.01715, allocations: 24.31 kB / 492.4 MB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.01716, allocations: 16.78 kB / 492.4 MB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.01732, allocations: 134.9 kB / 492.6 MB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009774/0.01829, allocations: 0.8592 MB / 493.4 MB, free: 9.438 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.01847, allocations: 172.2 kB / 493.6 MB, free: 9.262 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.01862, allocations: 154.1 kB / 493.8 MB, free: 9.109 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.01864, allocations: 8.594 kB / 493.8 MB, free: 9.102 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.01866, allocations: 42.34 kB / 493.8 MB, free: 9.051 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 1.924e-06/0.01866, allocations: 1.75 kB / 493.8 MB, free: 9.051 MB / 458.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002548/0.01891, allocations: 214.4 kB / 494 MB, free: 8.836 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.01894, allocations: 59.34 kB / 494.1 MB, free: 8.766 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.01915, allocations: 343.3 kB / 494.4 MB, free: 8.418 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.01917, allocations: 38.48 kB / 494.4 MB, free: 8.375 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.01926, allocations: 233.4 kB / 494.7 MB, free: 8.145 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/0.01933, allocations: 152 kB / 494.8 MB, free: 7.996 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.01939, allocations: 70.03 kB / 494.9 MB, free: 7.918 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.01948, allocations: 354.7 kB / 495.2 MB, free: 7.562 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/0.01952, allocations: 36.73 kB / 495.3 MB, free: 7.527 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.01957, allocations: 49.81 kB / 495.3 MB, free: 7.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.01969, allocations: 126.4 kB / 495.4 MB, free: 7.355 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.0197, allocations: 0.875 kB / 495.4 MB, free: 7.355 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001736/0.01987, allocations: 193 kB / 495.6 MB, free: 7.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.01988, allocations: 4.656 kB / 495.6 MB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.01989, allocations: 0 / 495.6 MB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.0199, allocations: 5.438 kB / 495.6 MB, free: 7.152 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.02015, allocations: 123.9 kB / 495.8 MB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.02015, allocations: 1.375 kB / 495.8 MB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.02023, allocations: 35.72 kB / 495.8 MB, free: 6.996 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.02024, allocations: 8 kB / 495.8 MB, free: 6.988 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.471e-05/0.02034, allocations: 125.5 kB / 495.9 MB, free: 6.855 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.02038, allocations: 43.95 kB / 496 MB, free: 6.812 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.02043, allocations: 54.94 kB / 496 MB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.02044, allocations: 4 kB / 496 MB, free: 6.754 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.02044, allocations: 0 / 496 MB, free: 6.754 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.02044, allocations: 7.922 kB / 496 MB, free: 6.746 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.02071, allocations: 297.2 kB / 496.3 MB, free: 6.438 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02071, allocations: 0 / 496.3 MB, free: 6.438 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.02095, allocations: 125 kB / 496.4 MB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.02096, allocations: 1.281 kB / 496.4 MB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.02097, allocations: 8 kB / 496.5 MB, free: 6.309 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.02098, allocations: 0.7188 kB / 496.5 MB, free: 6.309 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02098, allocations: 0 / 496.5 MB, free: 6.309 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.02128, allocations: 363.9 kB / 496.8 MB, free: 5.938 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.02133, allocations: 55.53 kB / 496.9 MB, free: 5.883 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.02136, allocations: 8.906 kB / 496.9 MB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.02145, allocations: 8 kB / 496.9 MB, free: 5.867 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.02149, allocations: 25.73 kB / 496.9 MB, free: 5.844 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.0215, allocations: 12 kB / 496.9 MB, free: 5.832 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.02161, allocations: 154.2 kB / 497.1 MB, free: 5.684 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02161, allocations: 0 / 497.1 MB, free: 5.684 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.02183, allocations: 143.7 kB / 497.2 MB, free: 5.543 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 0.0001058/0.02194, allocations: 97.55 kB / 497.3 MB, free: 5.441 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004415/0.02238, allocations: 164.5 kB / 497.5 MB, free: 5.277 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.02239, allocations: 4 kB / 497.5 MB, free: 5.273 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.02247, allocations: 109.7 kB / 497.6 MB, free: 5.164 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.02277, allocations: 105 kB / 497.7 MB, free: 5.066 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.02394, allocations: 0.9564 MB / 498.6 MB, free: 4.105 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.922e-05/0.02404, allocations: 131.5 kB / 498.8 MB, free: 3.957 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.02416, allocations: 48.19 kB / 498.8 MB, free: 3.914 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.02433, allocations: 131.3 kB / 498.9 MB, free: 3.785 MB / 458.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02433, allocations: 0 / 498.9 MB, free: 3.785 MB / 458.7 MB Notification: Performance of Templates: time 0.008011/0.03234, allocations: 5.344 MB / 0.4925 GB, free: 14.89 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 -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.493392073083669]