Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.0009342/0.0009342, allocations: 93.06 kB / 19.65 MB, free: 272 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.000951/0.000951, allocations: 169 kB / 23.02 MB, free: 1.543 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.9325/0.9325, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.7761/0.7761, allocations: 154.6 MB / 414.5 MB, free: 0.6289 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.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5204 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.215e-05, allocations: 3.781 kB / 0.5204 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002527/0.002549, allocations: 1.497 MB / 0.5219 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004784/0.007333, allocations: 2.831 MB / 0.5246 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.007391, allocations: 0 / 0.5246 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.007427, allocations: 0 / 0.5246 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.679e-05/0.007524, allocations: 23.78 kB / 0.5247 GB, free: 12.61 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.01182, allocations: 1.634 MB / 0.5263 GB, free: 11.01 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.01192, allocations: 47.67 kB / 0.5263 GB, free: 10.96 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.01196, allocations: 0 / 0.5263 GB, free: 10.96 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.01201, allocations: 25.73 kB / 0.5263 GB, free: 10.94 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.706e-05/0.01203, allocations: 11.98 kB / 0.5263 GB, free: 10.93 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.01205, allocations: 4 kB / 0.5263 GB, free: 10.93 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.01453, allocations: 1.495 MB / 0.5278 GB, free: 9.43 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.01455, allocations: 7.984 kB / 0.5278 GB, free: 9.422 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.01459, allocations: 15.88 kB / 0.5278 GB, free: 9.406 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.01652, allocations: 1.278 MB / 0.5291 GB, free: 8.125 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.01652, allocations: 0 / 0.5291 GB, free: 8.125 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01652, allocations: 2.75 kB / 0.5291 GB, free: 8.125 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.01653, allocations: 0 / 0.5291 GB, free: 8.125 MB / 458.7 MB 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.0007474/0.01728, allocations: 0.5647 MB / 0.5296 GB, free: 7.523 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.01732, allocations: 8.031 kB / 0.5296 GB, free: 7.516 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.0174, allocations: 128.1 kB / 0.5298 GB, free: 7.391 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.01755, allocations: 235.8 kB / 0.53 GB, free: 7.133 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-05/0.01762, allocations: 238.8 kB / 0.5302 GB, free: 6.898 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/0.01771, allocations: 246.8 kB / 0.5305 GB, free: 6.656 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.45e-05/0.01779, allocations: 151.1 kB / 0.5306 GB, free: 6.504 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.01783, allocations: 119.4 kB / 0.5307 GB, free: 6.387 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/0.0179, allocations: 242.5 kB / 0.5309 GB, free: 6.148 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002382/0.01814, allocations: 238.4 kB / 0.5312 GB, free: 5.914 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.207e-05/0.01821, allocations: 242.9 kB / 0.5314 GB, free: 5.676 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.01853, allocations: 0.5859 MB / 0.532 GB, free: 5.059 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.01866, allocations: 265.4 kB / 0.5322 GB, free: 4.785 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.01871, allocations: 130.9 kB / 0.5323 GB, free: 4.652 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.01874, allocations: 119.2 kB / 0.5325 GB, free: 4.535 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.152e-05/0.0188, allocations: 152.6 kB / 0.5326 GB, free: 4.375 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.01881, allocations: 3.938 kB / 0.5326 GB, free: 4.371 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 9.778e-05/0.0189, allocations: 38.53 kB / 0.5326 GB, free: 4.328 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/0.01898, allocations: 174.5 kB / 0.5328 GB, free: 4.145 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.01916, allocations: 197.7 kB / 0.533 GB, free: 3.934 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.01917, allocations: 31.14 kB / 0.533 GB, free: 3.898 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.01924, allocations: 138.9 kB / 0.5332 GB, free: 3.758 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.01924, allocations: 0 / 0.5332 GB, free: 3.758 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.01929, allocations: 19.38 kB / 0.5332 GB, free: 3.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.01945, allocations: 0.4934 MB / 0.5337 GB, free: 3.227 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.01947, allocations: 0 / 0.5337 GB, free: 3.227 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/0.01948, allocations: 8.047 kB / 0.5337 GB, free: 3.219 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.959e-05/0.01953, allocations: 20.78 kB / 0.5337 GB, free: 3.195 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01954, allocations: 4 kB / 0.5337 GB, free: 3.191 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001729/0.01971, allocations: 50.7 kB / 0.5337 GB, free: 3.137 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.01973, allocations: 4 kB / 0.5338 GB, free: 3.133 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.01975, allocations: 4 kB / 0.5338 GB, free: 3.129 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.01978, allocations: 0.8438 kB / 0.5338 GB, free: 3.129 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-06/0.01978, allocations: 7.875 kB / 0.5338 GB, free: 3.121 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.01979, allocations: 4.812 kB / 0.5338 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.01982, allocations: 0 / 0.5338 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.01983, allocations: 0 / 0.5338 GB, free: 3.117 MB / 458.7 MB 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.0001364/0.01997, allocations: 278.9 kB / 0.534 GB, free: 2.836 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/0.02004, allocations: 152.8 kB / 0.5342 GB, free: 2.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.042e-05/0.02012, allocations: 156.6 kB / 0.5343 GB, free: 2.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.861e-05/0.02021, allocations: 268.1 kB / 0.5346 GB, free: 2.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001042/0.02032, allocations: 272 kB / 0.5348 GB, free: 1.977 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.458e-05/0.0204, allocations: 272 kB / 0.5351 GB, free: 1.703 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.02066, allocations: 0.4961 MB / 0.5356 GB, free: 1.164 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.197e-05/0.02071, allocations: 152.5 kB / 0.5357 GB, free: 1.012 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.036e-05/0.02076, allocations: 148.9 kB / 0.5359 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-05/0.02085, allocations: 272.1 kB / 0.5361 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.34e-05/0.02094, allocations: 272 kB / 0.5364 GB, free: 320 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.599e-05/0.02103, allocations: 264.1 kB / 0.5366 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.385e-05/0.02112, allocations: 272 kB / 0.5369 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.0213, allocations: 447.9 kB / 0.5373 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.02136, allocations: 160.8 kB / 0.5375 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.02148, allocations: 276.1 kB / 0.5377 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.02157, allocations: 148.8 kB / 0.5379 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.02166, allocations: 270.7 kB / 0.5381 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003012/0.02196, allocations: 148.9 kB / 0.5383 GB, free: 14.29 MB / 474.7 MB Notification: Performance of sorting global known variables: time 8.238e-05/0.02204, allocations: 149.3 kB / 0.5384 GB, free: 14.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02204, allocations: 3.938 kB / 0.5384 GB, free: 14.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009115/0.02295, allocations: 295 kB / 0.5387 GB, free: 13.86 MB / 474.7 MB 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.001203/0.02415, allocations: 0.6301 MB / 0.5393 GB, free: 13.22 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.02429, allocations: 46.33 kB / 0.5394 GB, free: 13.17 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.02429, allocations: 0 / 0.5394 GB, free: 13.17 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.02429, allocations: 1.25 kB / 0.5394 GB, free: 13.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.02475, allocations: 0.716 MB / 0.5401 GB, free: 12.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.02512, allocations: 279.6 kB / 0.5403 GB, free: 12.15 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.299e-05/0.02516, allocations: 55.34 kB / 0.5404 GB, free: 12.07 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.507e-05/0.02518, allocations: 4 kB / 0.5404 GB, free: 12.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.0252, allocations: 10.72 kB / 0.5404 GB, free: 12.06 MB / 474.7 MB Notification: Performance of SimCode: time 6.52e-07/0.0252, allocations: 0 / 0.5404 GB, free: 12.06 MB / 474.7 MB Notification: Performance of Templates: time 0.007983/0.03318, allocations: 5.988 MB / 0.5463 GB, free: 6.262 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7802310567349195]