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.001686/0.001686, allocations: 83.97 kB / 19.76 MB, free: 2.016 MB / 14.72 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.001703/0.001703, allocations: 152.5 kB / 23.01 MB, free: 4.973 MB / 14.72 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.437/1.437, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8181/0.8181, allocations: 101.3 MB / 361.1 MB, free: 9.523 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 61.41 kB / 0.5357 GB, free: 5.184 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1647, allocations: 85.89 MB / 0.6196 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002678/0.1673, allocations: 1.431 MB / 0.621 GB, free: 60 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004642/0.172, allocations: 2.658 MB / 0.6236 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.172, allocations: 4 kB / 0.6236 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.1721, allocations: 7.922 kB / 0.6236 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.1721, allocations: 15.86 kB / 0.6236 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004438/0.1766, allocations: 1.642 MB / 0.6252 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1767, allocations: 39.73 kB / 0.6252 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.1767, allocations: 4 kB / 0.6252 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.1768, allocations: 11.94 kB / 0.6253 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.1768, allocations: 23.86 kB / 0.6253 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1768, allocations: 0 / 0.6253 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.1792, allocations: 1.474 MB / 0.6267 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.1792, allocations: 0 / 0.6267 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.1792, allocations: 23.86 kB / 0.6267 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.1808, allocations: 1.083 MB / 0.6278 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1808, allocations: 0 / 0.6278 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1808, allocations: 0 / 0.6278 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1808, allocations: 3.938 kB / 0.6278 GB, free: 9.07 MB / 0.5294 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.0007273/0.1816, allocations: 468.1 kB / 0.6282 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1816, allocations: 12.03 kB / 0.6283 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.666e-05/0.1817, allocations: 80.22 kB / 0.6283 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.1819, allocations: 205.6 kB / 0.6285 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.633e-05/0.182, allocations: 154.7 kB / 0.6287 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.437e-05/0.182, allocations: 150.6 kB / 0.6288 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.623e-05/0.1821, allocations: 108.9 kB / 0.6289 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.524e-05/0.1822, allocations: 75.28 kB / 0.629 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-05/0.1823, allocations: 150.6 kB / 0.6291 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.891e-05/0.1823, allocations: 154.6 kB / 0.6293 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.1824, allocations: 154.6 kB / 0.6294 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.1827, allocations: 421.5 kB / 0.6298 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1829, allocations: 169.1 kB / 0.63 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.1829, allocations: 88.08 kB / 0.6301 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.183, allocations: 75.28 kB / 0.6302 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.352e-05/0.183, allocations: 109.8 kB / 0.6303 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.183, allocations: 0 / 0.6303 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.706e-05/0.1831, allocations: 29.7 kB / 0.6303 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.1832, allocations: 126.7 kB / 0.6304 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1834, allocations: 140.1 kB / 0.6305 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1834, allocations: 29.69 kB / 0.6306 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.1835, allocations: 92.14 kB / 0.6307 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.1835, allocations: 3.938 kB / 0.6307 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.1835, allocations: 17.72 kB / 0.6307 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1837, allocations: 322.8 kB / 0.631 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.1837, allocations: 4 kB / 0.631 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.1837, allocations: 8 kB / 0.631 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.1837, allocations: 8.859 kB / 0.631 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1837, allocations: 0 / 0.631 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001379/0.1839, allocations: 61.58 kB / 0.6311 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1839, allocations: 4 kB / 0.6311 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/0.1839, allocations: 4 kB / 0.6311 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1839, allocations: 0 / 0.6311 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1839, allocations: 0 / 0.6311 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1839, allocations: 8 kB / 0.6311 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.184, allocations: 4 kB / 0.6311 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.184, allocations: 0 / 0.6311 GB, free: 5.52 MB / 0.5294 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.0001254/0.1841, allocations: 189.1 kB / 0.6313 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.1842, allocations: 108.9 kB / 0.6314 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.402e-05/0.1842, allocations: 112.7 kB / 0.6315 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.051e-05/0.1843, allocations: 184.2 kB / 0.6316 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.064e-05/0.1844, allocations: 180.3 kB / 0.6318 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001005/0.1845, allocations: 184.2 kB / 0.632 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.1848, allocations: 360.9 kB / 0.6323 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-05/0.1848, allocations: 108.9 kB / 0.6324 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.1849, allocations: 112.9 kB / 0.6326 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.333e-05/0.185, allocations: 184.3 kB / 0.6327 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.765e-05/0.1851, allocations: 180.2 kB / 0.6329 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-05/0.1852, allocations: 180.2 kB / 0.6331 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.517e-05/0.1853, allocations: 184.2 kB / 0.6332 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.1855, allocations: 303.8 kB / 0.6335 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.1856, allocations: 120.8 kB / 0.6337 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.1857, allocations: 180.3 kB / 0.6338 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.1858, allocations: 101 kB / 0.6339 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/0.1858, allocations: 188.2 kB / 0.6341 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/0.1859, allocations: 105 kB / 0.6342 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8e-05/0.186, allocations: 99.25 kB / 0.6343 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.186, allocations: 0 / 0.6343 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009539/0.1869, allocations: 295 kB / 0.6346 GB, free: 1.746 MB / 0.5294 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.001111/0.188, allocations: 0.5441 MB / 0.6351 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.1882, allocations: 45.98 kB / 0.6352 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1882, allocations: 0 / 0.6352 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.1882, allocations: 0 / 0.6352 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.1887, allocations: 485.6 kB / 0.6356 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.1891, allocations: 240.5 kB / 0.6358 GB, free: 412 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.154e-05/0.1892, allocations: 71.39 kB / 0.6359 GB, free: 320 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.366e-05/0.1892, allocations: 0 / 0.6359 GB, free: 320 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.1892, allocations: 12.5 kB / 0.6359 GB, free: 308 kB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1892, allocations: 0 / 0.6359 GB, free: 308 kB / 0.5294 GB Notification: Performance of Templates: time 0.01123/0.2004, allocations: 5.833 MB / 0.6416 GB, free: 10.53 MB / 0.545 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=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.741746673011221] Failed to read output from testmodel.py, exit status != 0: 0.20937415095977485 0.23164746400000003 0.046505709000000006 Calling exit ...