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.001081/0.001081, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001205/0.001205, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001661/0.001661, allocations: 266.6 kB / 291.3 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9693/0.9693, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.000413, allocations: 13.41 kB / 0.598 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1692, allocations: 88.55 MB / 0.6845 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003303/0.1725, allocations: 2.576 MB / 0.687 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.175, allocations: 1.941 MB / 0.6889 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.1752, allocations: 8 kB / 0.6889 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.1763, allocations: 423.9 kB / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.1766, allocations: 134.2 kB / 0.6895 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.1767, allocations: 43.95 kB / 0.6895 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004332/0.1771, allocations: 413.9 kB / 0.6899 GB, free: 9.898 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.1774, allocations: 121 kB / 0.69 GB, free: 9.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.1775, allocations: 131.4 kB / 0.6902 GB, free: 9.652 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.1777, allocations: 159.3 kB / 0.6903 GB, free: 9.496 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.1778, allocations: 20 kB / 0.6903 GB, free: 9.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.838e-05/0.1778, allocations: 20 kB / 0.6903 GB, free: 9.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.612e-05/0.1779, allocations: 79.67 kB / 0.6904 GB, free: 9.379 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.064e-05/0.178, allocations: 102.1 kB / 0.6905 GB, free: 9.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.1784, allocations: 447.3 kB / 0.6909 GB, free: 8.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1784, allocations: 0 / 0.6909 GB, free: 8.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1784, allocations: 0.875 kB / 0.6909 GB, free: 8.836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1784, allocations: 0 / 0.6909 GB, free: 8.836 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009419/0.1793, allocations: 0.6488 MB / 0.6916 GB, free: 8.141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1794, allocations: 15.97 kB / 0.6916 GB, free: 8.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.1795, allocations: 47.39 kB / 0.6916 GB, free: 8.078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.18, allocations: 357.2 kB / 0.692 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.18, allocations: 16.44 kB / 0.692 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.18, allocations: 20 kB / 0.692 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.1805, allocations: 203.3 kB / 0.6922 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1805, allocations: 4 kB / 0.6922 GB, free: 7.449 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.1805, allocations: 8 kB / 0.6922 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/0.1805, allocations: 11.89 kB / 0.6922 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.1809, allocations: 177.6 kB / 0.6924 GB, free: 7.258 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.1821, allocations: 0.8779 MB / 0.6933 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.1824, allocations: 162.5 kB / 0.6934 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.1826, allocations: 119.3 kB / 0.6935 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.1826, allocations: 4 kB / 0.6935 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.1827, allocations: 34.56 kB / 0.6936 GB, free: 5.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.1827, allocations: 0 / 0.6936 GB, free: 5.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005809/0.1833, allocations: 267.4 kB / 0.6938 GB, free: 5.707 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.1833, allocations: 51.41 kB / 0.6939 GB, free: 5.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.1838, allocations: 417.7 kB / 0.6943 GB, free: 5.227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1838, allocations: 29.7 kB / 0.6943 GB, free: 5.191 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.184, allocations: 208.2 kB / 0.6945 GB, free: 4.984 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.184, allocations: 63 kB / 0.6946 GB, free: 4.922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-06/0.1841, allocations: 11.94 kB / 0.6946 GB, free: 4.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1842, allocations: 354.8 kB / 0.6949 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1844, allocations: 55.97 kB / 0.695 GB, free: 4.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.1845, allocations: 65.86 kB / 0.695 GB, free: 4.438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1846, allocations: 71.97 kB / 0.6951 GB, free: 4.367 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.1846, allocations: 0 / 0.6951 GB, free: 4.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003611/0.185, allocations: 210.9 kB / 0.6953 GB, free: 4.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.185, allocations: 4 kB / 0.6953 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.185, allocations: 0 / 0.6953 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1851, allocations: 8 kB / 0.6953 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.1853, allocations: 59.91 kB / 0.6954 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1853, allocations: 0 / 0.6954 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.1855, allocations: 23.83 kB / 0.6954 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1855, allocations: 11.95 kB / 0.6954 GB, free: 4.051 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.1857, allocations: 166.5 kB / 0.6955 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.1857, allocations: 43.45 kB / 0.6956 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.1858, allocations: 39.59 kB / 0.6956 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1858, allocations: 0 / 0.6956 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1859, allocations: 3.938 kB / 0.6956 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.1859, allocations: 4 kB / 0.6956 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.1863, allocations: 381.2 kB / 0.696 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1863, allocations: 0 / 0.696 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.1865, allocations: 51.97 kB / 0.696 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1866, allocations: 4 kB / 0.6961 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1866, allocations: 4 kB / 0.6961 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1866, allocations: 4 kB / 0.6961 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1866, allocations: 4 kB / 0.6961 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/0.1872, allocations: 401 kB / 0.6964 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.881e-05/0.1873, allocations: 116.7 kB / 0.6966 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.1874, allocations: 4 kB / 0.6966 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.1875, allocations: 19.89 kB / 0.6966 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.1876, allocations: 12.05 kB / 0.6966 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1876, allocations: 4 kB / 0.6966 GB, free: 2.719 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003092/0.1879, allocations: 303.1 kB / 0.6969 GB, free: 2.426 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1879, allocations: 0 / 0.6969 GB, free: 2.426 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.1882, allocations: 71.84 kB / 0.697 GB, free: 2.355 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001323/0.1883, allocations: 107.2 kB / 0.6971 GB, free: 2.242 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.1887, allocations: 155.8 kB / 0.6972 GB, free: 2.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1887, allocations: 0 / 0.6972 GB, free: 2.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.1888, allocations: 83.91 kB / 0.6973 GB, free: 2.008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.1894, allocations: 81.52 kB / 0.6974 GB, free: 1.926 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.1907, allocations: 0.8879 MB / 0.6982 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.1911, allocations: 0.8031 MB / 0.699 GB, free: 188 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.1912, allocations: 46.83 kB / 0.6991 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.1913, allocations: 23.44 kB / 0.6991 GB, free: 120 kB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1913, allocations: 3.938 kB / 0.6991 GB, free: 116 kB / 494.1 MB Notification: Performance of Templates: time 0.007312/0.1986, allocations: 3.572 MB / 0.7026 GB, free: 12.66 MB / 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)