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.001111/0.001111, allocations: 110.8 kB / 16.42 MB, free: 6.512 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.001098/0.001098, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.293/1.293, 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.8479/0.8479, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 65.62 kB / 0.5963 GB, free: 12.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 82.04 MB / 0.6764 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004908/0.1359, allocations: 4.139 MB / 0.6804 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003105/0.139, allocations: 2.417 MB / 0.6828 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.1392, allocations: 12 kB / 0.6828 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.1406, allocations: 0.5363 MB / 0.6833 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.141, allocations: 258 kB / 0.6836 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1412, allocations: 139.9 kB / 0.6837 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007247/0.1419, allocations: 0.8098 MB / 0.6845 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004251/0.1424, allocations: 334.5 kB / 0.6848 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.1427, allocations: 291 kB / 0.6851 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.143, allocations: 330.6 kB / 0.6854 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.04e-05/0.1431, allocations: 76 kB / 0.6855 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1432, allocations: 76 kB / 0.6855 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.1434, allocations: 171.4 kB / 0.6857 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.1437, allocations: 386.2 kB / 0.6861 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008211/0.1445, allocations: 1.024 MB / 0.6871 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1445, allocations: 0 / 0.6871 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1445, allocations: 0 / 0.6871 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.1445, allocations: 0 / 0.6871 GB, free: 15.29 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.001329/0.1459, allocations: 0.9541 MB / 0.688 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1459, allocations: 11.97 kB / 0.688 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.146, allocations: 76.08 kB / 0.6881 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/0.1466, allocations: 453.7 kB / 0.6885 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.1467, allocations: 37.38 kB / 0.6886 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.1467, allocations: 52.28 kB / 0.6886 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007514/0.1475, allocations: 430.7 kB / 0.689 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1475, allocations: 4 kB / 0.689 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.1476, allocations: 20 kB / 0.689 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.1476, allocations: 15.98 kB / 0.6891 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007108/0.1483, allocations: 363.8 kB / 0.6894 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.1503, allocations: 1.52 MB / 0.6909 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.1508, allocations: 340.4 kB / 0.6912 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000465/0.1513, allocations: 316.8 kB / 0.6915 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.1513, allocations: 4.688 kB / 0.6915 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1514, allocations: 38.5 kB / 0.6916 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.1514, allocations: 4 kB / 0.6916 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.0009337/0.1523, allocations: 0.4924 MB / 0.692 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1523, allocations: 59.19 kB / 0.6921 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005314/0.1529, allocations: 489.9 kB / 0.6926 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1529, allocations: 29.7 kB / 0.6926 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1531, allocations: 276.4 kB / 0.6929 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.1532, allocations: 149.8 kB / 0.693 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.1533, allocations: 62.08 kB / 0.6931 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1535, allocations: 358.8 kB / 0.6934 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.1537, allocations: 124.7 kB / 0.6935 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.154, allocations: 125.2 kB / 0.6936 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005297/0.1545, allocations: 298.2 kB / 0.6939 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1545, allocations: 0 / 0.6939 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006489/0.1552, allocations: 396.4 kB / 0.6943 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1552, allocations: 11.94 kB / 0.6943 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1552, allocations: 0 / 0.6943 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1552, allocations: 0 / 0.6943 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.1558, allocations: 123.9 kB / 0.6944 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1558, allocations: 4 kB / 0.6944 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.156, allocations: 39.58 kB / 0.6945 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.156, allocations: 12 kB / 0.6945 GB, free: 7.449 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.000222/0.1562, allocations: 193.8 kB / 0.6947 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.1563, allocations: 55.36 kB / 0.6947 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.1565, allocations: 61.09 kB / 0.6948 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1565, allocations: 3.984 kB / 0.6948 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1565, allocations: 0 / 0.6948 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.1566, allocations: 132.4 kB / 0.6949 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.1567, allocations: 23.94 kB / 0.6949 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.1569, allocations: 11.98 kB / 0.6949 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.157, allocations: 23.97 kB / 0.695 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001101/0.1581, allocations: 0.5172 MB / 0.6955 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001024/0.1591, allocations: 0.7281 MB / 0.6962 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002694/0.1594, allocations: 164 kB / 0.6963 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003905/0.1598, allocations: 347.1 kB / 0.6967 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of Backend: time 4.3e-07/0.1598, allocations: 0 / 0.6967 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007059/0.1605, allocations: 299.1 kB / 0.697 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001934/0.1625, allocations: 1.619 MB / 0.6985 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of Templates: time 0.01136/0.1738, allocations: 6.94 MB / 0.7053 GB, free: 12.38 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)