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.001264/0.001264, allocations: 110 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.001214/0.001214, allocations: 190.7 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.289/1.289, allocations: 222.9 MB / 241.1 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.8195/0.8195, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.45 kB / 0.5963 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1587, 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.00429/0.163, allocations: 3.026 MB / 0.6793 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002865/0.1659, allocations: 2.152 MB / 0.6814 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.1662, allocations: 4 kB / 0.6814 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.1677, allocations: 0.4938 MB / 0.6819 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.1681, allocations: 150.8 kB / 0.6821 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.1682, allocations: 63.88 kB / 0.6821 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005178/0.1688, allocations: 449.8 kB / 0.6825 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.169, allocations: 155.2 kB / 0.6827 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.1692, allocations: 167.3 kB / 0.6829 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.1694, allocations: 171.2 kB / 0.683 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.1695, allocations: 32 kB / 0.683 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.278e-05/0.1695, allocations: 36 kB / 0.6831 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1696, allocations: 103.6 kB / 0.6832 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.1698, allocations: 218.9 kB / 0.6834 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.1703, allocations: 0.5641 MB / 0.6839 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1704, allocations: 0 / 0.6839 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1704, allocations: 0 / 0.6839 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.1704, allocations: 4 kB / 0.6839 GB, free: 2.566 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.0009347/0.1713, allocations: 0.7175 MB / 0.6846 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1714, allocations: 8.031 kB / 0.6847 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.908e-05/0.1714, allocations: 44.66 kB / 0.6847 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.1719, allocations: 394.3 kB / 0.6851 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1719, allocations: 12.81 kB / 0.6851 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.172, allocations: 24.38 kB / 0.6851 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.1723, allocations: 199.6 kB / 0.6853 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1724, allocations: 7.938 kB / 0.6853 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1724, allocations: 4 kB / 0.6853 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1724, allocations: 4 kB / 0.6853 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.1728, allocations: 173.6 kB / 0.6855 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.1738, allocations: 0.8625 MB / 0.6863 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.1741, allocations: 150.6 kB / 0.6865 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.1743, allocations: 114.2 kB / 0.6866 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1744, allocations: 4 kB / 0.6866 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1744, allocations: 34.55 kB / 0.6866 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.1744, allocations: 0 / 0.6866 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005696/0.175, allocations: 261.5 kB / 0.6869 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.175, allocations: 51.41 kB / 0.6869 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.1754, allocations: 417.7 kB / 0.6873 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1755, allocations: 25.7 kB / 0.6873 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1756, allocations: 212.3 kB / 0.6875 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.1757, allocations: 63.44 kB / 0.6876 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.1757, allocations: 37.7 kB / 0.6876 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1759, allocations: 346.8 kB / 0.688 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.176, allocations: 59.91 kB / 0.688 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1761, allocations: 55.97 kB / 0.6881 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.1764, allocations: 130.7 kB / 0.6882 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1764, allocations: 7.938 kB / 0.6882 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003495/0.1768, allocations: 211.6 kB / 0.6884 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1768, allocations: 10.66 kB / 0.6884 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1768, allocations: 0 / 0.6884 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1768, allocations: 3.938 kB / 0.6884 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.1771, allocations: 51.91 kB / 0.6885 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.1771, allocations: 4 kB / 0.6885 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.1772, allocations: 23.83 kB / 0.6885 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1773, allocations: 4 kB / 0.6885 GB, free: 13.65 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.0001437/0.1774, allocations: 166.5 kB / 0.6887 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.1775, allocations: 35.77 kB / 0.6887 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.01e-05/0.1775, allocations: 39.59 kB / 0.6887 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1776, allocations: 11.81 kB / 0.6887 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1776, allocations: 0 / 0.6887 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-05/0.1777, allocations: 124.8 kB / 0.6889 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.1777, allocations: 4 kB / 0.6889 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1779, allocations: 11.98 kB / 0.6889 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.1779, allocations: 7.984 kB / 0.6889 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005746/0.1785, allocations: 296.8 kB / 0.6892 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00058/0.1791, allocations: 466.2 kB / 0.6896 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001509/0.1793, allocations: 81.77 kB / 0.6897 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003001/0.1796, allocations: 303.1 kB / 0.69 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of Backend: time 4.41e-07/0.1796, allocations: 0 / 0.69 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005045/0.1801, allocations: 166.4 kB / 0.6901 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001365/0.1815, allocations: 1.251 MB / 0.6914 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.008233/0.1897, allocations: 4.358 MB / 0.6956 GB, free: 6.383 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)