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.001205/0.001205, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001074/0.001074, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.92/0.92, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.7427/0.7427, allocations: 154.6 MB / 415.6 MB, free: 0.5391 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.773e-06/1.773e-06, allocations: 0 / 0.5216 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.905e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002674/0.002693, allocations: 1.477 MB / 0.5231 GB, free: 408 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.007685, allocations: 2.77 MB / 0.5258 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.00774, allocations: 3.938 kB / 0.5258 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.007766, allocations: 5.734 kB / 0.5258 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.007836, allocations: 15.86 kB / 0.5258 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003979/0.01182, allocations: 1.637 MB / 0.5274 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.01193, allocations: 47.67 kB / 0.5274 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.01197, allocations: 7.984 kB / 0.5275 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.01201, allocations: 19.92 kB / 0.5275 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.347e-05/0.01204, allocations: 11.03 kB / 0.5275 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.01205, allocations: 4 kB / 0.5275 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.01438, allocations: 1.497 MB / 0.5289 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.0144, allocations: 3.938 kB / 0.529 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.01442, allocations: 19.91 kB / 0.529 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.01636, allocations: 1.286 MB / 0.5302 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.01636, allocations: 1.5 kB / 0.5302 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.11e-07/0.01636, allocations: 0 / 0.5302 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.01636, allocations: 0 / 0.5302 GB, free: 9.094 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.0006447/0.01701, allocations: 0.5647 MB / 0.5308 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.01705, allocations: 8.531 kB / 0.5308 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/0.01711, allocations: 128.1 kB / 0.5309 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.01725, allocations: 250.8 kB / 0.5312 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.998e-05/0.01732, allocations: 238.8 kB / 0.5314 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.01738, allocations: 242.8 kB / 0.5316 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.777e-05/0.01745, allocations: 149.4 kB / 0.5318 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/0.01748, allocations: 119.4 kB / 0.5319 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.01755, allocations: 246.5 kB / 0.5321 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.367e-05/0.01761, allocations: 238.4 kB / 0.5323 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.444e-05/0.01768, allocations: 238.4 kB / 0.5326 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.01795, allocations: 0.5671 MB / 0.5331 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.01805, allocations: 265.4 kB / 0.5334 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.01809, allocations: 130.9 kB / 0.5335 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.01812, allocations: 119.2 kB / 0.5336 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.01834, allocations: 152.6 kB / 0.5337 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.01834, allocations: 0 / 0.5337 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 6.131e-05/0.0184, allocations: 35.03 kB / 0.5338 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.01846, allocations: 174.5 kB / 0.5339 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.01859, allocations: 208.1 kB / 0.5341 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.0186, allocations: 25.7 kB / 0.5342 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.01865, allocations: 140.5 kB / 0.5343 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.01866, allocations: 0 / 0.5343 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.01869, allocations: 23.36 kB / 0.5343 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.01883, allocations: 0.4884 MB / 0.5348 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.01884, allocations: 2.438 kB / 0.5348 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.264e-05/0.01886, allocations: 4.047 kB / 0.5348 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.01889, allocations: 19.67 kB / 0.5348 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.0189, allocations: 0 / 0.5348 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001067/0.019, allocations: 49.66 kB / 0.5349 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.01901, allocations: 4 kB / 0.5349 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.01903, allocations: 6.062 kB / 0.5349 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.01904, allocations: 3.938 kB / 0.5349 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.01904, allocations: 0 / 0.5349 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01905, allocations: 3.938 kB / 0.5349 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/0.01907, allocations: 0 / 0.5349 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.01907, allocations: 7.984 kB / 0.5349 GB, free: 4.113 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.0001059/0.01918, allocations: 273.2 kB / 0.5352 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.01924, allocations: 152.8 kB / 0.5353 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.424e-05/0.0193, allocations: 156.6 kB / 0.5355 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.391e-05/0.01937, allocations: 265.4 kB / 0.5357 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-05/0.01944, allocations: 272.1 kB / 0.536 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.332e-05/0.01952, allocations: 276 kB / 0.5362 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.01974, allocations: 488.6 kB / 0.5367 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.591e-05/0.01979, allocations: 153.6 kB / 0.5368 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.01983, allocations: 149.5 kB / 0.537 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.077e-05/0.0199, allocations: 264.1 kB / 0.5372 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/0.01997, allocations: 269.3 kB / 0.5375 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.571e-05/0.02004, allocations: 272.1 kB / 0.5378 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.044e-05/0.02014, allocations: 276 kB / 0.538 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.02026, allocations: 449.6 kB / 0.5384 GB, free: 344 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.0203, allocations: 152.8 kB / 0.5386 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.298e-05/0.02038, allocations: 276 kB / 0.5389 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.02044, allocations: 148.8 kB / 0.539 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.0205, allocations: 272 kB / 0.5393 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.02054, allocations: 149.5 kB / 0.5394 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.02059, allocations: 145.8 kB / 0.5395 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02059, allocations: 0 / 0.5395 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004632/0.02105, allocations: 302.9 kB / 0.5398 GB, free: 14.89 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.000727/0.02178, allocations: 0.6365 MB / 0.5404 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.386e-05/0.02185, allocations: 45.38 kB / 0.5405 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.02185, allocations: 0 / 0.5405 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.02185, allocations: 1.281 kB / 0.5405 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.02221, allocations: 0.7108 MB / 0.5412 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.02246, allocations: 279.3 kB / 0.5415 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.207e-05/0.02249, allocations: 51.36 kB / 0.5415 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.089e-05/0.0225, allocations: 4.812 kB / 0.5415 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.02255, allocations: 78.19 kB / 0.5416 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.02255, allocations: 1.375 kB / 0.5416 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.0083/0.03085, allocations: 7.359 MB / 0.5488 GB, free: 5.852 MB / 0.5105 GB " [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.8711996083147824]