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.0008803/0.0008803, allocations: 115 kB / 19.7 MB, free: 0.5312 MB / 13.93 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.000816/0.000816, allocations: 203.2 kB / 23 MB, free: 3.129 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.8799/0.8799, allocations: 230.6 MB / 256.8 MB, free: 3.574 MB / 202.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-531:190: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-531:198: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.7542/0.7542, allocations: 203.8 MB / 0.5049 GB, free: 0.7578 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009369/0.0009369, allocations: 63.91 kB / 0.7195 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4948, allocations: 102 MB / 0.8192 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003581/0.4984, allocations: 3.065 MB / 0.8221 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.5004, allocations: 2.197 MB / 0.8243 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.5005, allocations: 9.438 kB / 0.8243 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.5018, allocations: 0.513 MB / 0.8248 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.502, allocations: 146.4 kB / 0.8249 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.5021, allocations: 60.91 kB / 0.825 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.5024, allocations: 441.1 kB / 0.8254 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.5026, allocations: 111 kB / 0.8255 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.5029, allocations: 170.8 kB / 0.8257 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.5031, allocations: 182.5 kB / 0.8259 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.5031, allocations: 41.44 kB / 0.8259 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.213e-05/0.5031, allocations: 34.5 kB / 0.8259 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.5032, allocations: 94.05 kB / 0.826 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.5034, allocations: 213.5 kB / 0.8262 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005466/0.5039, allocations: 0.5506 MB / 0.8268 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5039, allocations: 5.062 kB / 0.8268 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5039, allocations: 0 / 0.8268 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.504, allocations: 0 / 0.8268 GB, free: 20.35 MB / 0.6355 GB 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.0007387/0.5047, allocations: 0.6417 MB / 0.8274 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.5047, allocations: 10.8 kB / 0.8274 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.5048, allocations: 46.72 kB / 0.8275 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.5051, allocations: 316.6 kB / 0.8278 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.5052, allocations: 12.44 kB / 0.8278 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.5052, allocations: 26.44 kB / 0.8278 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.5055, allocations: 205.2 kB / 0.828 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5055, allocations: 4.5 kB / 0.828 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.5055, allocations: 9.375 kB / 0.828 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.5055, allocations: 6.5 kB / 0.828 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.5058, allocations: 168.1 kB / 0.8282 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.5067, allocations: 0.8227 MB / 0.829 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.5069, allocations: 150.3 kB / 0.8291 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.507, allocations: 98.52 kB / 0.8292 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.5071, allocations: 2.281 kB / 0.8292 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.5071, allocations: 32.27 kB / 0.8292 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.5071, allocations: 0 / 0.8292 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0004088/0.5075, allocations: 265.9 kB / 0.8295 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.5075, allocations: 53.5 kB / 0.8295 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.5079, allocations: 412.2 kB / 0.8299 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.5079, allocations: 32.19 kB / 0.83 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.508, allocations: 206.6 kB / 0.8302 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.508, allocations: 68.23 kB / 0.8302 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.5081, allocations: 35.19 kB / 0.8303 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.278e-05/0.5081, allocations: 347 kB / 0.8306 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.325e-05/0.5082, allocations: 56.88 kB / 0.8307 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.407e-05/0.5083, allocations: 60.86 kB / 0.8307 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.5085, allocations: 130.1 kB / 0.8308 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5085, allocations: 0 / 0.8308 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002475/0.5087, allocations: 211.3 kB / 0.831 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5087, allocations: 11.28 kB / 0.831 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5087, allocations: 0 / 0.831 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5088, allocations: 6.844 kB / 0.8311 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.5089, allocations: 54.34 kB / 0.8311 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.5089, allocations: 0.6094 kB / 0.8311 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.303e-05/0.509, allocations: 16.36 kB / 0.8311 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.509, allocations: 8.281 kB / 0.8311 GB, free: 17.46 MB / 0.6355 GB 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 9.787e-05/0.5091, allocations: 165.2 kB / 0.8313 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.5092, allocations: 39.92 kB / 0.8313 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.5092, allocations: 49.36 kB / 0.8314 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.5092, allocations: 1.812 kB / 0.8314 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5092, allocations: 3.938 kB / 0.8314 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5092, allocations: 1.312 kB / 0.8314 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.5095, allocations: 346.4 kB / 0.8317 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.5095, allocations: 1.406 kB / 0.8317 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.5097, allocations: 54.67 kB / 0.8318 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5097, allocations: 1.531 kB / 0.8318 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.5097, allocations: 12.78 kB / 0.8318 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.5097, allocations: 5.625 kB / 0.8318 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5097, allocations: 0 / 0.8318 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.5101, allocations: 373.8 kB / 0.8321 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.5101, allocations: 42.14 kB / 0.8322 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.5101, allocations: 9.312 kB / 0.8322 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.98e-05/0.5102, allocations: 14.77 kB / 0.8322 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.5103, allocations: 10.31 kB / 0.8322 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.5103, allocations: 4.125 kB / 0.8322 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002278/0.5105, allocations: 303.4 kB / 0.8325 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5105, allocations: 0 / 0.8325 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001957/0.5107, allocations: 71.02 kB / 0.8326 GB, free: 16.57 MB / 0.6355 GB 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 9.133e-05/0.5108, allocations: 108.1 kB / 0.8327 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.511, allocations: 143.9 kB / 0.8328 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.511, allocations: 0 / 0.8328 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.5111, allocations: 74.11 kB / 0.8329 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.5115, allocations: 101.1 kB / 0.833 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009504/0.5125, allocations: 0.7906 MB / 0.8337 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.5127, allocations: 0.7933 MB / 0.8345 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.5127, allocations: 25.12 kB / 0.8345 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/0.5127, allocations: 0 / 0.8345 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of Templates: time 0.006215/0.5189, allocations: 4.402 MB / 0.8388 GB, free: 14.62 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.062249347800389] Failed to read output from testmodel.py, exit status != 0: 0.524790964089334 0.5331673 0.027424327000000002 Calling exit ...