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.00161/0.00161, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001801/0.001801, allocations: 165.8 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.418/1.418, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.17/1.17, allocations: 154.6 MB / 413.7 MB, free: 5.293 MB / 382.1 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 178] 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.323e-06/1.323e-06, allocations: 0 / 0.6186 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.44e-05, allocations: 8.031 kB / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005544/0.005568, allocations: 3.789 MB / 0.6223 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003632/0.009201, allocations: 2.226 MB / 0.6245 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.009477, allocations: 12 kB / 0.6245 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.01102, allocations: 0.5129 MB / 0.625 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004999/0.01152, allocations: 257.8 kB / 0.6252 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.01175, allocations: 143.8 kB / 0.6253 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008756/0.01262, allocations: 0.8427 MB / 0.6262 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.01302, allocations: 219 kB / 0.6264 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006247/0.01365, allocations: 467 kB / 0.6268 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.014, allocations: 243.2 kB / 0.6271 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.77e-05/0.0141, allocations: 75.98 kB / 0.6271 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.01422, allocations: 76 kB / 0.6272 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.01439, allocations: 171.4 kB / 0.6274 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.01469, allocations: 263.4 kB / 0.6276 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.01573, allocations: 0.9969 MB / 0.6286 GB, free: 10.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01573, allocations: 0 / 0.6286 GB, free: 10.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.22e-07/0.01574, allocations: 0 / 0.6286 GB, free: 10.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.01575, allocations: 0 / 0.6286 GB, free: 10.3 MB / 0.545 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.001525/0.01727, allocations: 0.8821 MB / 0.6294 GB, free: 9.391 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.01731, allocations: 9.469 kB / 0.6295 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.01743, allocations: 84.47 kB / 0.6295 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.01811, allocations: 399.5 kB / 0.6299 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.01815, allocations: 41.36 kB / 0.63 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-05/0.01823, allocations: 44.38 kB / 0.63 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008132/0.01905, allocations: 431 kB / 0.6304 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.01907, allocations: 192 / 0.6304 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.01911, allocations: 20.38 kB / 0.6304 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.01912, allocations: 19.88 kB / 0.6305 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000751/0.01987, allocations: 363.8 kB / 0.6308 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.02189, allocations: 1.172 MB / 0.6319 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.02246, allocations: 320 kB / 0.6322 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005037/0.02297, allocations: 293.3 kB / 0.6325 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.02299, allocations: 4 kB / 0.6325 GB, free: 6.164 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.02302, allocations: 30.56 kB / 0.6326 GB, free: 6.125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.873e-06/0.02302, allocations: 0 / 0.6326 GB, free: 6.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.001074/0.0241, allocations: 0.4898 MB / 0.633 GB, free: 5.629 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.02414, allocations: 60.11 kB / 0.6331 GB, free: 5.559 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.02468, allocations: 434 kB / 0.6335 GB, free: 5.125 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.02474, allocations: 33.7 kB / 0.6335 GB, free: 5.086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.02496, allocations: 288.4 kB / 0.6338 GB, free: 4.797 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.0251, allocations: 150.7 kB / 0.634 GB, free: 4.648 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.02521, allocations: 62.08 kB / 0.634 GB, free: 4.578 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.0254, allocations: 358.8 kB / 0.6344 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.02567, allocations: 128.6 kB / 0.6345 GB, free: 4.094 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.02593, allocations: 129.4 kB / 0.6346 GB, free: 3.969 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/0.02653, allocations: 290.2 kB / 0.6349 GB, free: 3.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.02653, allocations: 0 / 0.6349 GB, free: 3.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007213/0.02725, allocations: 392.5 kB / 0.6353 GB, free: 3.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.02727, allocations: 11.98 kB / 0.6353 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.02728, allocations: 0 / 0.6353 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.02729, allocations: 0 / 0.6353 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.02782, allocations: 131.8 kB / 0.6354 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.02783, allocations: 7.938 kB / 0.6354 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.02804, allocations: 23.84 kB / 0.6354 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.02807, allocations: 12 kB / 0.6354 GB, free: 3.109 MB / 0.545 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.0002356/0.0283, allocations: 197.7 kB / 0.6356 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.02838, allocations: 47.72 kB / 0.6357 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.0285, allocations: 56.8 kB / 0.6357 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.0285, allocations: 4 kB / 0.6357 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.02851, allocations: 7.938 kB / 0.6357 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.02851, allocations: 0 / 0.6357 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/0.02912, allocations: 428.8 kB / 0.6361 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02912, allocations: 0 / 0.6361 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.02968, allocations: 123.9 kB / 0.6363 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.02969, allocations: 4 kB / 0.6363 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.02971, allocations: 4 kB / 0.6363 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.02972, allocations: 4 kB / 0.6363 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.02972, allocations: 0 / 0.6363 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.03081, allocations: 0.6637 MB / 0.6369 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.463e-05/0.0309, allocations: 55.58 kB / 0.637 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.03096, allocations: 12 kB / 0.637 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.03119, allocations: 11.98 kB / 0.637 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.03126, allocations: 27.89 kB / 0.637 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.03128, allocations: 8 kB / 0.637 GB, free: 1.418 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003864/0.03166, allocations: 319.1 kB / 0.6373 GB, free: 1.105 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.03166, allocations: 0 / 0.6373 GB, free: 1.105 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004551/0.03212, allocations: 151.7 kB / 0.6375 GB, free: 0.957 MB / 0.545 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.0001443/0.03226, allocations: 107.2 kB / 0.6376 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006591/0.03292, allocations: 307.4 kB / 0.6379 GB, free: 0.543 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.03292, allocations: 0 / 0.6379 GB, free: 0.543 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.03323, allocations: 163.8 kB / 0.638 GB, free: 392 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.03381, allocations: 101.6 kB / 0.6381 GB, free: 292 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.03567, allocations: 1.083 MB / 0.6392 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.03597, allocations: 275.2 kB / 0.6395 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.03613, allocations: 51.36 kB / 0.6395 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.03624, allocations: 32.5 kB / 0.6395 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.03624, allocations: 0 / 0.6395 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.01116/0.0474, allocations: 4.949 MB / 0.6444 GB, free: 10 MB / 0.5606 GB " [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=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: 5.663985684514046] Failed to read output from testmodel.py, exit status != 0: 0.056927651166915894 0.072060279 0.053174396000000006 Calling exit ...