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.001147/0.001147, allocations: 113.8 kB / 16.42 MB, free: 6.473 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.001223/0.001223, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.8519/0.8519, allocations: 143 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.5 kB / 0.5963 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1461, allocations: 82.03 MB / 0.6764 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.005469/0.1516, allocations: 4.14 MB / 0.6804 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003658/0.1553, allocations: 2.433 MB / 0.6828 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004502/0.1558, allocations: 8 kB / 0.6828 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.1575, allocations: 0.5363 MB / 0.6833 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007089/0.1582, allocations: 250 kB / 0.6836 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.1586, allocations: 135.9 kB / 0.6837 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009796/0.1596, allocations: 0.8137 MB / 0.6845 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.1601, allocations: 322.5 kB / 0.6848 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004383/0.1605, allocations: 294.9 kB / 0.6851 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.161, allocations: 330.6 kB / 0.6854 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.1611, allocations: 72 kB / 0.6855 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.1613, allocations: 76 kB / 0.6855 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.1614, allocations: 171.4 kB / 0.6857 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004153/0.1619, allocations: 390.2 kB / 0.6861 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.1629, allocations: 1.027 MB / 0.6871 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1629, allocations: 0 / 0.6871 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1629, allocations: 4 kB / 0.6871 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.935e-05/0.1629, allocations: 4 kB / 0.6871 GB, free: 15.32 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.001606/0.1645, allocations: 0.9613 MB / 0.688 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1646, allocations: 8.031 kB / 0.688 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.1647, allocations: 80.47 kB / 0.6881 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006715/0.1654, allocations: 466 kB / 0.6885 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.1654, allocations: 45.31 kB / 0.6886 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.1655, allocations: 48.36 kB / 0.6886 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007664/0.1663, allocations: 430.8 kB / 0.689 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.1663, allocations: 3.953 kB / 0.6891 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.1664, allocations: 20 kB / 0.6891 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1664, allocations: 15.94 kB / 0.6891 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/0.1671, allocations: 367.8 kB / 0.6894 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.1693, allocations: 1.524 MB / 0.6909 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/0.1698, allocations: 335.6 kB / 0.6912 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.1703, allocations: 320.8 kB / 0.6915 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1703, allocations: 4.688 kB / 0.6916 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1703, allocations: 42.5 kB / 0.6916 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 2.455e-06/0.1704, allocations: 0 / 0.6916 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.0009769/0.1713, allocations: 0.4888 MB / 0.6921 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1714, allocations: 63.17 kB / 0.6921 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/0.172, allocations: 489.9 kB / 0.6926 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.172, allocations: 33.7 kB / 0.6926 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.1722, allocations: 284.6 kB / 0.6929 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.1724, allocations: 154.6 kB / 0.6931 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.1725, allocations: 58.08 kB / 0.6931 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1726, allocations: 362.8 kB / 0.6935 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.1729, allocations: 120.7 kB / 0.6936 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.1731, allocations: 129.2 kB / 0.6937 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.1736, allocations: 302.2 kB / 0.694 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1737, allocations: 4 kB / 0.694 GB, free: 8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006586/0.1743, allocations: 392.7 kB / 0.6944 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1743, allocations: 7.938 kB / 0.6944 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1744, allocations: 0 / 0.6944 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1744, allocations: 8 kB / 0.6944 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.1749, allocations: 123.9 kB / 0.6945 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1749, allocations: 0 / 0.6945 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.1751, allocations: 36.5 kB / 0.6945 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.1752, allocations: 11.98 kB / 0.6945 GB, free: 7.426 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.0002019/0.1754, allocations: 193.8 kB / 0.6947 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.482e-05/0.1755, allocations: 55.61 kB / 0.6948 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.1756, allocations: 69.09 kB / 0.6948 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1756, allocations: 0 / 0.6948 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.1756, allocations: 3.984 kB / 0.6948 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.1757, allocations: 140.6 kB / 0.695 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.1758, allocations: 4 kB / 0.695 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.176, allocations: 8 kB / 0.695 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.1761, allocations: 27.95 kB / 0.695 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001102/0.1772, allocations: 0.525 MB / 0.6955 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009869/0.1782, allocations: 0.7245 MB / 0.6962 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002928/0.1785, allocations: 168 kB / 0.6964 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003853/0.1789, allocations: 347.1 kB / 0.6967 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of Backend: time 6.61e-07/0.1789, allocations: 0 / 0.6967 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000736/0.1797, allocations: 295.1 kB / 0.697 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of SimCode: time 0.00204/0.1817, allocations: 1.644 MB / 0.6986 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of Templates: time 0.013/0.1947, allocations: 6.926 MB / 0.7054 GB, free: 12.35 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)