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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01029/0.01029, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001934/0.001934, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.8798/0.8798, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.25 kB / 0.5956 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1946, allocations: 82.03 MB / 0.6757 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002384/0.197, allocations: 1.44 MB / 0.6771 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004204/0.2012, allocations: 2.895 MB / 0.6799 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.2013, allocations: 0 / 0.6799 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.2013, allocations: 7.922 kB / 0.68 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.343e-05/0.2014, allocations: 11.86 kB / 0.68 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.205, allocations: 1.595 MB / 0.6815 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.375e-05/0.2051, allocations: 43.73 kB / 0.6816 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.2052, allocations: 7.938 kB / 0.6816 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.2052, allocations: 23.91 kB / 0.6816 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.469e-05/0.2053, allocations: 7.938 kB / 0.6816 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.2053, allocations: 4 kB / 0.6816 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.2074, allocations: 1.529 MB / 0.6831 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.2075, allocations: 15.91 kB / 0.6831 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.2075, allocations: 19.88 kB / 0.6831 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.209, allocations: 1.107 MB / 0.6842 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.209, allocations: 0 / 0.6842 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.894e-06/0.209, allocations: 0 / 0.6842 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.209, allocations: 0 / 0.6842 GB, free: 1.59 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.0006179/0.2097, allocations: 0.5247 MB / 0.6847 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2097, allocations: 8.031 kB / 0.6847 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.2098, allocations: 84.17 kB / 0.6848 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.2099, allocations: 254.4 kB / 0.6851 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.21, allocations: 154.9 kB / 0.6852 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.2101, allocations: 154.9 kB / 0.6854 GB, free: 344 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.009e-05/0.2101, allocations: 109.1 kB / 0.6855 GB, free: 228 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.2102, allocations: 75.28 kB / 0.6855 GB, free: 152 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.2102, allocations: 150.6 kB / 0.6857 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.467e-05/0.2103, allocations: 158.5 kB / 0.6858 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.462e-05/0.2104, allocations: 154.5 kB / 0.686 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.2106, allocations: 465.9 kB / 0.6864 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.478e-05/0.2107, allocations: 165.1 kB / 0.6866 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.2108, allocations: 84.14 kB / 0.6867 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.2108, allocations: 79.28 kB / 0.6867 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.2108, allocations: 117.7 kB / 0.6868 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.2108, allocations: 0 / 0.6868 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.191e-05/0.2109, allocations: 33.66 kB / 0.6869 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.211, allocations: 130.7 kB / 0.687 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.2111, allocations: 125.8 kB / 0.6871 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2112, allocations: 33.7 kB / 0.6872 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.2112, allocations: 92.09 kB / 0.6872 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.2112, allocations: 0 / 0.6872 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.2113, allocations: 25.64 kB / 0.6873 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2114, allocations: 318.9 kB / 0.6876 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.2114, allocations: 4 kB / 0.6876 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.2114, allocations: 8 kB / 0.6876 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.804e-05/0.2115, allocations: 24.78 kB / 0.6876 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2115, allocations: 4.031 kB / 0.6876 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001186/0.2116, allocations: 45.64 kB / 0.6877 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2116, allocations: 8 kB / 0.6877 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/0.2117, allocations: 4 kB / 0.6877 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2117, allocations: 0 / 0.6877 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.2117, allocations: 0 / 0.6877 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2117, allocations: 0 / 0.6877 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.2117, allocations: 3.953 kB / 0.6877 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.2117, allocations: 0 / 0.6877 GB, free: 13.82 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 9.638e-05/0.2118, allocations: 193.1 kB / 0.6879 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.2119, allocations: 116.8 kB / 0.688 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.212, allocations: 108.9 kB / 0.6881 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.573e-05/0.212, allocations: 180.2 kB / 0.6882 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.584e-05/0.2121, allocations: 184.2 kB / 0.6884 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.273e-05/0.2121, allocations: 176.3 kB / 0.6886 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.2124, allocations: 421.2 kB / 0.689 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.27e-05/0.2124, allocations: 104.9 kB / 0.6891 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.2125, allocations: 104.9 kB / 0.6892 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-05/0.2125, allocations: 180.2 kB / 0.6894 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.2126, allocations: 180.3 kB / 0.6895 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-05/0.2126, allocations: 184.2 kB / 0.6897 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.064e-05/0.2127, allocations: 180.3 kB / 0.6899 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.2128, allocations: 303.8 kB / 0.6902 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.2129, allocations: 190 kB / 0.6903 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.686e-05/0.213, allocations: 196.2 kB / 0.6905 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.2131, allocations: 105 kB / 0.6906 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.2132, allocations: 188.2 kB / 0.6908 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.2132, allocations: 101 kB / 0.6909 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.257e-05/0.2133, allocations: 101.3 kB / 0.691 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2133, allocations: 0 / 0.691 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006441/0.2139, allocations: 290.9 kB / 0.6913 GB, free: 9.891 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.0009824/0.2149, allocations: 0.5397 MB / 0.6918 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.215, allocations: 41.64 kB / 0.6918 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.215, allocations: 0 / 0.6918 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.215, allocations: 0 / 0.6918 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.2154, allocations: 476.3 kB / 0.6923 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.2157, allocations: 241.9 kB / 0.6925 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.216, allocations: 0.6846 MB / 0.6932 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.291e-05/0.216, allocations: 4 kB / 0.6932 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/0.216, allocations: 15.38 kB / 0.6932 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.216, allocations: 0 / 0.6932 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of Templates: time 0.009121/0.2252, allocations: 5.652 MB / 0.6987 GB, free: 2.238 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)