Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.002023/0.002023, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002299/0.002299, allocations: 193.1 kB / 16.25 MB, free: 6.633 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.467/1.467, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002717/0.002717, allocations: 283 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003033/0.003033, allocations: 103.5 kB / 0.606 GB, free: 24.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1651, allocations: 89.15 MB / 0.693 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004758/0.1699, allocations: 3.062 MB / 0.696 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002881/0.1728, allocations: 2.111 MB / 0.6981 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.173, allocations: 4 kB / 0.6981 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.1743, allocations: 478.1 kB / 0.6985 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.1746, allocations: 131.1 kB / 0.6987 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.1747, allocations: 47.97 kB / 0.6987 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.1752, allocations: 455.6 kB / 0.6991 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.1755, allocations: 155.2 kB / 0.6993 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.1757, allocations: 151.4 kB / 0.6994 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.1759, allocations: 191.1 kB / 0.6996 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.962e-05/0.176, allocations: 36 kB / 0.6996 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.401e-05/0.1761, allocations: 32 kB / 0.6997 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1762, allocations: 95.67 kB / 0.6998 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.1764, allocations: 222.8 kB / 0.7 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.177, allocations: 0.5489 MB / 0.7005 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.177, allocations: 0 / 0.7005 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.177, allocations: 0 / 0.7005 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.177, allocations: 0 / 0.7005 GB, free: 12.96 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.001046/0.1781, allocations: 0.7006 MB / 0.7012 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1781, allocations: 12.03 kB / 0.7012 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.101e-05/0.1782, allocations: 48.38 kB / 0.7013 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.1787, allocations: 366.1 kB / 0.7016 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.1787, allocations: 20.75 kB / 0.7016 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.1788, allocations: 20.38 kB / 0.7016 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.1792, allocations: 199.6 kB / 0.7018 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1793, allocations: 4 kB / 0.7018 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.1793, allocations: 8 kB / 0.7019 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1793, allocations: 4 kB / 0.7019 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/0.1797, allocations: 173.6 kB / 0.702 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.1809, allocations: 0.87 MB / 0.7029 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.1813, allocations: 146.6 kB / 0.703 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.1815, allocations: 112.8 kB / 0.7031 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.1815, allocations: 8 kB / 0.7031 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1815, allocations: 30.56 kB / 0.7032 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.076e-06/0.1816, allocations: 0 / 0.7032 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006105/0.1822, allocations: 266.9 kB / 0.7034 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1822, allocations: 59.39 kB / 0.7035 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.1827, allocations: 413.7 kB / 0.7039 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1828, allocations: 33.7 kB / 0.7039 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.1829, allocations: 208.2 kB / 0.7041 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.183, allocations: 67.03 kB / 0.7042 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.1831, allocations: 29.7 kB / 0.7042 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1833, allocations: 350.8 kB / 0.7045 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.1834, allocations: 59.92 kB / 0.7046 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1836, allocations: 54.2 kB / 0.7046 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.1839, allocations: 140.8 kB / 0.7048 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1839, allocations: 0 / 0.7048 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004036/0.1843, allocations: 211.4 kB / 0.705 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1843, allocations: 4 kB / 0.705 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1843, allocations: 0 / 0.705 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1844, allocations: 3.938 kB / 0.705 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.1846, allocations: 55.97 kB / 0.705 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1846, allocations: 3.938 kB / 0.705 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.1848, allocations: 23.83 kB / 0.705 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.1848, allocations: 4 kB / 0.7051 GB, free: 8.086 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.0001647/0.185, allocations: 161.8 kB / 0.7052 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.1851, allocations: 35.53 kB / 0.7052 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.17e-05/0.1852, allocations: 43.53 kB / 0.7053 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1852, allocations: 8 kB / 0.7053 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1852, allocations: 0 / 0.7053 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1852, allocations: 3.984 kB / 0.7053 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.1856, allocations: 369.3 kB / 0.7056 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1856, allocations: 0 / 0.7056 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.1859, allocations: 59.91 kB / 0.7057 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1859, allocations: 0 / 0.7057 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1859, allocations: 7.938 kB / 0.7057 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.186, allocations: 4 kB / 0.7057 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.186, allocations: 0 / 0.7057 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006324/0.1866, allocations: 376.5 kB / 0.7061 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1867, allocations: 120.7 kB / 0.7062 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.1868, allocations: 7.938 kB / 0.7062 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.187, allocations: 19.91 kB / 0.7062 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.187, allocations: 12.05 kB / 0.7062 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.187, allocations: 11.94 kB / 0.7062 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003533/0.1874, allocations: 303.1 kB / 0.7065 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1874, allocations: 0 / 0.7065 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003282/0.1877, allocations: 79.75 kB / 0.7066 GB, free: 6.398 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.0001331/0.1879, allocations: 103.2 kB / 0.7067 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004013/0.1883, allocations: 151.9 kB / 0.7068 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1883, allocations: 0 / 0.7068 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.1885, allocations: 79.91 kB / 0.7069 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.1891, allocations: 99.05 kB / 0.707 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.1905, allocations: 0.8727 MB / 0.7079 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.191, allocations: 0.799 MB / 0.7087 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.1911, allocations: 30.97 kB / 0.7087 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.1912, allocations: 23.44 kB / 0.7087 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1912, allocations: 0 / 0.7087 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of Templates: time 0.008396/0.1996, allocations: 3.881 MB / 0.7125 GB, free: 444 kB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)