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.00127/0.00127, allocations: 105.7 kB / 16.41 MB, free: 6.504 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.001163/0.001163, allocations: 187 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.15 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.83/0.83, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 60.03 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.148, allocations: 82.04 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.InternalResistancesOneUTube): time 0.004184/0.1522, allocations: 3.019 MB / 0.6793 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.1551, allocations: 2.152 MB / 0.6814 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.1554, allocations: 4 kB / 0.6814 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.1569, allocations: 0.4977 MB / 0.6819 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.1573, allocations: 150.9 kB / 0.682 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.1575, allocations: 59.92 kB / 0.6821 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004926/0.158, allocations: 449.8 kB / 0.6825 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.1582, allocations: 151.2 kB / 0.6827 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.1584, allocations: 159.3 kB / 0.6828 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.1586, allocations: 183.1 kB / 0.683 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.1587, allocations: 36 kB / 0.683 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.704e-05/0.1587, allocations: 40 kB / 0.6831 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.1588, allocations: 99.66 kB / 0.6832 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.159, allocations: 211 kB / 0.6834 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.1595, allocations: 0.5683 MB / 0.6839 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1595, allocations: 0 / 0.6839 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1595, allocations: 0 / 0.6839 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.1596, allocations: 0 / 0.6839 GB, free: 2.555 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.0009711/0.1605, allocations: 0.7006 MB / 0.6846 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1606, allocations: 12.03 kB / 0.6846 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.1607, allocations: 48.38 kB / 0.6847 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.1611, allocations: 378 kB / 0.685 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1612, allocations: 16.81 kB / 0.685 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.1612, allocations: 20.38 kB / 0.6851 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.1616, allocations: 211.5 kB / 0.6853 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1616, allocations: 3.984 kB / 0.6853 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.1616, allocations: 12 kB / 0.6853 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1617, allocations: 4 kB / 0.6853 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.162, allocations: 161.7 kB / 0.6854 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.1631, allocations: 0.8622 MB / 0.6863 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.1634, allocations: 155.4 kB / 0.6864 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.1636, allocations: 112.8 kB / 0.6865 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1636, allocations: 0 / 0.6865 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1637, allocations: 38.56 kB / 0.6866 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.1637, allocations: 0 / 0.6866 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.00056/0.1642, allocations: 260.1 kB / 0.6868 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.1643, allocations: 51.41 kB / 0.6869 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.1647, allocations: 413.7 kB / 0.6873 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1647, allocations: 33.7 kB / 0.6873 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1649, allocations: 212.1 kB / 0.6875 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.1649, allocations: 59.11 kB / 0.6876 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.165, allocations: 33.7 kB / 0.6876 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.1651, allocations: 346.8 kB / 0.6879 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1653, allocations: 59.92 kB / 0.688 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1654, allocations: 55.97 kB / 0.688 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.1657, allocations: 138.4 kB / 0.6882 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1657, allocations: 0 / 0.6882 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003572/0.1661, allocations: 215 kB / 0.6884 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1661, allocations: 4 kB / 0.6884 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1661, allocations: 0 / 0.6884 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1661, allocations: 7.938 kB / 0.6884 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.1664, allocations: 59.94 kB / 0.6884 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1664, allocations: 0 / 0.6884 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.1665, allocations: 19.84 kB / 0.6885 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1665, allocations: 4 kB / 0.6885 GB, free: 13.66 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.0001364/0.1667, allocations: 165.8 kB / 0.6886 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.1667, allocations: 35.53 kB / 0.6887 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.945e-05/0.1668, allocations: 47.47 kB / 0.6887 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1668, allocations: 4 kB / 0.6887 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1668, allocations: 0 / 0.6887 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1668, allocations: 7.984 kB / 0.6887 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.1672, allocations: 365.4 kB / 0.6891 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1672, allocations: 0 / 0.6891 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.1674, allocations: 55.91 kB / 0.6891 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1675, allocations: 4 kB / 0.6891 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1675, allocations: 11.86 kB / 0.6891 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1675, allocations: 0 / 0.6891 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1675, allocations: 0 / 0.6891 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.168, allocations: 374.9 kB / 0.6895 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.1682, allocations: 124.6 kB / 0.6896 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.1682, allocations: 3.938 kB / 0.6896 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.1684, allocations: 11.98 kB / 0.6896 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.1684, allocations: 11.98 kB / 0.6896 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1684, allocations: 4 kB / 0.6896 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003013/0.1687, allocations: 307.2 kB / 0.6899 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1687, allocations: 0 / 0.6899 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002767/0.169, allocations: 71.84 kB / 0.69 GB, free: 12 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.000117/0.1691, allocations: 111.2 kB / 0.6901 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003345/0.1695, allocations: 147.8 kB / 0.6902 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1695, allocations: 0 / 0.6902 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.1696, allocations: 85.78 kB / 0.6903 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.1701, allocations: 96.92 kB / 0.6904 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1713, allocations: 0.7745 MB / 0.6912 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1716, allocations: 0.7951 MB / 0.6919 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.696e-05/0.1717, allocations: 27.44 kB / 0.692 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.1717, allocations: 0 / 0.692 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of Templates: time 0.005824/0.1775, allocations: 4.461 MB / 0.6963 GB, free: 5.48 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)