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.001959/0.001959, 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.002044/0.002044, 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.572/1.572, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.295/1.295, allocations: 154.6 MB / 414.1 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.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.473e-06/1.473e-06, allocations: 0 / 0.5197 GB, free: 2.461 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.729e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.457 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002683/0.00271, allocations: 1.457 MB / 0.5211 GB, free: 1.008 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005071/0.007781, allocations: 2.831 MB / 0.5239 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.00782, allocations: 0 / 0.5239 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.007838, allocations: 0 / 0.5239 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.007913, allocations: 20.5 kB / 0.5239 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004097/0.01201, allocations: 1.639 MB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.01211, allocations: 43.67 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.01215, allocations: 7.984 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.0122, allocations: 23.92 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.908e-05/0.01223, allocations: 11.98 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.01224, allocations: 0 / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.01474, allocations: 1.494 MB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.01476, allocations: 13.47 kB / 0.5271 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.0148, allocations: 15.94 kB / 0.5271 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.01673, allocations: 1.272 MB / 0.5283 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.01673, allocations: 0 / 0.5283 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.452e-06/0.01673, allocations: 0 / 0.5283 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.01674, allocations: 1.281 kB / 0.5283 GB, free: 9.664 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.0007922/0.01753, allocations: 0.5644 MB / 0.5289 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.01757, allocations: 8.031 kB / 0.5289 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.683e-05/0.01766, allocations: 128.7 kB / 0.529 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.01785, allocations: 238.1 kB / 0.5292 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.01797, allocations: 243.6 kB / 0.5295 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.01809, allocations: 242.8 kB / 0.5297 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.01819, allocations: 149.9 kB / 0.5299 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.02e-05/0.01825, allocations: 125.1 kB / 0.53 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.01836, allocations: 242.5 kB / 0.5302 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.01847, allocations: 238.4 kB / 0.5304 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.0186, allocations: 242.4 kB / 0.5307 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.01902, allocations: 0.5836 MB / 0.5312 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.01919, allocations: 271.8 kB / 0.5315 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.739e-05/0.01925, allocations: 130.9 kB / 0.5316 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/0.01931, allocations: 119.2 kB / 0.5317 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.474e-05/0.01941, allocations: 156.6 kB / 0.5319 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.01941, allocations: 0 / 0.5319 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.546e-05/0.0195, allocations: 37.59 kB / 0.5319 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.779e-05/0.01959, allocations: 177 kB / 0.5321 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.01979, allocations: 197.8 kB / 0.5323 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.01981, allocations: 25.7 kB / 0.5323 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.0199, allocations: 134.9 kB / 0.5324 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.0199, allocations: 0 / 0.5324 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.01995, allocations: 27.38 kB / 0.5325 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002457/0.02019, allocations: 0.4884 MB / 0.5329 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.02021, allocations: 5.062 kB / 0.5329 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.02023, allocations: 4 kB / 0.5329 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.587e-05/0.02029, allocations: 23.8 kB / 0.533 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.02029, allocations: 1.469 kB / 0.533 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001502/0.02044, allocations: 49.64 kB / 0.533 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.02045, allocations: 4 kB / 0.533 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.02047, allocations: 4.594 kB / 0.533 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.02049, allocations: 3.938 kB / 0.533 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-06/0.02049, allocations: 4.656 kB / 0.533 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.0205, allocations: 0 / 0.533 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.02052, allocations: 5.219 kB / 0.533 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.02053, allocations: 0 / 0.533 GB, free: 4.652 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.0001692/0.0207, allocations: 280.7 kB / 0.5333 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.02079, allocations: 152.8 kB / 0.5334 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.189e-05/0.02089, allocations: 160.6 kB / 0.5336 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001245/0.02101, allocations: 265 kB / 0.5339 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001349/0.02115, allocations: 272 kB / 0.5341 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001522/0.0213, allocations: 274.6 kB / 0.5344 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.02163, allocations: 0.4961 MB / 0.5349 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.177e-05/0.02172, allocations: 152.8 kB / 0.535 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.02179, allocations: 144.9 kB / 0.5351 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001328/0.02192, allocations: 272.1 kB / 0.5354 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.02205, allocations: 268 kB / 0.5357 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002176/0.02227, allocations: 264.1 kB / 0.5359 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001335/0.0224, allocations: 279.8 kB / 0.5362 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.02265, allocations: 443.9 kB / 0.5366 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.02274, allocations: 160.8 kB / 0.5368 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.02288, allocations: 268.1 kB / 0.537 GB, free: 424 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.023, allocations: 156.8 kB / 0.5372 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.02316, allocations: 268 kB / 0.5374 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.02323, allocations: 148.9 kB / 0.5376 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001023/0.02334, allocations: 153.5 kB / 0.5377 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.02334, allocations: 0 / 0.5377 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008194/0.02416, allocations: 298.9 kB / 0.538 GB, free: 15.39 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.001204/0.02536, allocations: 0.628 MB / 0.5386 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.02548, allocations: 50.31 kB / 0.5386 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02548, allocations: 0 / 0.5386 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.02548, allocations: 4 kB / 0.5386 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/0.02605, allocations: 0.7126 MB / 0.5393 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.02645, allocations: 281.1 kB / 0.5396 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.178e-05/0.02653, allocations: 69.09 kB / 0.5397 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.087e-05/0.02654, allocations: 0 / 0.5397 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.02656, allocations: 8.5 kB / 0.5397 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/0.02656, allocations: 5.062 kB / 0.5397 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of Templates: time 0.01232/0.03888, allocations: 5.978 MB / 0.5455 GB, free: 7.785 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: 6.342720743035898]