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.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.0008/0.0008, allocations: 72.5 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.0007447/0.0007447, allocations: 177.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.8421/0.8421, allocations: 177.1 MB / 203.5 MB, free: 5.723 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-531:190: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-531:198: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.697/0.697, allocations: 154.5 MB / 414.5 MB, free: 0.8125 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.6194 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.045e-05, allocations: 4.953 kB / 0.6194 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001574/0.001594, allocations: 1.415 MB / 0.6208 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002774/0.004368, allocations: 2.637 MB / 0.6233 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.004396, allocations: 0 / 0.6233 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.004413, allocations: 11.92 kB / 0.6234 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.297e-05/0.004466, allocations: 15.81 kB / 0.6234 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.006723, allocations: 1.629 MB / 0.625 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.757e-05/0.00679, allocations: 43.73 kB / 0.625 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/0.006824, allocations: 0 / 0.625 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.534e-05/0.006859, allocations: 23.92 kB / 0.625 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.034e-05/0.006879, allocations: 11.98 kB / 0.625 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.00689, allocations: 0 / 0.625 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.008124, allocations: 1.458 MB / 0.6265 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.008134, allocations: 4 kB / 0.6265 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.008156, allocations: 23.91 kB / 0.6265 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0009789/0.009135, allocations: 1.228 MB / 0.6277 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.009137, allocations: 0 / 0.6277 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.009138, allocations: 0 / 0.6277 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.009141, allocations: 0 / 0.6277 GB, free: 4.504 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.0003807/0.009522, allocations: 476 kB / 0.6281 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.009555, allocations: 12.03 kB / 0.6282 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.009598, allocations: 76.22 kB / 0.6282 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.116e-05/0.009689, allocations: 196.9 kB / 0.6284 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.009726, allocations: 154.9 kB / 0.6286 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.009762, allocations: 158.9 kB / 0.6287 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.64e-05/0.009808, allocations: 101.5 kB / 0.6288 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.009828, allocations: 79.47 kB / 0.6289 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.009863, allocations: 158.7 kB / 0.629 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.009898, allocations: 150.6 kB / 0.6292 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.009931, allocations: 150.6 kB / 0.6293 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.01011, allocations: 413.5 kB / 0.6297 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.878e-05/0.01017, allocations: 173.1 kB / 0.6299 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.01019, allocations: 84.19 kB / 0.63 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.01021, allocations: 79.27 kB / 0.63 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.01024, allocations: 117.8 kB / 0.6301 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.01024, allocations: 0 / 0.6301 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.333e-05/0.0103, allocations: 33.62 kB / 0.6302 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.01034, allocations: 134.6 kB / 0.6303 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.01044, allocations: 132 kB / 0.6304 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.01045, allocations: 25.7 kB / 0.6305 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.01049, allocations: 92.14 kB / 0.6305 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.01049, allocations: 3.938 kB / 0.6306 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.01052, allocations: 13.72 kB / 0.6306 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.01059, allocations: 318.8 kB / 0.6309 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.01061, allocations: 7.938 kB / 0.6309 GB, free: 1.059 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.01062, allocations: 12 kB / 0.6309 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.01065, allocations: 8.859 kB / 0.6309 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01065, allocations: 0 / 0.6309 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002321/0.01088, allocations: 53.62 kB / 0.6309 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.01089, allocations: 4 kB / 0.631 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.01091, allocations: 4 kB / 0.631 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.01092, allocations: 3.938 kB / 0.631 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.01092, allocations: 0 / 0.631 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.01092, allocations: 0 / 0.631 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.01094, allocations: 3.953 kB / 0.631 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.01094, allocations: 4 kB / 0.631 GB, free: 0.957 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 6.163e-05/0.01101, allocations: 190.2 kB / 0.6311 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.01104, allocations: 108.9 kB / 0.6313 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.01107, allocations: 112.7 kB / 0.6314 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.952e-05/0.01111, allocations: 184.2 kB / 0.6315 GB, free: 352 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.765e-05/0.01115, allocations: 180.2 kB / 0.6317 GB, free: 164 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.58e-05/0.01119, allocations: 180.2 kB / 0.6319 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.01132, allocations: 364.9 kB / 0.6322 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/0.01134, allocations: 108.9 kB / 0.6323 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.01136, allocations: 105 kB / 0.6324 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.451e-05/0.01139, allocations: 180.2 kB / 0.6326 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.01143, allocations: 188.2 kB / 0.6328 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.362e-05/0.01147, allocations: 176.3 kB / 0.633 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-05/0.01151, allocations: 184.1 kB / 0.6331 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.123e-05/0.01159, allocations: 315.8 kB / 0.6334 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.01161, allocations: 112.9 kB / 0.6335 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.01166, allocations: 176.3 kB / 0.6337 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.347e-05/0.0117, allocations: 105.2 kB / 0.6338 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.01175, allocations: 188.2 kB / 0.634 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.01177, allocations: 108.9 kB / 0.6341 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.01181, allocations: 97.45 kB / 0.6342 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01181, allocations: 4 kB / 0.6342 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003774/0.01219, allocations: 294.9 kB / 0.6345 GB, free: 13.19 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.0006609/0.01285, allocations: 0.5707 MB / 0.635 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.396e-05/0.01293, allocations: 37.69 kB / 0.6351 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01293, allocations: 0 / 0.6351 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.01293, allocations: 0 / 0.6351 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.0132, allocations: 467.7 kB / 0.6355 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.01344, allocations: 257.6 kB / 0.6357 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.828e-05/0.01348, allocations: 67.34 kB / 0.6358 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.21e-05/0.01349, allocations: 8.5 kB / 0.6358 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.01349, allocations: 0 / 0.6358 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.004634/0.01812, allocations: 4.875 MB / 0.6406 GB, free: 6.852 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.607178253121674] Failed to read output from testmodel.py, exit status != 0: 0.022980844601988792 0.030563178000000003 0.019875195000000002 Calling exit ...