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.00157/0.00157, allocations: 93.06 kB / 19.65 MB, free: 280 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.001142/0.001142, allocations: 169 kB / 23.02 MB, free: 1.551 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.9046/0.9046, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7298/0.7298, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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 2.054e-06/2.054e-06, allocations: 0 / 0.5204 GB, free: 2.121 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.502e-05, allocations: 3.578 kB / 0.5204 GB, free: 2.117 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001794/0.001819, allocations: 1.483 MB / 0.5219 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.004987, allocations: 2.838 MB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.005037, allocations: 0.75 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.005062, allocations: 7.922 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.732e-05/0.005119, allocations: 13.27 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.008013, allocations: 1.652 MB / 0.5263 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.064e-05/0.008093, allocations: 39.69 kB / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.008128, allocations: 11.97 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.463e-05/0.008163, allocations: 19.92 kB / 0.5263 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 1.994e-05/0.008183, allocations: 15.94 kB / 0.5264 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.008193, allocations: 0 / 0.5264 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.009742, allocations: 1.495 MB / 0.5278 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.009755, allocations: 3.938 kB / 0.5278 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.00978, allocations: 11.98 kB / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.01102, allocations: 1.282 MB / 0.5291 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.01103, allocations: 0.5 kB / 0.5291 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.52e-07/0.01103, allocations: 3 kB / 0.5291 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.01103, allocations: 0 / 0.5291 GB, free: 9.285 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.0004796/0.01151, allocations: 0.5647 MB / 0.5296 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.01155, allocations: 12.03 kB / 0.5297 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.0116, allocations: 124.1 kB / 0.5298 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.01171, allocations: 239.7 kB / 0.53 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.01176, allocations: 238.8 kB / 0.5302 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.01182, allocations: 242.7 kB / 0.5305 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.215e-05/0.01188, allocations: 155.9 kB / 0.5306 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.01191, allocations: 119.4 kB / 0.5307 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.01196, allocations: 242.5 kB / 0.531 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-05/0.01201, allocations: 242.4 kB / 0.5312 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.8e-05/0.01206, allocations: 238.4 kB / 0.5314 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.01228, allocations: 0.5837 MB / 0.532 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.969e-05/0.01236, allocations: 265.4 kB / 0.5322 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.01239, allocations: 128.3 kB / 0.5324 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.01242, allocations: 127.2 kB / 0.5325 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.01246, allocations: 152.6 kB / 0.5326 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.01246, allocations: 1 kB / 0.5326 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.654e-05/0.01251, allocations: 37.64 kB / 0.5327 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.01257, allocations: 182.5 kB / 0.5328 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.01267, allocations: 188.8 kB / 0.533 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.944e-06/0.01268, allocations: 25.7 kB / 0.533 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.01273, allocations: 142.9 kB / 0.5332 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/0.01273, allocations: 1.406 kB / 0.5332 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.01275, allocations: 19.38 kB / 0.5332 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.01286, allocations: 0.4884 MB / 0.5337 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.01288, allocations: 3.984 kB / 0.5337 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.01289, allocations: 5.281 kB / 0.5337 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/0.01292, allocations: 19.8 kB / 0.5337 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01292, allocations: 0 / 0.5337 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.636e-05/0.01302, allocations: 50.25 kB / 0.5337 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.01303, allocations: 4.625 kB / 0.5338 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.01304, allocations: 4 kB / 0.5338 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.01306, allocations: 5.484 kB / 0.5338 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.938e-06/0.01306, allocations: 3.938 kB / 0.5338 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.01306, allocations: 3.938 kB / 0.5338 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.01308, allocations: 12 kB / 0.5338 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.01309, allocations: 0.9688 kB / 0.5338 GB, free: 4.273 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 7.808e-05/0.01316, allocations: 271.8 kB / 0.534 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.0132, allocations: 153.4 kB / 0.5342 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.01325, allocations: 160.6 kB / 0.5343 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-05/0.0133, allocations: 264.7 kB / 0.5346 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.504e-05/0.01335, allocations: 272.7 kB / 0.5349 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.218e-05/0.0134, allocations: 272 kB / 0.5351 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.01355, allocations: 0.4967 MB / 0.5356 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/0.01358, allocations: 150.3 kB / 0.5357 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.01362, allocations: 148.9 kB / 0.5359 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-05/0.01368, allocations: 276 kB / 0.5361 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/0.01374, allocations: 264.1 kB / 0.5364 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-05/0.0138, allocations: 265.7 kB / 0.5366 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-05/0.01385, allocations: 272 kB / 0.5369 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.01398, allocations: 455.8 kB / 0.5373 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.01401, allocations: 152.8 kB / 0.5375 GB, free: 320 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.421e-05/0.01408, allocations: 264.1 kB / 0.5377 GB, free: 48 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.087e-05/0.01414, allocations: 163.2 kB / 0.5379 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.0142, allocations: 268 kB / 0.5382 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.01423, allocations: 148.8 kB / 0.5383 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.01428, allocations: 145.4 kB / 0.5384 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.01428, allocations: 4 kB / 0.5384 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004651/0.01475, allocations: 294.9 kB / 0.5387 GB, free: 15.03 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.0007403/0.01549, allocations: 0.6359 MB / 0.5393 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.01557, allocations: 50.16 kB / 0.5394 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01557, allocations: 0 / 0.5394 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.01557, allocations: 1.438 kB / 0.5394 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.01588, allocations: 0.7062 MB / 0.5401 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.01614, allocations: 282.5 kB / 0.5403 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.965e-05/0.01617, allocations: 52.2 kB / 0.5404 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.132e-05/0.01618, allocations: 4 kB / 0.5404 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/0.01619, allocations: 9.688 kB / 0.5404 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/0.01619, allocations: 0 / 0.5404 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.008889/0.02508, allocations: 8.046 MB / 0.5483 GB, free: 5.367 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.794510413892567]