Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005778/0.005778, allocations: 102 kB / 15.73 MB, free: 6.051 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.001074/0.001075, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.8477/0.8477, allocations: 143 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 60.38 kB / 0.5956 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1318, allocations: 82.04 MB / 0.6757 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005186/0.137, allocations: 4.124 MB / 0.6797 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002729/0.1397, allocations: 2.429 MB / 0.6821 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.1399, allocations: 12 kB / 0.6821 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.1411, allocations: 0.5285 MB / 0.6826 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.1415, allocations: 262 kB / 0.6829 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.1417, allocations: 135.9 kB / 0.683 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006568/0.1424, allocations: 0.8128 MB / 0.6838 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003995/0.1428, allocations: 338.5 kB / 0.6841 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.1431, allocations: 294.9 kB / 0.6844 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.1434, allocations: 322.6 kB / 0.6847 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.337e-05/0.1435, allocations: 76 kB / 0.6848 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.015e-05/0.1436, allocations: 76 kB / 0.6848 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.1437, allocations: 171.4 kB / 0.685 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.144, allocations: 390.2 kB / 0.6854 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007631/0.1448, allocations: 1.024 MB / 0.6864 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1448, allocations: 0 / 0.6864 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1448, allocations: 4 kB / 0.6864 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.1448, allocations: 0 / 0.6864 GB, free: 15.33 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001283/0.1461, allocations: 0.9462 MB / 0.6873 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1461, allocations: 11.97 kB / 0.6873 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.1462, allocations: 72.09 kB / 0.6874 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/0.1468, allocations: 461.6 kB / 0.6878 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.1469, allocations: 41.38 kB / 0.6879 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.556e-05/0.1469, allocations: 48.28 kB / 0.6879 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007333/0.1477, allocations: 438.7 kB / 0.6883 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1477, allocations: 0 / 0.6883 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.1478, allocations: 20 kB / 0.6884 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1478, allocations: 12 kB / 0.6884 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/0.1484, allocations: 363.8 kB / 0.6887 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.1503, allocations: 1.516 MB / 0.6902 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.1508, allocations: 336.4 kB / 0.6905 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.1513, allocations: 320.8 kB / 0.6908 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1513, allocations: 4.688 kB / 0.6908 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1514, allocations: 42.5 kB / 0.6909 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 1.453e-06/0.1514, allocations: 0 / 0.6909 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.0009154/0.1523, allocations: 0.4885 MB / 0.6913 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.1524, allocations: 67.06 kB / 0.6914 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.1529, allocations: 489.9 kB / 0.6919 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1529, allocations: 29.7 kB / 0.6919 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1531, allocations: 276.4 kB / 0.6922 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.1532, allocations: 153.7 kB / 0.6923 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/0.1533, allocations: 62.08 kB / 0.6924 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1534, allocations: 358.8 kB / 0.6927 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.1537, allocations: 116.7 kB / 0.6928 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.1539, allocations: 137.2 kB / 0.693 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.1544, allocations: 294.2 kB / 0.6932 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1544, allocations: 0 / 0.6932 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006103/0.155, allocations: 392.4 kB / 0.6936 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.155, allocations: 4 kB / 0.6936 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.155, allocations: 3.984 kB / 0.6936 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1551, allocations: 4 kB / 0.6936 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.1556, allocations: 131.8 kB / 0.6937 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1556, allocations: 0 / 0.6937 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.1558, allocations: 35.59 kB / 0.6938 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.1558, allocations: 12 kB / 0.6938 GB, free: 7.492 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 (46): * Single equations (assignments): 46 * 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.0001875/0.156, allocations: 193.8 kB / 0.694 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.1561, allocations: 51.38 kB / 0.694 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.1562, allocations: 69.09 kB / 0.6941 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1562, allocations: 4 kB / 0.6941 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1562, allocations: 0 / 0.6941 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1562, allocations: 4 kB / 0.6941 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005883/0.1568, allocations: 0.579 MB / 0.6947 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1568, allocations: 0 / 0.6947 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.1573, allocations: 127.8 kB / 0.6948 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1573, allocations: 0 / 0.6948 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.1574, allocations: 12 kB / 0.6948 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1574, allocations: 4 kB / 0.6948 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1574, allocations: 3.984 kB / 0.6948 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009187/0.1583, allocations: 0.6442 MB / 0.6954 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.1584, allocations: 144.3 kB / 0.6956 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/0.1585, allocations: 7.984 kB / 0.6956 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.1587, allocations: 16 kB / 0.6956 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.1588, allocations: 19.97 kB / 0.6956 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.1588, allocations: 12 kB / 0.6956 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003586/0.1592, allocations: 355.1 kB / 0.696 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1592, allocations: 0 / 0.696 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003558/0.1595, allocations: 135.7 kB / 0.6961 GB, free: 5.039 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001422/0.1597, allocations: 119.1 kB / 0.6962 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005916/0.1603, allocations: 339.7 kB / 0.6965 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1603, allocations: 4 kB / 0.6965 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.1606, allocations: 179.6 kB / 0.6967 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.1612, allocations: 115.9 kB / 0.6968 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.1628, allocations: 1.199 MB / 0.698 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1632, allocations: 0.8704 MB / 0.6988 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001641/0.1634, allocations: 52.33 kB / 0.6989 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.228e-05/0.1635, allocations: 39.44 kB / 0.6989 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.1635, allocations: 7.938 kB / 0.6989 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.009553/0.1731, allocations: 6.044 MB / 0.7048 GB, free: 12.18 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)