Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6965/0.6965, allocations: 128.7 MB / 144.5 MB, free: 1.352 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 189.7 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 408.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009657/0.0009657, allocations: 110 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.001111, allocations: 55.2 kB / 0.558 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1599, allocations: 75.47 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00418/0.1642, allocations: 3.069 MB / 0.6347 GB, free: 29.94 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.1667, allocations: 2.157 MB / 0.6368 GB, free: 27.77 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.1669, allocations: 4 kB / 0.6368 GB, free: 27.76 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.1681, allocations: 478.1 kB / 0.6373 GB, free: 27.29 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1683, allocations: 131.1 kB / 0.6374 GB, free: 27.16 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.511e-05/0.1684, allocations: 51.95 kB / 0.6375 GB, free: 27.11 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.1688, allocations: 473.8 kB / 0.6379 GB, free: 26.65 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.169, allocations: 127.9 kB / 0.638 GB, free: 26.52 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.1691, allocations: 151.3 kB / 0.6382 GB, free: 26.37 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.1693, allocations: 179.1 kB / 0.6384 GB, free: 26.2 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.1694, allocations: 24 kB / 0.6384 GB, free: 26.17 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.531e-05/0.1694, allocations: 24 kB / 0.6384 GB, free: 26.15 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1695, allocations: 87.67 kB / 0.6385 GB, free: 26.06 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.1697, allocations: 206.9 kB / 0.6387 GB, free: 25.86 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.1701, allocations: 0.5488 MB / 0.6392 GB, free: 25.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1701, allocations: 0 / 0.6392 GB, free: 25.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1701, allocations: 4 kB / 0.6392 GB, free: 25.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1701, allocations: 0 / 0.6392 GB, free: 25.3 MB / 442.7 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.0008393/0.1709, allocations: 0.6967 MB / 0.6399 GB, free: 24.56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.171, allocations: 12.03 kB / 0.6399 GB, free: 24.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.1711, allocations: 48.38 kB / 0.64 GB, free: 24.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.1714, allocations: 378 kB / 0.6403 GB, free: 24.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1715, allocations: 16.81 kB / 0.6403 GB, free: 24.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.017e-05/0.1715, allocations: 20.38 kB / 0.6404 GB, free: 24.06 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.1718, allocations: 211.5 kB / 0.6406 GB, free: 23.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1719, allocations: 0 / 0.6406 GB, free: 23.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.1719, allocations: 4 kB / 0.6406 GB, free: 23.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1719, allocations: 8 kB / 0.6406 GB, free: 23.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.1722, allocations: 169.6 kB / 0.6407 GB, free: 23.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009009/0.1731, allocations: 0.8584 MB / 0.6416 GB, free: 22.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.1734, allocations: 158.5 kB / 0.6417 GB, free: 22.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.1736, allocations: 112.8 kB / 0.6418 GB, free: 22.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1736, allocations: 0 / 0.6418 GB, free: 22.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1736, allocations: 42.55 kB / 0.6419 GB, free: 22.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.1737, allocations: 0 / 0.6419 GB, free: 22.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005031/0.1742, allocations: 259.4 kB / 0.6421 GB, free: 22.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.1742, allocations: 55.34 kB / 0.6422 GB, free: 22.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.1745, allocations: 417.7 kB / 0.6426 GB, free: 21.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1745, allocations: 25.7 kB / 0.6426 GB, free: 21.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.1746, allocations: 216.1 kB / 0.6428 GB, free: 21.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.1747, allocations: 59.11 kB / 0.6428 GB, free: 21.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.1747, allocations: 33.7 kB / 0.6429 GB, free: 21.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.1748, allocations: 346.8 kB / 0.6432 GB, free: 20.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.1749, allocations: 55.97 kB / 0.6433 GB, free: 20.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1751, allocations: 58.72 kB / 0.6433 GB, free: 20.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.1753, allocations: 132.8 kB / 0.6434 GB, free: 20.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1753, allocations: 4 kB / 0.6435 GB, free: 20.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003025/0.1756, allocations: 214.8 kB / 0.6437 GB, free: 20.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1757, allocations: 8 kB / 0.6437 GB, free: 20.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1757, allocations: 0 / 0.6437 GB, free: 20.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1757, allocations: 3.938 kB / 0.6437 GB, free: 20.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.1759, allocations: 47.97 kB / 0.6437 GB, free: 20.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1759, allocations: 8 kB / 0.6437 GB, free: 20.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1761, allocations: 23.83 kB / 0.6437 GB, free: 20.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1761, allocations: 4 kB / 0.6437 GB, free: 20.42 MB / 442.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.1762, allocations: 165.8 kB / 0.6439 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.1763, allocations: 35.53 kB / 0.6439 GB, free: 20.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.1763, allocations: 43.53 kB / 0.644 GB, free: 20.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1763, allocations: 0 / 0.644 GB, free: 20.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1763, allocations: 4 kB / 0.644 GB, free: 20.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1764, allocations: 7.984 kB / 0.644 GB, free: 20.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.1766, allocations: 369.4 kB / 0.6443 GB, free: 19.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1766, allocations: 0 / 0.6443 GB, free: 19.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.1769, allocations: 55.91 kB / 0.6444 GB, free: 19.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1769, allocations: 3.938 kB / 0.6444 GB, free: 19.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1769, allocations: 11.92 kB / 0.6444 GB, free: 19.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1769, allocations: 3.984 kB / 0.6444 GB, free: 19.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1769, allocations: 0 / 0.6444 GB, free: 19.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.1792, allocations: 2.223 MB / 0.6466 GB, free: 17.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.1793, allocations: 128.7 kB / 0.6467 GB, free: 17.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.1794, allocations: 0 / 0.6467 GB, free: 17.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.1795, allocations: 15.98 kB / 0.6467 GB, free: 17.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.1796, allocations: 8.078 kB / 0.6467 GB, free: 17.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1796, allocations: 11.94 kB / 0.6467 GB, free: 17.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002256/0.1798, allocations: 303.1 kB / 0.647 GB, free: 16.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1798, allocations: 0 / 0.647 GB, free: 16.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003717/0.1802, allocations: 119.8 kB / 0.6471 GB, free: 16.73 MB / 442.7 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 (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.0001059/0.1803, allocations: 115.1 kB / 0.6473 GB, free: 16.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.1806, allocations: 143.9 kB / 0.6474 GB, free: 16.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1806, allocations: 0 / 0.6474 GB, free: 16.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.1807, allocations: 75.91 kB / 0.6475 GB, free: 16.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.1813, allocations: 85.5 kB / 0.6475 GB, free: 16.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1823, allocations: 1.047 MB / 0.6486 GB, free: 15.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.1825, allocations: 0.7992 MB / 0.6494 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.1827, allocations: 38.95 kB / 0.6494 GB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.1827, allocations: 27.44 kB / 0.6494 GB, free: 14.33 MB / 442.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1827, allocations: 0 / 0.6494 GB, free: 14.33 MB / 442.7 MB Notification: Performance of Templates: time 0.00641/0.1891, allocations: 4.136 MB / 0.6535 GB, free: 10.29 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)