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.001319/0.001319, allocations: 77.14 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001545/0.001545, allocations: 173 kB / 23.28 MB, free: 1.219 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 0.9203/0.9203, allocations: 177.1 MB / 203.7 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7574/0.7574, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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 179] 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 1.573e-06/1.573e-06, allocations: 0 / 0.5208 GB, free: 1.812 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.319e-05, allocations: 12.36 kB / 0.5208 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002994/0.003017, allocations: 3.043 MB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.00511, allocations: 2.104 MB / 0.5259 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.005293, allocations: 4 kB / 0.5259 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.006339, allocations: 483.9 kB / 0.5263 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.006543, allocations: 144.7 kB / 0.5265 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 9.689e-05/0.00664, allocations: 64.42 kB / 0.5265 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.006987, allocations: 458.3 kB / 0.527 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.007146, allocations: 103.4 kB / 0.5271 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.007441, allocations: 252.6 kB / 0.5273 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.007589, allocations: 143.6 kB / 0.5274 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.007621, allocations: 32 kB / 0.5275 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.75e-05/0.007658, allocations: 36.59 kB / 0.5275 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.007739, allocations: 101.4 kB / 0.5276 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.007831, allocations: 135.7 kB / 0.5277 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.008092, allocations: 290.9 kB / 0.528 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.008095, allocations: 3.938 kB / 0.528 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.008096, allocations: 0 / 0.528 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.008102, allocations: 1.719 kB / 0.528 GB, free: 10.46 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.0006373/0.008739, allocations: 0.7469 MB / 0.5287 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.008773, allocations: 12.02 kB / 0.5287 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.008842, allocations: 64.66 kB / 0.5288 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.009104, allocations: 305.5 kB / 0.5291 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.009119, allocations: 16.88 kB / 0.5291 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.009146, allocations: 20.38 kB / 0.5291 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.009328, allocations: 145.4 kB / 0.5293 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.009338, allocations: 192 / 0.5293 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.009351, allocations: 8.375 kB / 0.5293 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.009358, allocations: 11.94 kB / 0.5293 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.144e-05/0.00944, allocations: 61.44 kB / 0.5293 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.01007, allocations: 0.6263 MB / 0.53 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.01018, allocations: 103.9 kB / 0.5301 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.01024, allocations: 53.62 kB / 0.5301 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.01025, allocations: 4 kB / 0.5301 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.01026, allocations: 37.39 kB / 0.5302 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.01027, allocations: 0 / 0.5302 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0001907/0.01046, allocations: 145.7 kB / 0.5303 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.01048, allocations: 55.41 kB / 0.5303 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.01072, allocations: 433.3 kB / 0.5308 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.01074, allocations: 29.7 kB / 0.5308 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.01086, allocations: 286.9 kB / 0.5311 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.0109, allocations: 63.42 kB / 0.5311 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.01095, allocations: 39.36 kB / 0.5312 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.01109, allocations: 0.539 MB / 0.5317 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.01112, allocations: 15.98 kB / 0.5317 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.449e-05/0.01114, allocations: 20.89 kB / 0.5317 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.591e-05/0.01121, allocations: 65.2 kB / 0.5318 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01121, allocations: 0 / 0.5318 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001313/0.01134, allocations: 139.3 kB / 0.5319 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.01136, allocations: 4 kB / 0.5319 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01136, allocations: 0 / 0.5319 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/0.01137, allocations: 1.594 kB / 0.5319 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.01151, allocations: 55.91 kB / 0.532 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.01151, allocations: 4 kB / 0.532 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.01157, allocations: 11.89 kB / 0.532 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.01158, allocations: 4.656 kB / 0.532 GB, free: 6.207 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 8.856e-05/0.01167, allocations: 169.1 kB / 0.5322 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.0117, allocations: 40.39 kB / 0.5322 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.01175, allocations: 39.39 kB / 0.5322 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01175, allocations: 5.375 kB / 0.5322 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.01175, allocations: 0 / 0.5322 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01176, allocations: 0 / 0.5322 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.01197, allocations: 229 kB / 0.5325 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01198, allocations: 0.6562 kB / 0.5325 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.0121, allocations: 57.45 kB / 0.5325 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01211, allocations: 0 / 0.5325 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01212, allocations: 4 kB / 0.5325 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01212, allocations: 4 kB / 0.5325 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01212, allocations: 0.5938 kB / 0.5325 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.01235, allocations: 321.7 kB / 0.5328 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.01239, allocations: 35.73 kB / 0.5329 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.01241, allocations: 9.094 kB / 0.5329 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.436e-05/0.01247, allocations: 0 / 0.5329 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.0125, allocations: 15.97 kB / 0.5329 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.01251, allocations: 9.219 kB / 0.5329 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001359/0.01264, allocations: 271 kB / 0.5331 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01264, allocations: 0 / 0.5331 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001877/0.01283, allocations: 76.78 kB / 0.5332 GB, free: 4.902 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 9.728e-05/0.01293, allocations: 108.1 kB / 0.5333 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.01303, allocations: 73.61 kB / 0.5334 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01303, allocations: 3.875 kB / 0.5334 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.565e-05/0.01308, allocations: 61.39 kB / 0.5335 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.01338, allocations: 86.61 kB / 0.5335 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.01422, allocations: 0.6411 MB / 0.5342 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.534e-05/0.01428, allocations: 100.3 kB / 0.5343 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.656e-05/0.01435, allocations: 26.97 kB / 0.5343 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.01449, allocations: 138.8 kB / 0.5344 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/0.01449, allocations: 2.188 kB / 0.5344 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of Templates: time 0.0058/0.02029, allocations: 3.971 MB / 0.5383 GB, free: 15.96 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: 3.4035340431146324]