Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00189/0.00189, allocations: 88.16 kB / 19.44 MB, free: 188 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.002064/0.002064, allocations: 165.3 kB / 22.77 MB, free: 1.512 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.532/1.532, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.327/1.327, allocations: 154.6 MB / 414.1 MB, free: 0.6641 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.5197 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.269e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005505/0.005538, allocations: 3.082 MB / 0.5227 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003824/0.009362, allocations: 2.119 MB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.009569, allocations: 4 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.01119, allocations: 483.7 kB / 0.5252 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.01154, allocations: 152.8 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.01169, allocations: 59.88 kB / 0.5254 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006097/0.0123, allocations: 462.1 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.01254, allocations: 95.84 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000442/0.01298, allocations: 248.8 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.01326, allocations: 135.6 kB / 0.5263 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.856e-05/0.01332, allocations: 32 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.758e-05/0.0134, allocations: 36.94 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.01355, allocations: 103.7 kB / 0.5265 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.01375, allocations: 146.9 kB / 0.5266 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.01475, allocations: 0.5397 MB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.01476, allocations: 4 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01476, allocations: 0 / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.01477, allocations: 0 / 0.5272 GB, free: 10.86 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.001378/0.01615, allocations: 0.7667 MB / 0.5279 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.0162, allocations: 8.031 kB / 0.5279 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.01633, allocations: 64.66 kB / 0.528 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.01691, allocations: 326.6 kB / 0.5283 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.01694, allocations: 12.88 kB / 0.5283 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.017, allocations: 20.38 kB / 0.5283 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.01742, allocations: 194.1 kB / 0.5285 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.01744, allocations: 4.172 kB / 0.5285 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.01746, allocations: 8.375 kB / 0.5285 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.01747, allocations: 8.438 kB / 0.5285 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.01785, allocations: 156.5 kB / 0.5287 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.01929, allocations: 0.8003 MB / 0.5295 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.01962, allocations: 149.3 kB / 0.5296 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.01983, allocations: 102.1 kB / 0.5297 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.01987, allocations: 4 kB / 0.5297 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.01991, allocations: 45.39 kB / 0.5297 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.01991, allocations: 0 / 0.5297 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0005869/0.0205, allocations: 233.6 kB / 0.53 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.02055, allocations: 57.03 kB / 0.53 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006605/0.02121, allocations: 498.8 kB / 0.5305 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.02124, allocations: 29.7 kB / 0.5305 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.02151, allocations: 279.1 kB / 0.5308 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/0.0216, allocations: 80.38 kB / 0.5309 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.02169, allocations: 43.38 kB / 0.5309 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003821/0.02207, allocations: 0.5508 MB / 0.5314 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.0222, allocations: 44.95 kB / 0.5315 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.02232, allocations: 54.03 kB / 0.5315 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.0226, allocations: 134.8 kB / 0.5317 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.0226, allocations: 3.938 kB / 0.5317 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003957/0.02299, allocations: 195.8 kB / 0.5319 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.02301, allocations: 8 kB / 0.5319 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.02302, allocations: 0 / 0.5319 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.02303, allocations: 0 / 0.5319 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.02329, allocations: 51.97 kB / 0.5319 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.0233, allocations: 7.938 kB / 0.5319 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.02342, allocations: 18.22 kB / 0.5319 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.02344, allocations: 7.938 kB / 0.5319 GB, free: 5.773 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.0001958/0.02364, allocations: 188.6 kB / 0.5321 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.02372, allocations: 43.77 kB / 0.5322 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.652e-05/0.02381, allocations: 35.41 kB / 0.5322 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.02381, allocations: 5.406 kB / 0.5322 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.02382, allocations: 4 kB / 0.5322 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.02383, allocations: 3.984 kB / 0.5322 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.02434, allocations: 352.4 kB / 0.5326 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.02434, allocations: 1.281 kB / 0.5326 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.0246, allocations: 55.91 kB / 0.5326 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.02461, allocations: 4.656 kB / 0.5326 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.02463, allocations: 0 / 0.5326 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.02463, allocations: 0.625 kB / 0.5326 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.02463, allocations: 0 / 0.5326 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.0253, allocations: 427 kB / 0.533 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.02539, allocations: 43.69 kB / 0.5331 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.02543, allocations: 4 kB / 0.5331 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.02557, allocations: 4.531 kB / 0.5331 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.709e-05/0.02565, allocations: 20.53 kB / 0.5331 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.02566, allocations: 4 kB / 0.5331 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003991/0.02606, allocations: 324 kB / 0.5334 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.02606, allocations: 0 / 0.5334 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003281/0.02639, allocations: 81.34 kB / 0.5335 GB, free: 4.152 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.0001724/0.02656, allocations: 103.2 kB / 0.5336 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006666/0.02722, allocations: 149.5 kB / 0.5337 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02723, allocations: 0 / 0.5337 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.02739, allocations: 86.03 kB / 0.5338 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.02797, allocations: 92.05 kB / 0.5339 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.02932, allocations: 0.6769 MB / 0.5346 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.02956, allocations: 187.3 kB / 0.5347 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.02969, allocations: 28.97 kB / 0.5348 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.02976, allocations: 24.5 kB / 0.5348 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.02976, allocations: 0 / 0.5348 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of Templates: time 0.009624/0.03938, allocations: 3.661 MB / 0.5384 GB, free: 15.38 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.101051538949832]