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.0007072/0.0007072, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009038/0.001611, allocations: 440 kB / 10.41 MB, free: 284 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.0006866/0.0006866, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008995/0.001586, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.8884/0.8884, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09703/0.9854, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7688/0.7688, allocations: 155.3 MB / 399.5 MB, free: 15.82 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.255/1.024, allocations: 49.13 MB / 448.6 MB, free: 5.914 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.192e-06/1.192e-06, allocations: 0 / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.706e-05, allocations: 6.938 kB / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.006608/0.006625, allocations: 3.136 MB / 453.1 MB, free: 1.488 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.009019, allocations: 2.172 MB / 455.3 MB, free: 15.33 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.009158, allocations: 12.81 kB / 455.3 MB, free: 15.32 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004078/0.01324, allocations: 0.4917 MB / 455.8 MB, free: 14.82 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.01345, allocations: 153.1 kB / 455.9 MB, free: 14.68 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.141e-05/0.01354, allocations: 55.94 kB / 456 MB, free: 14.62 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.01393, allocations: 469.8 kB / 456.5 MB, free: 14.16 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.0141, allocations: 100.5 kB / 456.6 MB, free: 14.06 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003711/0.01447, allocations: 329.6 kB / 456.9 MB, free: 13.74 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.01465, allocations: 131.6 kB / 457 MB, free: 13.61 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.01469, allocations: 39.94 kB / 457 MB, free: 13.57 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.267e-05/0.01474, allocations: 36 kB / 457.1 MB, free: 13.54 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.47e-05/0.01482, allocations: 80.8 kB / 457.2 MB, free: 13.46 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.01494, allocations: 123.8 kB / 457.3 MB, free: 13.34 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003294/0.01823, allocations: 279.7 kB / 457.6 MB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.01824, allocations: 0 / 457.6 MB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01824, allocations: 0 / 457.6 MB, free: 13.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.01826, allocations: 1.375 kB / 457.6 MB, free: 13.06 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.0007461/0.019, allocations: 0.6777 MB / 458.2 MB, free: 12.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.01903, allocations: 8.875 kB / 458.2 MB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.0191, allocations: 48.89 kB / 458.3 MB, free: 12.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.0194, allocations: 246.4 kB / 458.5 MB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.01941, allocations: 12.88 kB / 458.5 MB, free: 12.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.01945, allocations: 29.14 kB / 458.6 MB, free: 12.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.01965, allocations: 153.3 kB / 458.7 MB, free: 11.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.01967, allocations: 1.062 kB / 458.7 MB, free: 11.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.01968, allocations: 12.38 kB / 458.7 MB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.01969, allocations: 12.78 kB / 458.7 MB, free: 11.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.836e-05/0.01979, allocations: 53.47 kB / 458.8 MB, free: 11.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006056/0.02039, allocations: 454 kB / 459.2 MB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.02051, allocations: 78.44 kB / 459.3 MB, free: 11.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.081e-05/0.02057, allocations: 49.45 kB / 459.4 MB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.02059, allocations: 4.625 kB / 459.4 MB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.02061, allocations: 34.55 kB / 459.4 MB, free: 11.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.02061, allocations: 0.625 kB / 459.4 MB, free: 11.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001934/0.0208, allocations: 120.4 kB / 459.5 MB, free: 11.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.02082, allocations: 51.41 kB / 459.6 MB, free: 10.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.02105, allocations: 312 kB / 459.9 MB, free: 10.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.02107, allocations: 29.7 kB / 459.9 MB, free: 10.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00308/0.02415, allocations: 171 kB / 460.1 MB, free: 10.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.0242, allocations: 67.42 kB / 460.1 MB, free: 10.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.02426, allocations: 37.69 kB / 460.2 MB, free: 10.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.02436, allocations: 346.7 kB / 460.5 MB, free: 9.977 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.141e-05/0.02439, allocations: 15.98 kB / 460.5 MB, free: 9.961 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.02442, allocations: 15.14 kB / 460.5 MB, free: 9.949 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.0245, allocations: 63.62 kB / 460.6 MB, free: 9.887 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.0245, allocations: 1.656 kB / 460.6 MB, free: 9.887 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001328/0.02464, allocations: 105.6 kB / 460.7 MB, free: 9.777 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.02465, allocations: 4 kB / 460.7 MB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.02465, allocations: 0 / 460.7 MB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.02467, allocations: 4 kB / 460.7 MB, free: 9.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.02497, allocations: 86.73 kB / 460.8 MB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.02498, allocations: 0 / 460.8 MB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.02505, allocations: 8 kB / 460.8 MB, free: 9.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.02506, allocations: 4 kB / 460.8 MB, free: 9.676 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 8.259e-05/0.02514, allocations: 118.3 kB / 460.9 MB, free: 9.551 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.02518, allocations: 23.97 kB / 461 MB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.02523, allocations: 39.41 kB / 461 MB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.02524, allocations: 0 / 461 MB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.02524, allocations: 5.812 kB / 461 MB, free: 9.488 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.02524, allocations: 7.922 kB / 461 MB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.02547, allocations: 189.5 kB / 461.2 MB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.02547, allocations: 0 / 461.2 MB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.02574, allocations: 88.02 kB / 461.3 MB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.02578, allocations: 35.7 kB / 461.3 MB, free: 9.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.02579, allocations: 8.969 kB / 461.3 MB, free: 9.152 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.0258, allocations: 0 / 461.3 MB, free: 9.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.0258, allocations: 0 / 461.3 MB, free: 9.152 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.0258, allocations: 1.062 kB / 461.3 MB, free: 9.152 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.02602, allocations: 224.7 kB / 461.5 MB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.02605, allocations: 16.97 kB / 461.6 MB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.19e-05/0.02614, allocations: 0 / 461.6 MB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.02617, allocations: 15.97 kB / 461.6 MB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.02618, allocations: 4.875 kB / 461.6 MB, free: 8.883 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001229/0.0263, allocations: 136.7 kB / 461.7 MB, free: 8.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0263, allocations: 0 / 461.7 MB, free: 8.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.02654, allocations: 77.25 kB / 461.8 MB, free: 8.676 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.813e-05/0.02663, allocations: 81.73 kB / 461.9 MB, free: 8.586 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.02674, allocations: 80.77 kB / 461.9 MB, free: 8.508 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.02675, allocations: 4.5 kB / 462 MB, free: 8.504 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.576e-05/0.02682, allocations: 58.48 kB / 462 MB, free: 8.445 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/0.03047, allocations: 0.9152 MB / 462.9 MB, free: 7.352 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007608/0.03808, allocations: 0.6408 MB / 463.6 MB, free: 6.691 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.273e-05/0.03815, allocations: 109.5 kB / 463.7 MB, free: 6.566 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.837e-05/0.03825, allocations: 31.53 kB / 463.7 MB, free: 6.539 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.03843, allocations: 125.3 kB / 463.8 MB, free: 6.418 MB / 442.7 MB Notification: Performance of SimCode: time 6.22e-07/0.03843, allocations: 0 / 463.8 MB, free: 6.418 MB / 442.7 MB Notification: Performance of Templates: time 0.0103/0.04874, allocations: 4.724 MB / 468.6 MB, free: 2.129 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.364989406429231]