Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001857/0.001857, allocations: 85.48 kB / 19.44 MB, free: 344 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.002164/0.002164, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.623/1.623, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.344/1.344, allocations: 154.6 MB / 414.2 MB, free: 0.6562 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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5197 GB, free: 2.465 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.348e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.461 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003037/0.003071, allocations: 1.47 MB / 0.5212 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005784/0.008855, allocations: 2.779 MB / 0.5239 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.008909, allocations: 1.469 kB / 0.5239 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.008929, allocations: 0 / 0.5239 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.928e-05/0.009018, allocations: 19.8 kB / 0.5239 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004465/0.01348, allocations: 1.606 MB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.01361, allocations: 43.67 kB / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.01365, allocations: 9.484 kB / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.395e-05/0.01371, allocations: 19.92 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.066e-05/0.01374, allocations: 11.98 kB / 0.5255 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.01375, allocations: 0 / 0.5255 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/0.01642, allocations: 1.456 MB / 0.527 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.01644, allocations: 7.922 kB / 0.527 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.01647, allocations: 9.281 kB / 0.527 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.0185, allocations: 1.254 MB / 0.5282 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.01851, allocations: 0 / 0.5282 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.515e-06/0.01851, allocations: 0 / 0.5282 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.01852, allocations: 4.562 kB / 0.5282 GB, free: 9.801 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001085/0.0196, allocations: 0.5496 MB / 0.5287 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.01964, allocations: 12.03 kB / 0.5287 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.01975, allocations: 120.6 kB / 0.5289 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.01997, allocations: 247.7 kB / 0.5291 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.02012, allocations: 241.1 kB / 0.5293 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.02026, allocations: 238.8 kB / 0.5296 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.02037, allocations: 149.5 kB / 0.5297 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.84e-05/0.02044, allocations: 119.4 kB / 0.5298 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.02059, allocations: 250.4 kB / 0.5301 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.02071, allocations: 238.4 kB / 0.5303 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.02085, allocations: 240.8 kB / 0.5305 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.02134, allocations: 0.5875 MB / 0.5311 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.02154, allocations: 265.4 kB / 0.5313 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.02162, allocations: 126.9 kB / 0.5315 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.519e-05/0.0217, allocations: 123.1 kB / 0.5316 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.0218, allocations: 160.6 kB / 0.5317 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 6.42e-07/0.0218, allocations: 1.875 kB / 0.5317 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 9.266e-05/0.0219, allocations: 29.7 kB / 0.5318 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.02201, allocations: 174.5 kB / 0.5319 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.02223, allocations: 196 kB / 0.5321 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.02225, allocations: 25.7 kB / 0.5321 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/0.02235, allocations: 143.5 kB / 0.5323 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.02235, allocations: 0 / 0.5323 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.0224, allocations: 20.22 kB / 0.5323 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002729/0.02267, allocations: 496.1 kB / 0.5328 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.02269, allocations: 5.031 kB / 0.5328 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.02272, allocations: 11.92 kB / 0.5328 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.02276, allocations: 16.5 kB / 0.5328 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.02276, allocations: 0 / 0.5328 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001474/0.02291, allocations: 41.7 kB / 0.5328 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.02292, allocations: 5 kB / 0.5328 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.02295, allocations: 7.984 kB / 0.5328 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.02296, allocations: 6.375 kB / 0.5329 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-06/0.02297, allocations: 3.938 kB / 0.5329 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.02297, allocations: 0 / 0.5329 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.023, allocations: 15.89 kB / 0.5329 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.02301, allocations: 0 / 0.5329 GB, free: 4.809 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001891/0.0232, allocations: 279.7 kB / 0.5331 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.0233, allocations: 159.5 kB / 0.5333 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.0234, allocations: 156.7 kB / 0.5334 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001366/0.02354, allocations: 268 kB / 0.5337 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000147/0.02369, allocations: 272 kB / 0.534 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001498/0.02384, allocations: 268 kB / 0.5342 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.0242, allocations: 0.4961 MB / 0.5347 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.56e-05/0.02429, allocations: 152.9 kB / 0.5348 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.056e-05/0.02437, allocations: 150.1 kB / 0.535 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001518/0.02452, allocations: 268.1 kB / 0.5352 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/0.02467, allocations: 268 kB / 0.5355 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004377/0.02511, allocations: 265.5 kB / 0.5358 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001726/0.02528, allocations: 272.1 kB / 0.536 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.02557, allocations: 447.9 kB / 0.5364 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.02567, allocations: 156.8 kB / 0.5366 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.02583, allocations: 268.6 kB / 0.5368 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.02596, allocations: 152.9 kB / 0.537 GB, free: 428 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.02612, allocations: 272.6 kB / 0.5372 GB, free: 148 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.02622, allocations: 145.8 kB / 0.5374 GB, free: 16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001064/0.02633, allocations: 145.5 kB / 0.5375 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.02633, allocations: 0 / 0.5375 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009401/0.02727, allocations: 296.5 kB / 0.5378 GB, free: 15.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001266/0.02854, allocations: 0.6137 MB / 0.5384 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.02867, allocations: 45.33 kB / 0.5385 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.02867, allocations: 0 / 0.5385 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.02867, allocations: 1.188 kB / 0.5385 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.02931, allocations: 0.7174 MB / 0.5392 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.02971, allocations: 282.6 kB / 0.5394 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.878e-05/0.02979, allocations: 65.25 kB / 0.5395 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.281e-05/0.02981, allocations: 0 / 0.5395 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.02983, allocations: 12.5 kB / 0.5395 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/0.02983, allocations: 0 / 0.5395 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.01229/0.04212, allocations: 5.802 MB / 0.5452 GB, free: 8.148 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.717191326082684]