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.001462/0.001462, allocations: 108 kB / 16.41 MB, free: 6.508 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.001431/0.001431, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.14 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.8329/0.8329, allocations: 143 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 68.55 kB / 0.5963 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1672, allocations: 82.03 MB / 0.6764 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004248/0.1715, allocations: 3.033 MB / 0.6793 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002837/0.1744, allocations: 2.144 MB / 0.6814 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.1746, allocations: 8 kB / 0.6814 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.176, allocations: 0.4938 MB / 0.6819 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.1763, allocations: 150.9 kB / 0.682 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.1765, allocations: 55.89 kB / 0.6821 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.177, allocations: 453.8 kB / 0.6825 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.1772, allocations: 155.2 kB / 0.6827 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.1775, allocations: 163.2 kB / 0.6828 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.1777, allocations: 179.2 kB / 0.683 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.1778, allocations: 36 kB / 0.683 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.304e-05/0.1778, allocations: 36 kB / 0.6831 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.178, allocations: 95.61 kB / 0.6832 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.1782, allocations: 215 kB / 0.6834 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005415/0.1787, allocations: 0.5644 MB / 0.6839 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1787, allocations: 4 kB / 0.6839 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1787, allocations: 0 / 0.6839 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.1788, allocations: 0 / 0.6839 GB, free: 2.539 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.001063/0.1798, allocations: 0.7006 MB / 0.6846 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1799, allocations: 12.03 kB / 0.6846 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.716e-05/0.18, allocations: 52.31 kB / 0.6847 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.1805, allocations: 374.1 kB / 0.685 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1805, allocations: 16.81 kB / 0.685 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.1806, allocations: 24.31 kB / 0.6851 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.181, allocations: 203.6 kB / 0.6853 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.181, allocations: 4 kB / 0.6853 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.181, allocations: 8 kB / 0.6853 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.181, allocations: 8 kB / 0.6853 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.1814, allocations: 165.6 kB / 0.6854 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1826, allocations: 0.8583 MB / 0.6863 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.1829, allocations: 166.5 kB / 0.6864 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.1831, allocations: 108.8 kB / 0.6865 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1832, allocations: 0 / 0.6865 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1832, allocations: 34.56 kB / 0.6866 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.1832, allocations: 0 / 0.6866 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005874/0.1838, allocations: 256.2 kB / 0.6868 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1838, allocations: 55.41 kB / 0.6869 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/0.1843, allocations: 421.7 kB / 0.6873 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1843, allocations: 25.7 kB / 0.6873 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1845, allocations: 208.2 kB / 0.6875 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.1846, allocations: 67.08 kB / 0.6876 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.1846, allocations: 33.72 kB / 0.6876 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1848, allocations: 350.7 kB / 0.6879 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1849, allocations: 59.92 kB / 0.688 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1851, allocations: 57.86 kB / 0.688 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.1853, allocations: 130.5 kB / 0.6882 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1854, allocations: 4 kB / 0.6882 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003772/0.1857, allocations: 213.1 kB / 0.6884 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1858, allocations: 4 kB / 0.6884 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1858, allocations: 0 / 0.6884 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1858, allocations: 11.88 kB / 0.6884 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.186, allocations: 55.89 kB / 0.6884 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1861, allocations: 0 / 0.6884 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.1862, allocations: 19.84 kB / 0.6885 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.1862, allocations: 8 kB / 0.6885 GB, free: 13.64 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.0001682/0.1864, allocations: 166.4 kB / 0.6886 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.1865, allocations: 39.47 kB / 0.6887 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.762e-05/0.1865, allocations: 43.53 kB / 0.6887 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1865, allocations: 0 / 0.6887 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1866, allocations: 7.984 kB / 0.6887 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1866, allocations: 0 / 0.6887 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.187, allocations: 365.4 kB / 0.6891 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.187, allocations: 0 / 0.6891 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.1873, allocations: 55.97 kB / 0.6891 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1873, allocations: 7.984 kB / 0.6891 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1873, allocations: 3.938 kB / 0.6891 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1873, allocations: 0 / 0.6891 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1873, allocations: 0 / 0.6891 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.188, allocations: 378.8 kB / 0.6895 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.94e-05/0.1881, allocations: 124.6 kB / 0.6896 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.1881, allocations: 3.938 kB / 0.6896 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.1883, allocations: 11.98 kB / 0.6896 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.1883, allocations: 11.98 kB / 0.6896 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1883, allocations: 4 kB / 0.6896 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003015/0.1887, allocations: 303.1 kB / 0.6899 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1887, allocations: 0 / 0.6899 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003046/0.189, allocations: 75.84 kB / 0.69 GB, free: 11.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001498/0.1891, allocations: 107.3 kB / 0.6901 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003723/0.1895, allocations: 149.5 kB / 0.6902 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1895, allocations: 0 / 0.6902 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.1897, allocations: 81.78 kB / 0.6903 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.1902, allocations: 98.2 kB / 0.6904 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1915, allocations: 0.7783 MB / 0.6912 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.1919, allocations: 0.7951 MB / 0.692 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.192, allocations: 23.44 kB / 0.692 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.192, allocations: 0 / 0.692 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of Templates: time 0.006757/0.1987, allocations: 4.409 MB / 0.6963 GB, free: 5.52 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)