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.0009333/0.0009333, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0008978/0.0008978, allocations: 173 kB / 23.49 MB, free: 1.055 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.9014/0.9014, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.7759/0.7759, allocations: 154.6 MB / 414.8 MB, free: 0.668 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.633e-06/1.633e-06, allocations: 0 / 0.5204 GB, free: 1.355 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.99e-05, allocations: 3.078 kB / 0.5204 GB, free: 1.352 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002732/0.002762, allocations: 1.493 MB / 0.5219 GB, free: 15.87 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004353/0.007115, allocations: 2.812 MB / 0.5246 GB, free: 13.05 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.007175, allocations: 0 / 0.5246 GB, free: 13.05 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.007204, allocations: 12.48 kB / 0.5246 GB, free: 13.04 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.007279, allocations: 17.17 kB / 0.5247 GB, free: 13.02 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004058/0.01134, allocations: 1.637 MB / 0.5263 GB, free: 11.42 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.01145, allocations: 47.67 kB / 0.5263 GB, free: 11.37 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.0115, allocations: 3.984 kB / 0.5263 GB, free: 11.37 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.914e-05/0.01155, allocations: 23.92 kB / 0.5263 GB, free: 11.34 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.44e-05/0.01157, allocations: 8 kB / 0.5263 GB, free: 11.34 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.01158, allocations: 0 / 0.5263 GB, free: 11.34 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.01397, allocations: 1.495 MB / 0.5278 GB, free: 9.84 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.01399, allocations: 3.938 kB / 0.5278 GB, free: 9.836 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.01402, allocations: 15.98 kB / 0.5278 GB, free: 9.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.01587, allocations: 1.278 MB / 0.5291 GB, free: 8.539 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.01588, allocations: 2.625 kB / 0.5291 GB, free: 8.539 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01588, allocations: 3.938 kB / 0.5291 GB, free: 8.535 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.01588, allocations: 0 / 0.5291 GB, free: 8.535 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.0006242/0.01651, allocations: 0.5647 MB / 0.5296 GB, free: 7.934 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.01655, allocations: 8.031 kB / 0.5296 GB, free: 7.926 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.129e-05/0.01663, allocations: 128.1 kB / 0.5298 GB, free: 7.801 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.01677, allocations: 231.8 kB / 0.53 GB, free: 7.547 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.888e-05/0.01685, allocations: 245.2 kB / 0.5302 GB, free: 7.309 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.512e-05/0.01693, allocations: 246.7 kB / 0.5304 GB, free: 7.066 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.111e-05/0.017, allocations: 145.5 kB / 0.5306 GB, free: 6.918 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.01703, allocations: 119.4 kB / 0.5307 GB, free: 6.801 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-05/0.01712, allocations: 250.5 kB / 0.5309 GB, free: 6.555 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-05/0.01719, allocations: 238.4 kB / 0.5312 GB, free: 6.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.01726, allocations: 247.9 kB / 0.5314 GB, free: 6.078 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.01756, allocations: 0.5798 MB / 0.532 GB, free: 5.465 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.01767, allocations: 265.4 kB / 0.5322 GB, free: 5.191 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.01772, allocations: 126.9 kB / 0.5323 GB, free: 5.062 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.01776, allocations: 120.4 kB / 0.5325 GB, free: 4.945 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.951e-05/0.01782, allocations: 164.5 kB / 0.5326 GB, free: 4.773 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.01782, allocations: 0 / 0.5326 GB, free: 4.773 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 7.112e-05/0.01789, allocations: 33.64 kB / 0.5326 GB, free: 4.734 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.01796, allocations: 181 kB / 0.5328 GB, free: 4.547 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.01812, allocations: 193.8 kB / 0.533 GB, free: 4.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.01813, allocations: 25.7 kB / 0.533 GB, free: 4.309 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.01819, allocations: 142.8 kB / 0.5332 GB, free: 4.164 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.0182, allocations: 0 / 0.5332 GB, free: 4.164 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.01824, allocations: 27.38 kB / 0.5332 GB, free: 4.129 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.01839, allocations: 494.5 kB / 0.5337 GB, free: 3.637 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.01841, allocations: 7.984 kB / 0.5337 GB, free: 3.629 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.539e-05/0.01842, allocations: 4.047 kB / 0.5337 GB, free: 3.625 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/0.01847, allocations: 23.62 kB / 0.5337 GB, free: 3.598 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01847, allocations: 0 / 0.5337 GB, free: 3.598 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001304/0.0186, allocations: 53.59 kB / 0.5337 GB, free: 3.539 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.01862, allocations: 8.062 kB / 0.5338 GB, free: 3.535 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.01864, allocations: 7.984 kB / 0.5338 GB, free: 3.527 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.01866, allocations: 0 / 0.5338 GB, free: 3.527 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.547e-06/0.01866, allocations: 3.938 kB / 0.5338 GB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01866, allocations: 1.281 kB / 0.5338 GB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.01869, allocations: 0 / 0.5338 GB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.01869, allocations: 4 kB / 0.5338 GB, free: 3.52 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.0001208/0.01881, allocations: 272.4 kB / 0.534 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.01888, allocations: 156.8 kB / 0.5342 GB, free: 3.082 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.01894, allocations: 153.3 kB / 0.5343 GB, free: 2.926 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.342e-05/0.01901, allocations: 277.5 kB / 0.5346 GB, free: 2.648 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.898e-05/0.01909, allocations: 268 kB / 0.5348 GB, free: 2.379 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-05/0.01916, allocations: 264.1 kB / 0.5351 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.0194, allocations: 0.5 MB / 0.5356 GB, free: 1.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-05/0.01944, allocations: 157.4 kB / 0.5357 GB, free: 1.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.01948, allocations: 148.8 kB / 0.5359 GB, free: 1.258 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.286e-05/0.01956, allocations: 264.8 kB / 0.5361 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-05/0.01964, allocations: 273 kB / 0.5364 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.422e-05/0.01971, allocations: 268 kB / 0.5366 GB, free: 460 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.205e-05/0.01978, allocations: 264.1 kB / 0.5369 GB, free: 188 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.01996, allocations: 461.3 kB / 0.5373 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.02001, allocations: 152.8 kB / 0.5375 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-05/0.0201, allocations: 268 kB / 0.5377 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.02019, allocations: 148.9 kB / 0.5379 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.02027, allocations: 276.9 kB / 0.5381 GB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.02031, allocations: 148.9 kB / 0.5383 GB, free: 14.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.534e-05/0.02038, allocations: 139.7 kB / 0.5384 GB, free: 14.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02038, allocations: 0 / 0.5384 GB, free: 14.56 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008826/0.02126, allocations: 295.5 kB / 0.5387 GB, free: 14.27 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.0012/0.02246, allocations: 0.6291 MB / 0.5393 GB, free: 13.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.02257, allocations: 53.31 kB / 0.5394 GB, free: 13.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.02258, allocations: 4 kB / 0.5394 GB, free: 13.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.02258, allocations: 0 / 0.5394 GB, free: 13.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.02304, allocations: 0.7131 MB / 0.5401 GB, free: 12.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.02341, allocations: 278.6 kB / 0.5403 GB, free: 12.56 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.79e-05/0.02344, allocations: 55.36 kB / 0.5404 GB, free: 12.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.427e-05/0.02346, allocations: 1.344 kB / 0.5404 GB, free: 12.49 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.02348, allocations: 12.5 kB / 0.5404 GB, free: 12.48 MB / 474.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02348, allocations: 0 / 0.5404 GB, free: 12.48 MB / 474.7 MB Notification: Performance of Templates: time 0.009647/0.03312, allocations: 5.985 MB / 0.5462 GB, free: 6.676 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.7235792360734195]