Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 110.6 kB / 17.08 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 194.9 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7978/0.7978, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.8 kB / 0.5584 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.181, allocations: 76.17 MB / 0.6328 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003053/0.1842, allocations: 1.426 MB / 0.6342 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004557/0.1887, allocations: 2.899 MB / 0.637 GB, free: 8 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.1888, allocations: 0 / 0.637 GB, free: 8 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.1889, allocations: 3.938 kB / 0.637 GB, free: 4 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.794e-05/0.189, allocations: 11.86 kB / 0.637 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00412/0.1931, allocations: 1.6 MB / 0.6386 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.1932, allocations: 47.67 kB / 0.6387 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.982e-05/0.1933, allocations: 7.984 kB / 0.6387 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.43e-05/0.1933, allocations: 15.92 kB / 0.6387 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.128e-05/0.1934, allocations: 15.94 kB / 0.6387 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1934, allocations: 0 / 0.6387 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.1956, allocations: 1.525 MB / 0.6402 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.1956, allocations: 11.91 kB / 0.6402 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.1957, allocations: 19.88 kB / 0.6402 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.1971, allocations: 1.115 MB / 0.6413 GB, free: 11.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1971, allocations: 0 / 0.6413 GB, free: 11.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1971, allocations: 4 kB / 0.6413 GB, free: 11.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.1971, allocations: 0 / 0.6413 GB, free: 11.64 MB / 494.1 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.0006219/0.1977, allocations: 0.5206 MB / 0.6418 GB, free: 11.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1978, allocations: 12.03 kB / 0.6418 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/0.1979, allocations: 76.22 kB / 0.6419 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.198, allocations: 255.5 kB / 0.6421 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.89e-05/0.1981, allocations: 158.9 kB / 0.6423 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.1982, allocations: 150.9 kB / 0.6424 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.049e-05/0.1983, allocations: 109 kB / 0.6425 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.1983, allocations: 75.28 kB / 0.6426 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.509e-05/0.1984, allocations: 150.6 kB / 0.6428 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/0.1984, allocations: 154.6 kB / 0.6429 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.5e-05/0.1985, allocations: 154.6 kB / 0.6431 GB, free: 9.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.1989, allocations: 469.8 kB / 0.6435 GB, free: 9.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.217e-05/0.199, allocations: 173.1 kB / 0.6437 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.199, allocations: 84.14 kB / 0.6437 GB, free: 8.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.1991, allocations: 75.28 kB / 0.6438 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.1991, allocations: 109.8 kB / 0.6439 GB, free: 8.793 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1991, allocations: 0 / 0.6439 GB, free: 8.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 9.527e-05/0.1992, allocations: 33.69 kB / 0.644 GB, free: 8.754 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.1993, allocations: 126.7 kB / 0.6441 GB, free: 8.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.1995, allocations: 139.1 kB / 0.6442 GB, free: 8.473 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1995, allocations: 29.7 kB / 0.6442 GB, free: 8.438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.1996, allocations: 92.14 kB / 0.6443 GB, free: 8.344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-06/0.1996, allocations: 0 / 0.6443 GB, free: 8.344 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.1996, allocations: 17.7 kB / 0.6443 GB, free: 8.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1998, allocations: 318.9 kB / 0.6446 GB, free: 8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.1998, allocations: 4 kB / 0.6446 GB, free: 7.996 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.1998, allocations: 11.98 kB / 0.6447 GB, free: 7.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.1999, allocations: 12.86 kB / 0.6447 GB, free: 7.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1999, allocations: 4.031 kB / 0.6447 GB, free: 7.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001339/0.2, allocations: 57.55 kB / 0.6447 GB, free: 7.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2, allocations: 5.719 kB / 0.6447 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.2001, allocations: 4 kB / 0.6447 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2001, allocations: 3.938 kB / 0.6447 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.456e-06/0.2001, allocations: 4.047 kB / 0.6447 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2001, allocations: 4 kB / 0.6448 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.2001, allocations: 4 kB / 0.6448 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.2001, allocations: 0 / 0.6448 GB, free: 7.879 MB / 494.1 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.0001194/0.2003, allocations: 185.2 kB / 0.6449 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.2003, allocations: 112.8 kB / 0.645 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.2004, allocations: 112.8 kB / 0.6451 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.29e-05/0.2005, allocations: 184.2 kB / 0.6453 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.587e-05/0.2006, allocations: 176.3 kB / 0.6455 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-05/0.2006, allocations: 184.1 kB / 0.6457 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.2009, allocations: 413.2 kB / 0.6461 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.583e-05/0.2009, allocations: 108.9 kB / 0.6462 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.201, allocations: 109 kB / 0.6463 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.1e-05/0.2011, allocations: 180.3 kB / 0.6464 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.588e-05/0.2011, allocations: 184.1 kB / 0.6466 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.234e-05/0.2012, allocations: 180.3 kB / 0.6468 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.201e-05/0.2013, allocations: 184.2 kB / 0.647 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.2015, allocations: 307.8 kB / 0.6473 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/0.2015, allocations: 189.9 kB / 0.6474 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/0.2016, allocations: 184.3 kB / 0.6476 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.2017, allocations: 112.9 kB / 0.6477 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.2018, allocations: 180.3 kB / 0.6479 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.2019, allocations: 101 kB / 0.648 GB, free: 4.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.872e-05/0.202, allocations: 99.27 kB / 0.6481 GB, free: 4.238 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.202, allocations: 0 / 0.6481 GB, free: 4.238 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007554/0.2027, allocations: 291.7 kB / 0.6484 GB, free: 3.953 MB / 494.1 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.001079/0.2038, allocations: 0.5253 MB / 0.6489 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.2039, allocations: 45.69 kB / 0.6489 GB, free: 3.367 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2039, allocations: 4 kB / 0.6489 GB, free: 3.363 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.204, allocations: 0 / 0.6489 GB, free: 3.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.2044, allocations: 466 kB / 0.6494 GB, free: 2.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.2047, allocations: 273.5 kB / 0.6496 GB, free: 2.605 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.205, allocations: 0.6807 MB / 0.6503 GB, free: 1.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/0.2051, allocations: 11.44 kB / 0.6503 GB, free: 1.887 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2051, allocations: 0 / 0.6503 GB, free: 1.887 MB / 494.1 MB Notification: Performance of Templates: time 0.007826/0.2129, allocations: 4.75 MB / 0.6549 GB, free: 13.14 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)