Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 105.1 kB / 16.41 MB, free: 6.465 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.001534/0.001534, allocations: 187 kB / 17.34 MB, free: 5.715 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.06 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.8719/0.8719, allocations: 143.1 MB / 434.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63.36 kB / 0.5963 GB, free: 12.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1545, allocations: 82.04 MB / 0.6764 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002478/0.157, allocations: 1.433 MB / 0.6778 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004527/0.1615, allocations: 2.903 MB / 0.6806 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.1616, allocations: 0 / 0.6806 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.1616, allocations: 3.938 kB / 0.6806 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.758e-05/0.1617, allocations: 19.84 kB / 0.6807 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003966/0.1656, allocations: 1.606 MB / 0.6822 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.1657, allocations: 43.73 kB / 0.6823 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.1658, allocations: 3.938 kB / 0.6823 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.996e-05/0.1658, allocations: 11.94 kB / 0.6823 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.968e-05/0.1658, allocations: 15.92 kB / 0.6823 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.1659, allocations: 0 / 0.6823 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.1682, allocations: 1.537 MB / 0.6838 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.1682, allocations: 11.88 kB / 0.6838 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.1683, allocations: 15.88 kB / 0.6838 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.1699, allocations: 1.107 MB / 0.6849 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.1699, allocations: 0 / 0.6849 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1699, allocations: 0 / 0.6849 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.1699, allocations: 0 / 0.6849 GB, free: 1.676 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006781/0.1706, allocations: 0.5285 MB / 0.6854 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1706, allocations: 12.02 kB / 0.6854 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.1707, allocations: 84.17 kB / 0.6855 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.1708, allocations: 254.4 kB / 0.6858 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.978e-05/0.1709, allocations: 154.9 kB / 0.6859 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/0.171, allocations: 150.9 kB / 0.6861 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.217e-05/0.171, allocations: 109 kB / 0.6862 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.1711, allocations: 75.28 kB / 0.6862 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.1711, allocations: 158.6 kB / 0.6864 GB, free: 76 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.496e-05/0.1712, allocations: 150.6 kB / 0.6865 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.479e-05/0.1713, allocations: 150.6 kB / 0.6867 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.1716, allocations: 465.9 kB / 0.6871 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1717, allocations: 181.1 kB / 0.6873 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.1718, allocations: 80.14 kB / 0.6874 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.1718, allocations: 75.28 kB / 0.6874 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/0.1719, allocations: 109.8 kB / 0.6875 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1719, allocations: 4 kB / 0.6875 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.865e-05/0.1719, allocations: 29.66 kB / 0.6876 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.172, allocations: 126.7 kB / 0.6877 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1722, allocations: 137.8 kB / 0.6878 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1722, allocations: 29.64 kB / 0.6878 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.1722, allocations: 92.08 kB / 0.6879 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.1722, allocations: 4 kB / 0.6879 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.1723, allocations: 21.66 kB / 0.688 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1724, allocations: 322.9 kB / 0.6883 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.367e-05/0.1724, allocations: 4 kB / 0.6883 GB, free: 14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.1725, allocations: 4 kB / 0.6883 GB, free: 14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.1725, allocations: 16.89 kB / 0.6883 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1725, allocations: 4 kB / 0.6883 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001316/0.1726, allocations: 49.7 kB / 0.6883 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1726, allocations: 11.98 kB / 0.6884 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.1727, allocations: 0 / 0.6884 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1727, allocations: 0 / 0.6884 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-06/0.1727, allocations: 7.938 kB / 0.6884 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1727, allocations: 0 / 0.6884 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.1727, allocations: 3.953 kB / 0.6884 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-06/0.1727, allocations: 3.938 kB / 0.6884 GB, free: 13.89 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001101/0.1728, allocations: 193.2 kB / 0.6886 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.1729, allocations: 108.9 kB / 0.6887 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.173, allocations: 112.8 kB / 0.6888 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.065e-05/0.173, allocations: 180.2 kB / 0.6889 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.683e-05/0.1731, allocations: 176.3 kB / 0.6891 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.909e-05/0.1732, allocations: 192.2 kB / 0.6893 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.1735, allocations: 409.2 kB / 0.6897 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.36e-05/0.1735, allocations: 108.9 kB / 0.6898 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.1735, allocations: 104.9 kB / 0.6899 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.939e-05/0.1736, allocations: 176.3 kB / 0.6901 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/0.1737, allocations: 188.2 kB / 0.6902 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.376e-05/0.1738, allocations: 180.3 kB / 0.6904 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-05/0.1738, allocations: 184.2 kB / 0.6906 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.174, allocations: 299.8 kB / 0.6909 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.755e-05/0.1741, allocations: 193.9 kB / 0.691 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.759e-05/0.1742, allocations: 188.2 kB / 0.6912 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.1743, allocations: 104.9 kB / 0.6913 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.1743, allocations: 176.3 kB / 0.6915 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.1744, allocations: 105 kB / 0.6916 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.04e-05/0.1745, allocations: 101.3 kB / 0.6917 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1745, allocations: 0 / 0.6917 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008376/0.1753, allocations: 294.9 kB / 0.692 GB, free: 9.977 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001141/0.1764, allocations: 0.5324 MB / 0.6925 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.1766, allocations: 41.69 kB / 0.6925 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1766, allocations: 0 / 0.6925 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.1766, allocations: 8.062 kB / 0.6925 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.177, allocations: 468.3 kB / 0.693 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.1774, allocations: 267.2 kB / 0.6932 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1777, allocations: 0.6846 MB / 0.6939 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.1777, allocations: 11.44 kB / 0.6939 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1777, allocations: 3.938 kB / 0.6939 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of Templates: time 0.008719/0.1864, allocations: 4.823 MB / 0.6986 GB, free: 3.082 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)