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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 113.4 kB / 16.4 MB, free: 6.395 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.001543/0.001543, allocations: 189.8 kB / 17.34 MB, free: 5.836 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.87/0.87, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 63.47 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1548, allocations: 82.03 MB / 0.6764 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.0043/0.1591, allocations: 3.034 MB / 0.6793 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002868/0.162, allocations: 2.156 MB / 0.6814 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.1621, allocations: 8 kB / 0.6814 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.1635, allocations: 0.4899 MB / 0.6819 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.1638, allocations: 154.9 kB / 0.6821 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.1639, allocations: 59.89 kB / 0.6821 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005123/0.1644, allocations: 453.9 kB / 0.6826 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.1646, allocations: 95.3 kB / 0.6826 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1648, allocations: 167.2 kB / 0.6828 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.1651, allocations: 187.1 kB / 0.683 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.1651, allocations: 32 kB / 0.683 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.642e-05/0.1652, allocations: 36 kB / 0.683 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1653, allocations: 99.61 kB / 0.6831 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.1655, allocations: 215 kB / 0.6833 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.1661, allocations: 0.568 MB / 0.6839 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1661, allocations: 0 / 0.6839 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1661, allocations: 0 / 0.6839 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.1661, allocations: 4 kB / 0.6839 GB, free: 2.594 MB / 0.5137 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.001063/0.1672, allocations: 0.7121 MB / 0.6846 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1672, allocations: 12.03 kB / 0.6846 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.591e-05/0.1673, allocations: 44.66 kB / 0.6847 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000528/0.1678, allocations: 386.3 kB / 0.685 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.1678, allocations: 16.81 kB / 0.685 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.1679, allocations: 28.31 kB / 0.6851 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.1683, allocations: 203.6 kB / 0.6853 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1683, allocations: 4 kB / 0.6853 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.1683, allocations: 8 kB / 0.6853 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1683, allocations: 4 kB / 0.6853 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.1687, allocations: 161.7 kB / 0.6854 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.1699, allocations: 0.8625 MB / 0.6863 GB, free: 4 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.1703, allocations: 142.6 kB / 0.6864 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.1705, allocations: 96.81 kB / 0.6865 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1705, allocations: 7.938 kB / 0.6865 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1705, allocations: 38.56 kB / 0.6865 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.1705, allocations: 0 / 0.6865 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006002/0.1711, allocations: 257.5 kB / 0.6868 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1712, allocations: 51.41 kB / 0.6868 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/0.1717, allocations: 421.7 kB / 0.6872 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1717, allocations: 29.7 kB / 0.6873 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1718, allocations: 208.3 kB / 0.6875 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.1719, allocations: 71.41 kB / 0.6875 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.172, allocations: 33.72 kB / 0.6876 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1721, allocations: 346.8 kB / 0.6879 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1723, allocations: 55.97 kB / 0.6879 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1724, allocations: 59.91 kB / 0.688 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.1727, allocations: 138.7 kB / 0.6881 GB, free: 14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1727, allocations: 0 / 0.6881 GB, free: 14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003907/0.1731, allocations: 203.2 kB / 0.6883 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1731, allocations: 8 kB / 0.6883 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1731, allocations: 0 / 0.6883 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1731, allocations: 3.938 kB / 0.6883 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.1734, allocations: 63.83 kB / 0.6884 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1734, allocations: 4 kB / 0.6884 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.1735, allocations: 19.84 kB / 0.6884 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1735, allocations: 8 kB / 0.6884 GB, free: 13.7 MB / 0.5294 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.0001634/0.1737, allocations: 162.5 kB / 0.6886 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.1738, allocations: 43.7 kB / 0.6886 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.445e-05/0.1738, allocations: 43.53 kB / 0.6887 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.1738, allocations: 7.984 kB / 0.6887 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1738, allocations: 3.938 kB / 0.6887 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1738, allocations: 0 / 0.6887 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.1743, allocations: 377.3 kB / 0.689 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1743, allocations: 0 / 0.689 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.1745, allocations: 55.95 kB / 0.6891 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1745, allocations: 0 / 0.6891 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.1745, allocations: 7.938 kB / 0.6891 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.1745, allocations: 4 kB / 0.6891 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1745, allocations: 3.984 kB / 0.6891 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.1751, allocations: 377.3 kB / 0.6895 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.1752, allocations: 120.8 kB / 0.6896 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.1753, allocations: 11.94 kB / 0.6896 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.1754, allocations: 11.98 kB / 0.6896 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1755, allocations: 7.984 kB / 0.6896 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.1755, allocations: 4 kB / 0.6896 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003392/0.1758, allocations: 307.1 kB / 0.6899 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1758, allocations: 4.062 kB / 0.6899 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002945/0.1761, allocations: 71.89 kB / 0.69 GB, free: 12.02 MB / 0.5294 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.0001286/0.1763, allocations: 103.2 kB / 0.6901 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003732/0.1766, allocations: 143.8 kB / 0.6902 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1766, allocations: 0 / 0.6902 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.1768, allocations: 71.91 kB / 0.6903 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.1773, allocations: 86.84 kB / 0.6904 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.1786, allocations: 0.7971 MB / 0.6912 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.1791, allocations: 0.7989 MB / 0.6919 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.1792, allocations: 23.44 kB / 0.692 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1792, allocations: 0 / 0.692 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.007221/0.1864, allocations: 4.444 MB / 0.6963 GB, free: 5.531 MB / 0.5294 GB 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)