Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001275/0.001275, 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.001539/0.001539, allocations: 177 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.9667/0.9667, allocations: 177.1 MB / 203.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7943/0.7943, allocations: 154.8 MB / 415.1 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.5207 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.313e-05, allocations: 4.281 kB / 0.5207 GB, free: 2.191 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.005552/0.005575, allocations: 1.489 MB / 0.5221 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006976/0.01255, allocations: 2.822 MB / 0.5249 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.01261, allocations: 1.469 kB / 0.5249 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.01263, allocations: 7.922 kB / 0.5249 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.01269, allocations: 15.86 kB / 0.5249 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.009536/0.02222, allocations: 1.644 MB / 0.5265 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.02232, allocations: 51.61 kB / 0.5266 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.02237, allocations: 0 / 0.5266 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.994e-05/0.02241, allocations: 15.98 kB / 0.5266 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.65e-05/0.02243, allocations: 15.92 kB / 0.5266 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.02244, allocations: 2.438 kB / 0.5266 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.02443, allocations: 1.493 MB / 0.528 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.02444, allocations: 0 / 0.528 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.02447, allocations: 15.92 kB / 0.5281 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.004839/0.02931, allocations: 1.273 MB / 0.5293 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.02931, allocations: 5.312 kB / 0.5293 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.02931, allocations: 0 / 0.5293 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.02932, allocations: 3.938 kB / 0.5293 GB, free: 9.375 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.0005715/0.02989, allocations: 0.5617 MB / 0.5299 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.02993, allocations: 8.031 kB / 0.5299 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.03, allocations: 128.1 kB / 0.53 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.03014, allocations: 244.8 kB / 0.5302 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.0302, allocations: 242.8 kB / 0.5305 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.03026, allocations: 242.7 kB / 0.5307 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.004e-05/0.03033, allocations: 152.4 kB / 0.5308 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.03037, allocations: 119.4 kB / 0.5309 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.451e-05/0.03043, allocations: 242.5 kB / 0.5312 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.03049, allocations: 246.4 kB / 0.5314 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.737e-05/0.03055, allocations: 238.4 kB / 0.5316 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.03082, allocations: 0.5798 MB / 0.5322 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.154e-05/0.03091, allocations: 269.4 kB / 0.5325 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.03095, allocations: 126.9 kB / 0.5326 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.03098, allocations: 122.3 kB / 0.5327 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.03103, allocations: 160.6 kB / 0.5329 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.03103, allocations: 4 kB / 0.5329 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.003079/0.03411, allocations: 33.59 kB / 0.5329 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.03417, allocations: 174.5 kB / 0.5331 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.03431, allocations: 195.9 kB / 0.5332 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.03432, allocations: 25.7 kB / 0.5333 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.03438, allocations: 140.3 kB / 0.5334 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.03438, allocations: 0 / 0.5334 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.03442, allocations: 23.38 kB / 0.5334 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.03454, allocations: 0.4884 MB / 0.5339 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.03456, allocations: 5.281 kB / 0.5339 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.03457, allocations: 0 / 0.5339 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.03461, allocations: 19.69 kB / 0.5339 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.03461, allocations: 0 / 0.5339 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001185/0.03473, allocations: 46.44 kB / 0.534 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.03475, allocations: 11.98 kB / 0.534 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.03477, allocations: 8.5 kB / 0.534 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.03478, allocations: 0.5 kB / 0.534 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-06/0.03479, allocations: 5.438 kB / 0.534 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.03479, allocations: 0 / 0.534 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.03481, allocations: 0 / 0.534 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.03482, allocations: 0 / 0.534 GB, free: 4.375 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 9.469e-05/0.03491, allocations: 280.7 kB / 0.5343 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.03497, allocations: 152.8 kB / 0.5344 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.03503, allocations: 161.2 kB / 0.5346 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.669e-05/0.0351, allocations: 268.1 kB / 0.5348 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.888e-05/0.03516, allocations: 272.5 kB / 0.5351 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.229e-05/0.03523, allocations: 268.7 kB / 0.5353 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.03543, allocations: 0.4921 MB / 0.5358 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003161/0.03575, allocations: 153.4 kB / 0.536 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.03579, allocations: 148.9 kB / 0.5361 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.77e-05/0.03585, allocations: 269.7 kB / 0.5364 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.032e-05/0.03592, allocations: 272.1 kB / 0.5366 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.959e-05/0.03598, allocations: 268.1 kB / 0.5369 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.94e-05/0.03605, allocations: 272 kB / 0.5371 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.03619, allocations: 453.6 kB / 0.5376 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.03624, allocations: 152.8 kB / 0.5377 GB, free: 412 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-05/0.03631, allocations: 272.1 kB / 0.538 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/0.0364, allocations: 148.8 kB / 0.5381 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.03648, allocations: 278.5 kB / 0.5384 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.03651, allocations: 148.8 kB / 0.5385 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.03657, allocations: 141 kB / 0.5387 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.03657, allocations: 0 / 0.5387 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003695/0.04027, allocations: 299 kB / 0.5389 GB, free: 15.12 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.0009961/0.04126, allocations: 0.6347 MB / 0.5396 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.04137, allocations: 45.38 kB / 0.5396 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.04137, allocations: 0.9375 kB / 0.5396 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.04137, allocations: 0 / 0.5396 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.04179, allocations: 0.7147 MB / 0.5403 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.04212, allocations: 287.5 kB / 0.5406 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.04215, allocations: 55.36 kB / 0.5406 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.289e-05/0.04217, allocations: 0 / 0.5406 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.04218, allocations: 9.906 kB / 0.5406 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of SimCode: time 5e-07/0.04218, allocations: 0 / 0.5406 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.01038/0.05257, allocations: 5.976 MB / 0.5465 GB, free: 7.512 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8346498110331595]