Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 109.8 kB / 16.41 MB, free: 6.496 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.001112/0.001113, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.334/1.334, allocations: 222.9 MB / 241 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.8085/0.8085, allocations: 126.1 MB / 417.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 64.56 kB / 0.5731 GB, free: 27.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1692, allocations: 78.7 MB / 0.65 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004411/0.1737, allocations: 3.009 MB / 0.6529 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.1767, allocations: 2.152 MB / 0.655 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003318/0.1771, allocations: 8 kB / 0.655 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.1788, allocations: 0.5094 MB / 0.6555 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.1792, allocations: 138.9 kB / 0.6557 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.1793, allocations: 71.92 kB / 0.6557 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.1798, allocations: 431.8 kB / 0.6561 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.18, allocations: 159.2 kB / 0.6563 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.1803, allocations: 155.4 kB / 0.6564 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.1805, allocations: 179.2 kB / 0.6566 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.1805, allocations: 36 kB / 0.6566 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.354e-05/0.1806, allocations: 32 kB / 0.6567 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.1807, allocations: 103.6 kB / 0.6568 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.1809, allocations: 218.9 kB / 0.657 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.1814, allocations: 0.5408 MB / 0.6575 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1815, allocations: 4 kB / 0.6575 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1815, allocations: 0 / 0.6575 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.1815, allocations: 0 / 0.6575 GB, free: 12.33 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009818/0.1825, allocations: 0.7082 MB / 0.6582 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1825, allocations: 12.03 kB / 0.6582 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.1826, allocations: 48.61 kB / 0.6583 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.1831, allocations: 382.4 kB / 0.6586 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1831, allocations: 12.81 kB / 0.6586 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.1831, allocations: 23.94 kB / 0.6587 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.1835, allocations: 207.3 kB / 0.6589 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1836, allocations: 3.938 kB / 0.6589 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.1836, allocations: 8 kB / 0.6589 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1836, allocations: 4 kB / 0.6589 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.184, allocations: 161.7 kB / 0.659 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.185, allocations: 0.8702 MB / 0.6599 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.1853, allocations: 164.4 kB / 0.66 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.1856, allocations: 112.8 kB / 0.6601 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1856, allocations: 0 / 0.6601 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.1856, allocations: 42.5 kB / 0.6602 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.1856, allocations: 0 / 0.6602 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005658/0.1862, allocations: 249.6 kB / 0.6604 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.1862, allocations: 55.41 kB / 0.6605 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.1867, allocations: 417.7 kB / 0.6609 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1867, allocations: 25.7 kB / 0.6609 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1868, allocations: 212.4 kB / 0.6611 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.1869, allocations: 63.42 kB / 0.6612 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.1869, allocations: 29.72 kB / 0.6612 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1871, allocations: 346.8 kB / 0.6615 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1872, allocations: 63.91 kB / 0.6616 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.1874, allocations: 56.61 kB / 0.6616 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.1877, allocations: 138.9 kB / 0.6618 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1877, allocations: 0 / 0.6618 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000362/0.188, allocations: 211 kB / 0.662 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1881, allocations: 9.875 kB / 0.662 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1881, allocations: 0 / 0.662 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1881, allocations: 4 kB / 0.662 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.1883, allocations: 55.89 kB / 0.662 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1883, allocations: 8 kB / 0.662 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.1885, allocations: 19.83 kB / 0.6621 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1885, allocations: 7.984 kB / 0.6621 GB, free: 7.422 MB / 0.4981 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001447/0.1886, allocations: 165.3 kB / 0.6622 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.1887, allocations: 39.7 kB / 0.6623 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.171e-05/0.1888, allocations: 39.59 kB / 0.6623 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1888, allocations: 7.938 kB / 0.6623 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1888, allocations: 3.984 kB / 0.6623 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1888, allocations: 4 kB / 0.6623 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1892, allocations: 373.3 kB / 0.6627 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1892, allocations: 0 / 0.6627 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.1895, allocations: 59.91 kB / 0.6627 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1895, allocations: 3.984 kB / 0.6627 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1895, allocations: 0 / 0.6627 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1895, allocations: 0 / 0.6627 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1895, allocations: 7.938 kB / 0.6627 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005593/0.1901, allocations: 375.1 kB / 0.6631 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1902, allocations: 124.8 kB / 0.6632 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.1902, allocations: 0 / 0.6632 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.1904, allocations: 11.98 kB / 0.6632 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.1904, allocations: 11.98 kB / 0.6632 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1905, allocations: 4 kB / 0.6632 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003138/0.1908, allocations: 303.1 kB / 0.6635 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1908, allocations: 4.062 kB / 0.6635 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002997/0.1911, allocations: 71.89 kB / 0.6636 GB, free: 5.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001257/0.1912, allocations: 111.2 kB / 0.6637 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003516/0.1916, allocations: 143.8 kB / 0.6638 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1916, allocations: 0 / 0.6638 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.1918, allocations: 85.38 kB / 0.6639 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.1923, allocations: 95.88 kB / 0.664 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1934, allocations: 0.7526 MB / 0.6648 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1938, allocations: 0.7989 MB / 0.6655 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.1939, allocations: 38.95 kB / 0.6656 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.194, allocations: 23.44 kB / 0.6656 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.194, allocations: 0 / 0.6656 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.007891/0.2019, allocations: 3.987 MB / 0.6695 GB, free: 15.78 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)