Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.0009884/0.0009884, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008697/0.0008697, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9224/0.9224, allocations: 177.1 MB / 203.5 MB, free: 5.719 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-531:686: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-531:694: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.7322/0.7322, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.791e-05, allocations: 3.656 kB / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001724/0.001752, allocations: 1.422 MB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002903/0.004655, allocations: 2.649 MB / 0.6234 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.004684, allocations: 4 kB / 0.6234 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.004704, allocations: 7.922 kB / 0.6234 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.918e-05/0.004753, allocations: 11.86 kB / 0.6234 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.007019, allocations: 1.627 MB / 0.625 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.304e-05/0.007092, allocations: 43.67 kB / 0.6251 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.007128, allocations: 4 kB / 0.6251 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.794e-05/0.007166, allocations: 15.98 kB / 0.6251 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.328e-05/0.007189, allocations: 11.94 kB / 0.6251 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.007203, allocations: 4 kB / 0.6251 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.008798, allocations: 1.458 MB / 0.6265 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.008811, allocations: 4 kB / 0.6265 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.00883, allocations: 7.938 kB / 0.6265 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.009851, allocations: 1.25 MB / 0.6277 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.009854, allocations: 0 / 0.6277 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.653e-06/0.009856, allocations: 0 / 0.6277 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.00986, allocations: 0 / 0.6277 GB, free: 4.555 MB / 0.5886 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.0004104/0.01027, allocations: 473.7 kB / 0.6282 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.01031, allocations: 8.031 kB / 0.6282 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.01036, allocations: 80.22 kB / 0.6283 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.01047, allocations: 200.9 kB / 0.6285 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.0105, allocations: 150.9 kB / 0.6286 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.01054, allocations: 154.9 kB / 0.6288 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.233e-05/0.0106, allocations: 101.5 kB / 0.6289 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.01062, allocations: 83.41 kB / 0.6289 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.01065, allocations: 154.7 kB / 0.6291 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/0.01069, allocations: 158.5 kB / 0.6292 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.789e-05/0.01073, allocations: 154.5 kB / 0.6294 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.01092, allocations: 417.5 kB / 0.6298 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.532e-05/0.01099, allocations: 169.2 kB / 0.6299 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.01101, allocations: 88.08 kB / 0.63 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.01103, allocations: 79.28 kB / 0.6301 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.01107, allocations: 105.8 kB / 0.6302 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.01107, allocations: 0 / 0.6302 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.574e-05/0.01112, allocations: 29.7 kB / 0.6302 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.01117, allocations: 130.6 kB / 0.6304 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.01128, allocations: 139.3 kB / 0.6305 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.01129, allocations: 25.7 kB / 0.6305 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.01134, allocations: 92.14 kB / 0.6306 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.01134, allocations: 0 / 0.6306 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.01137, allocations: 13.72 kB / 0.6306 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.01145, allocations: 326.8 kB / 0.6309 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.01147, allocations: 7.938 kB / 0.6309 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/0.01148, allocations: 0 / 0.6309 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.01151, allocations: 16.86 kB / 0.631 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01151, allocations: 0 / 0.631 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.696e-05/0.01161, allocations: 41.69 kB / 0.631 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.01162, allocations: 4 kB / 0.631 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.01164, allocations: 4 kB / 0.631 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.01165, allocations: 3.938 kB / 0.631 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.01165, allocations: 0 / 0.631 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01166, allocations: 4 kB / 0.631 GB, free: 1.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.01167, allocations: 8.016 kB / 0.631 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.01168, allocations: 4 kB / 0.631 GB, free: 1.016 MB / 0.5886 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.103e-05/0.01175, allocations: 190 kB / 0.6312 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.01179, allocations: 108.9 kB / 0.6313 GB, free: 0.707 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.01182, allocations: 108.8 kB / 0.6314 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.213e-05/0.01186, allocations: 184.1 kB / 0.6316 GB, free: 420 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.401e-05/0.01191, allocations: 184.3 kB / 0.6318 GB, free: 228 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-05/0.01195, allocations: 184.2 kB / 0.6319 GB, free: 36 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.01209, allocations: 360.9 kB / 0.6323 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/0.01211, allocations: 105 kB / 0.6324 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.01214, allocations: 112.9 kB / 0.6325 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/0.01247, allocations: 184.3 kB / 0.6327 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.01252, allocations: 184.2 kB / 0.6328 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-05/0.01256, allocations: 180.2 kB / 0.633 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.001e-05/0.0126, allocations: 184.2 kB / 0.6332 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.104e-05/0.01269, allocations: 303.8 kB / 0.6335 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.01272, allocations: 120.9 kB / 0.6336 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.01277, allocations: 184.2 kB / 0.6338 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.483e-05/0.01281, allocations: 101.3 kB / 0.6339 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.01286, allocations: 184.1 kB / 0.634 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.01288, allocations: 105 kB / 0.6341 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.452e-05/0.01293, allocations: 109.6 kB / 0.6342 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01293, allocations: 0 / 0.6342 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003982/0.01333, allocations: 291 kB / 0.6345 GB, free: 13.25 MB / 0.6042 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.0006969/0.01402, allocations: 0.5666 MB / 0.6351 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.621e-05/0.01412, allocations: 41.64 kB / 0.6351 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01412, allocations: 0 / 0.6351 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.01412, allocations: 4.062 kB / 0.6351 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.0144, allocations: 467.7 kB / 0.6356 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.01466, allocations: 245.7 kB / 0.6358 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.356e-05/0.0147, allocations: 67.33 kB / 0.6359 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.01472, allocations: 12.5 kB / 0.6359 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of SimCode: time 7.22e-07/0.01472, allocations: 0 / 0.6359 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of Templates: time 0.004936/0.01965, allocations: 4.865 MB / 0.6406 GB, free: 6.922 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.381907653994858] Failed to read output from testmodel.py, exit status != 0: 0.025221568532288074 0.032675239 0.02108022 Calling exit ...