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.001865/0.001865, allocations: 81.5 kB / 19.44 MB, free: 336 kB / 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.00208/0.00208, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.522/1.522, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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-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 1.322/1.322, allocations: 154.8 MB / 414.4 MB, free: 460 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 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.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 2.004e-06/2.004e-06, allocations: 1.094 kB / 0.5199 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.101e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005396/0.005427, allocations: 3.068 MB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004035/0.009462, allocations: 2.136 MB / 0.525 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.009729, allocations: 8 kB / 0.525 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.0114, allocations: 475.6 kB / 0.5255 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.01177, allocations: 156.6 kB / 0.5256 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.0119, allocations: 51.94 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005751/0.01247, allocations: 466.1 kB / 0.5261 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.01272, allocations: 103.8 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004229/0.01314, allocations: 248 kB / 0.5264 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.0134, allocations: 140.8 kB / 0.5266 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.359e-05/0.01347, allocations: 36 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.328e-05/0.01354, allocations: 32 kB / 0.5266 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.01369, allocations: 100.2 kB / 0.5267 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.0139, allocations: 147.6 kB / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007017/0.0146, allocations: 0.5411 MB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.0146, allocations: 0 / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.654e-06/0.01461, allocations: 1.281 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.01461, allocations: 0 / 0.5274 GB, free: 10.57 MB / 0.4948 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.001307/0.01592, allocations: 0.7662 MB / 0.5282 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.01596, allocations: 8.031 kB / 0.5282 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.01609, allocations: 60.66 kB / 0.5282 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.01664, allocations: 333.5 kB / 0.5285 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.01666, allocations: 16.88 kB / 0.5286 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.01671, allocations: 16.38 kB / 0.5286 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.01712, allocations: 192.7 kB / 0.5288 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.01714, allocations: 192 / 0.5288 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.01717, allocations: 12.36 kB / 0.5288 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.01718, allocations: 12.53 kB / 0.5288 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.01756, allocations: 147.3 kB / 0.5289 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.01895, allocations: 0.8028 MB / 0.5297 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.01928, allocations: 157.7 kB / 0.5299 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.01949, allocations: 105.8 kB / 0.53 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.01952, allocations: 0 / 0.53 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.01956, allocations: 41.33 kB / 0.53 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 9.42e-07/0.01956, allocations: 2.75 kB / 0.53 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0005803/0.02014, allocations: 237.6 kB / 0.5302 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.02019, allocations: 51.41 kB / 0.5303 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/0.02083, allocations: 498.8 kB / 0.5307 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.02086, allocations: 33.7 kB / 0.5308 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.02123, allocations: 275.1 kB / 0.531 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.719e-05/0.02133, allocations: 80.42 kB / 0.5311 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.02141, allocations: 39.38 kB / 0.5312 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003455/0.02176, allocations: 0.5508 MB / 0.5317 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.02189, allocations: 49.14 kB / 0.5317 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.02201, allocations: 53.17 kB / 0.5318 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.02228, allocations: 131.6 kB / 0.5319 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.02228, allocations: 0 / 0.5319 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003852/0.02266, allocations: 205.3 kB / 0.5321 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.02268, allocations: 4 kB / 0.5321 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.02269, allocations: 0.6562 kB / 0.5321 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.0227, allocations: 0.6562 kB / 0.5321 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.02295, allocations: 48.53 kB / 0.5322 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.02296, allocations: 4 kB / 0.5322 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.02309, allocations: 21.38 kB / 0.5322 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.0231, allocations: 4 kB / 0.5322 GB, free: 5.496 MB / 0.4948 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 0.0001868/0.02329, allocations: 196.5 kB / 0.5324 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/0.02337, allocations: 36.42 kB / 0.5324 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.477e-05/0.02345, allocations: 39.41 kB / 0.5325 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.02346, allocations: 0.625 kB / 0.5325 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.02346, allocations: 1.188 kB / 0.5325 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.02347, allocations: 3.984 kB / 0.5325 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.02397, allocations: 356.4 kB / 0.5328 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.02398, allocations: 5.219 kB / 0.5328 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.02423, allocations: 51.97 kB / 0.5329 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.02423, allocations: 0 / 0.5329 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.02425, allocations: 8.875 kB / 0.5329 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.02425, allocations: 0 / 0.5329 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02425, allocations: 0 / 0.5329 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.02489, allocations: 425.2 kB / 0.5333 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.683e-05/0.02498, allocations: 55.41 kB / 0.5333 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.02502, allocations: 0 / 0.5333 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.02516, allocations: 8 kB / 0.5333 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.02521, allocations: 11.97 kB / 0.5333 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.02522, allocations: 8 kB / 0.5333 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003865/0.02561, allocations: 323.1 kB / 0.5337 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02561, allocations: 0 / 0.5337 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003156/0.02593, allocations: 75.84 kB / 0.5337 GB, free: 3.875 MB / 0.4948 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 0.0001631/0.02609, allocations: 114.2 kB / 0.5338 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003592/0.02645, allocations: 147.5 kB / 0.534 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02645, allocations: 0 / 0.534 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.02661, allocations: 86.41 kB / 0.5341 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.02713, allocations: 77.36 kB / 0.5341 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.02846, allocations: 0.6752 MB / 0.5348 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.02869, allocations: 190.6 kB / 0.535 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.0288, allocations: 29.03 kB / 0.535 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.02887, allocations: 24.5 kB / 0.535 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.02887, allocations: 0 / 0.535 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of Templates: time 0.009514/0.03839, allocations: 3.664 MB / 0.5386 GB, free: 15.11 MB / 0.5105 GB " [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: 6.240915611037053]