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.0008558/0.0008558, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0008907/0.0008907, allocations: 203.2 kB / 23 MB, free: 3.113 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.8798/0.8798, allocations: 230.6 MB / 256.8 MB, free: 3.48 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.7491/0.7491, allocations: 203.8 MB / 0.5049 GB, free: 0.7109 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.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: 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.0009107/0.0009107, allocations: 67.89 kB / 0.7195 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5281, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00442/0.5325, allocations: 4.184 MB / 0.8232 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002676/0.5352, allocations: 2.461 MB / 0.8256 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.5354, allocations: 15.25 kB / 0.8257 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.5367, allocations: 0.5661 MB / 0.8262 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.537, allocations: 245.9 kB / 0.8264 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.5372, allocations: 134.3 kB / 0.8266 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006497/0.5378, allocations: 0.8153 MB / 0.8274 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003115/0.5382, allocations: 228.9 kB / 0.8276 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.5385, allocations: 316 kB / 0.8279 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003368/0.5389, allocations: 328.7 kB / 0.8282 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.662e-05/0.5389, allocations: 78.56 kB / 0.8283 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.464e-05/0.539, allocations: 75.47 kB / 0.8283 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.5392, allocations: 176.8 kB / 0.8285 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.5394, allocations: 379.4 kB / 0.8289 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009427/0.5404, allocations: 0.9997 MB / 0.8299 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5404, allocations: 1.281 kB / 0.8299 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.906e-06/0.5404, allocations: 0 / 0.8299 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.5404, allocations: 0 / 0.8299 GB, free: 18.39 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001003/0.5414, allocations: 0.8937 MB / 0.8307 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5414, allocations: 10.41 kB / 0.8307 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.087e-05/0.5415, allocations: 77.06 kB / 0.8308 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.542, allocations: 402 kB / 0.8312 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.542, allocations: 36.62 kB / 0.8312 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.542, allocations: 48 kB / 0.8313 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.5426, allocations: 429.9 kB / 0.8317 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.5426, allocations: 1.094 kB / 0.8317 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.5427, allocations: 23.34 kB / 0.8317 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.5427, allocations: 12.31 kB / 0.8317 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.5432, allocations: 372.9 kB / 0.8321 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.5448, allocations: 1.476 MB / 0.8335 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.5452, allocations: 314.4 kB / 0.8338 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.5456, allocations: 280 kB / 0.8341 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.5456, allocations: 5.5 kB / 0.8341 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.5456, allocations: 45.14 kB / 0.8341 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 2.515e-06/0.5456, allocations: 0 / 0.8341 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42): time 0.0006999/0.5463, allocations: 0.4887 MB / 0.8346 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.5463, allocations: 59.69 kB / 0.8347 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.5468, allocations: 480.9 kB / 0.8351 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.5468, allocations: 34.98 kB / 0.8352 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.5469, allocations: 275 kB / 0.8354 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/0.547, allocations: 152 kB / 0.8356 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.5471, allocations: 61.78 kB / 0.8356 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.5472, allocations: 363.5 kB / 0.836 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.5474, allocations: 123.2 kB / 0.8361 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.5475, allocations: 128.8 kB / 0.8362 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.5479, allocations: 292.5 kB / 0.8365 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5479, allocations: 0 / 0.8365 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004539/0.5483, allocations: 405.2 kB / 0.8369 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5484, allocations: 10.12 kB / 0.8369 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5484, allocations: 0 / 0.8369 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.5484, allocations: 1.156 kB / 0.8369 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.5487, allocations: 125.2 kB / 0.837 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.5487, allocations: 7.094 kB / 0.837 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.5488, allocations: 31.64 kB / 0.837 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.5488, allocations: 11.97 kB / 0.8371 GB, free: 14.17 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 (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 0.0001455/0.549, allocations: 206.1 kB / 0.8373 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.549, allocations: 55.7 kB / 0.8373 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.322e-05/0.5491, allocations: 61.52 kB / 0.8374 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5491, allocations: 8.812 kB / 0.8374 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5491, allocations: 1.625 kB / 0.8374 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5491, allocations: 2.297 kB / 0.8374 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/0.5497, allocations: 0.5524 MB / 0.8379 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5497, allocations: 1.562 kB / 0.8379 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.55, allocations: 128.4 kB / 0.838 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.55, allocations: 5.188 kB / 0.838 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.55, allocations: 6.594 kB / 0.838 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.55, allocations: 5.969 kB / 0.8381 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.55, allocations: 1.406 kB / 0.8381 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006882/0.5507, allocations: 0.6502 MB / 0.8387 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.136e-05/0.5508, allocations: 63.8 kB / 0.8388 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.5508, allocations: 11.02 kB / 0.8388 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.5509, allocations: 19.89 kB / 0.8388 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.551, allocations: 29.73 kB / 0.8388 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.551, allocations: 11.33 kB / 0.8388 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003018/0.5513, allocations: 349 kB / 0.8392 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.5513, allocations: 0 / 0.8392 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002963/0.5516, allocations: 147.8 kB / 0.8393 GB, free: 12.93 MB / 0.6355 GB 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.0001211/0.5517, allocations: 113.4 kB / 0.8394 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.5522, allocations: 299.6 kB / 0.8397 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5522, allocations: 1.438 kB / 0.8397 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.5524, allocations: 162.8 kB / 0.8398 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.5529, allocations: 125.3 kB / 0.84 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.5544, allocations: 1.229 MB / 0.8412 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.5547, allocations: 0.8748 MB / 0.842 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.5548, allocations: 38.33 kB / 0.8421 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of SimCode: time 4.1e-07/0.5548, allocations: 0 / 0.8421 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.009303/0.5641, allocations: 6.911 MB / 0.8488 GB, free: 10.15 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.321060618152842] Failed to read output from testmodel.py, exit status != 0: 0.5701310080476105 0.57871069 0.036490892000000004 Calling exit ...