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.InternalResistancesOneUTubeNegative.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00581/0.00581, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.061/1.061, allocations: 143.4 MB / 434.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.000347, allocations: 8 kB / 0.5167 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1844, allocations: 83.42 MB / 0.5982 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001482/0.1859, allocations: 1.142 MB / 0.5993 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004334/0.1902, allocations: 2.889 MB / 0.6021 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.1903, allocations: 0 / 0.6021 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.1903, allocations: 11.88 kB / 0.6021 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.296e-05/0.1904, allocations: 15.91 kB / 0.6021 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.1937, allocations: 1.357 MB / 0.6035 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.87e-05/0.1938, allocations: 43.67 kB / 0.6035 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.1939, allocations: 0 / 0.6035 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.195e-05/0.1939, allocations: 15.94 kB / 0.6035 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.109e-05/0.1939, allocations: 11.94 kB / 0.6035 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.194, allocations: 4 kB / 0.6035 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.1959, allocations: 1.427 MB / 0.6049 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.1959, allocations: 15.91 kB / 0.6049 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.196, allocations: 37.64 kB / 0.605 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.3025/0.4985, allocations: 1.087 MB / 0.606 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4986, allocations: 0 / 0.606 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.226e-06/0.4986, allocations: 0 / 0.606 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.4986, allocations: 0 / 0.606 GB, free: 36.68 MB / 0.4981 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.0005832/0.4992, allocations: 0.512 MB / 0.6065 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4992, allocations: 12.56 kB / 0.6065 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.4993, allocations: 83.06 kB / 0.6066 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.4994, allocations: 242.4 kB / 0.6069 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.4995, allocations: 151.6 kB / 0.607 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.4995, allocations: 154.6 kB / 0.6071 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.867e-05/0.4996, allocations: 109 kB / 0.6072 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.4996, allocations: 76.06 kB / 0.6073 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.4996, allocations: 158.5 kB / 0.6075 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.4996, allocations: 151.5 kB / 0.6076 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.809e-05/0.4997, allocations: 154.2 kB / 0.6078 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.4999, allocations: 458.9 kB / 0.6082 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.031e-05/0.5, allocations: 174 kB / 0.6084 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.376e-05/0.5, allocations: 80.77 kB / 0.6084 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.5001, allocations: 76.59 kB / 0.6085 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.5001, allocations: 112.1 kB / 0.6086 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.5001, allocations: 0 / 0.6086 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.777e-05/0.5002, allocations: 35.55 kB / 0.6087 GB, free: 34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.5002, allocations: 130.2 kB / 0.6088 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.5003, allocations: 135.7 kB / 0.6089 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.5004, allocations: 32.8 kB / 0.6089 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.5004, allocations: 88.61 kB / 0.609 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.5004, allocations: 0 / 0.609 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.5004, allocations: 17.33 kB / 0.609 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.5005, allocations: 316.4 kB / 0.6093 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.367e-05/0.5005, allocations: 7.031 kB / 0.6094 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.5005, allocations: 7.078 kB / 0.6094 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.5006, allocations: 13.3 kB / 0.6094 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5006, allocations: 0 / 0.6094 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001185/0.5007, allocations: 53.59 kB / 0.6094 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.5007, allocations: 6.828 kB / 0.6094 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.5008, allocations: 3.375 kB / 0.6094 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5008, allocations: 0 / 0.6094 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.5008, allocations: 3.844 kB / 0.6094 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.5008, allocations: 4.219 kB / 0.6094 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.5008, allocations: 1.375 kB / 0.6094 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.5008, allocations: 0 / 0.6094 GB, free: 33.28 MB / 0.4981 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 5.956e-05/0.5009, allocations: 188 kB / 0.6096 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.5009, allocations: 115.9 kB / 0.6097 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.501, allocations: 120.1 kB / 0.6098 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.501, allocations: 176.9 kB / 0.61 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.607e-05/0.501, allocations: 183.9 kB / 0.6102 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.56e-05/0.5011, allocations: 182.1 kB / 0.6104 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.5012, allocations: 416.7 kB / 0.6108 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.5012, allocations: 104.3 kB / 0.6109 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-05/0.5013, allocations: 107.5 kB / 0.611 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.312e-05/0.5013, allocations: 180.7 kB / 0.6111 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.5013, allocations: 180 kB / 0.6113 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.283e-05/0.5013, allocations: 179 kB / 0.6115 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.433e-05/0.5014, allocations: 187.3 kB / 0.6117 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.181e-05/0.5014, allocations: 305.3 kB / 0.6119 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.5015, allocations: 191.9 kB / 0.6121 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.5015, allocations: 182.6 kB / 0.6123 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.5016, allocations: 109.3 kB / 0.6124 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.5016, allocations: 177 kB / 0.6126 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.5016, allocations: 106.7 kB / 0.6127 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.5017, allocations: 99.47 kB / 0.6128 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5017, allocations: 0 / 0.6128 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006349/0.5023, allocations: 282 kB / 0.613 GB, free: 29.74 MB / 0.4981 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.0009453/0.5033, allocations: 0.5269 MB / 0.6136 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.587e-05/0.5034, allocations: 44.45 kB / 0.6136 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5034, allocations: 0 / 0.6136 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.5034, allocations: 0 / 0.6136 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.5037, allocations: 0.5302 MB / 0.6141 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/0.504, allocations: 262.6 kB / 0.6144 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.5041, allocations: 0.6883 MB / 0.615 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.288e-05/0.5041, allocations: 0 / 0.615 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.038e-05/0.5042, allocations: 10.34 kB / 0.6151 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.5042, allocations: 0 / 0.6151 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.008341/0.5125, allocations: 5.511 MB / 0.6204 GB, free: 27.7 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)