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.001206/0.001206, allocations: 111.9 kB / 16.38 MB, free: 6.484 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.001166/0.001167, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.19 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.802/0.802, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.36 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1426, allocations: 82.03 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004644/0.1472, allocations: 4.133 MB / 0.6804 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00303/0.1503, allocations: 2.421 MB / 0.6827 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.1506, allocations: 12 kB / 0.6827 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.1521, allocations: 0.5285 MB / 0.6832 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.1525, allocations: 250 kB / 0.6835 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1527, allocations: 143.8 kB / 0.6836 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006819/0.1534, allocations: 0.8137 MB / 0.6844 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003917/0.1538, allocations: 334.4 kB / 0.6847 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.1542, allocations: 287 kB / 0.685 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.1545, allocations: 326.6 kB / 0.6853 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.646e-05/0.1546, allocations: 76 kB / 0.6854 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.1547, allocations: 76 kB / 0.6855 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.1548, allocations: 171.4 kB / 0.6856 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.1551, allocations: 386.3 kB / 0.686 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007689/0.1559, allocations: 1.036 MB / 0.687 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1559, allocations: 0 / 0.687 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1559, allocations: 0 / 0.687 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.1559, allocations: 0 / 0.687 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.001271/0.1572, allocations: 0.9502 MB / 0.6879 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1573, allocations: 8.031 kB / 0.6879 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.1574, allocations: 72.09 kB / 0.688 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.158, allocations: 465.7 kB / 0.6885 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.158, allocations: 33.38 kB / 0.6885 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.777e-05/0.1581, allocations: 52.28 kB / 0.6885 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/0.1588, allocations: 434.7 kB / 0.689 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1588, allocations: 4 kB / 0.689 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.1588, allocations: 20 kB / 0.689 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.1588, allocations: 12 kB / 0.689 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006225/0.1595, allocations: 363.8 kB / 0.6893 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.1613, allocations: 1.516 MB / 0.6908 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.1618, allocations: 331.7 kB / 0.6911 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/0.1622, allocations: 328.8 kB / 0.6914 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.1623, allocations: 4.688 kB / 0.6915 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1623, allocations: 38.5 kB / 0.6915 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 1.974e-06/0.1623, allocations: 0 / 0.6915 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.0008656/0.1632, allocations: 0.4924 MB / 0.692 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.1632, allocations: 63.19 kB / 0.692 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.1637, allocations: 485.9 kB / 0.6925 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1638, allocations: 29.7 kB / 0.6925 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1639, allocations: 276.4 kB / 0.6928 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1641, allocations: 141.9 kB / 0.6929 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.1641, allocations: 66.06 kB / 0.693 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1643, allocations: 358.8 kB / 0.6933 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.1645, allocations: 124.7 kB / 0.6934 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.1647, allocations: 129.2 kB / 0.6936 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.1652, allocations: 291 kB / 0.6938 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1652, allocations: 4 kB / 0.6938 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005892/0.1658, allocations: 404.3 kB / 0.6942 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1658, allocations: 4 kB / 0.6942 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1658, allocations: 4 kB / 0.6942 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1659, allocations: 0 / 0.6942 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/0.1663, allocations: 131.8 kB / 0.6944 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1663, allocations: 7.938 kB / 0.6944 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.1666, allocations: 31.59 kB / 0.6944 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.1666, allocations: 12 kB / 0.6944 GB, free: 7.484 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.0001965/0.1668, allocations: 197.8 kB / 0.6946 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.1669, allocations: 59.31 kB / 0.6947 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.167, allocations: 61.09 kB / 0.6947 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.167, allocations: 4 kB / 0.6947 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.167, allocations: 0 / 0.6947 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.167, allocations: 0 / 0.6947 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/0.1676, allocations: 0.5712 MB / 0.6953 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1676, allocations: 0 / 0.6953 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.1681, allocations: 127.8 kB / 0.6954 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1681, allocations: 0 / 0.6954 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.1681, allocations: 16 kB / 0.6954 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1681, allocations: 0 / 0.6954 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1681, allocations: 0 / 0.6954 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.169, allocations: 0.6481 MB / 0.6961 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.1692, allocations: 140.4 kB / 0.6962 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.1692, allocations: 4 kB / 0.6962 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.1694, allocations: 19.98 kB / 0.6962 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.1695, allocations: 23.97 kB / 0.6962 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1695, allocations: 8 kB / 0.6962 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000349/0.1699, allocations: 355.1 kB / 0.6966 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1699, allocations: 0 / 0.6966 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003935/0.1703, allocations: 139.6 kB / 0.6967 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.000135/0.1704, allocations: 119.1 kB / 0.6968 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005661/0.171, allocations: 339.7 kB / 0.6971 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.171, allocations: 0 / 0.6971 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.1713, allocations: 179.6 kB / 0.6973 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.1719, allocations: 124.2 kB / 0.6974 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.1736, allocations: 1.239 MB / 0.6986 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.174, allocations: 0.8704 MB / 0.6995 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.1741, allocations: 39.44 kB / 0.6995 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1741, allocations: 0 / 0.6995 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of Templates: time 0.008925/0.1831, allocations: 6.839 MB / 0.7062 GB, free: 11.3 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)