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/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.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.001187/0.001187, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.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 1.023/1.023, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 71.88 kB / 0.5142 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1789, allocations: 82.04 MB / 0.5943 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002975/0.1819, allocations: 1.417 MB / 0.5957 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004562/0.1865, allocations: 2.841 MB / 0.5985 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.1865, allocations: 3.938 kB / 0.5985 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.1866, allocations: 3.938 kB / 0.5985 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-05/0.1867, allocations: 7.875 kB / 0.5985 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004205/0.1909, allocations: 1.569 MB / 0.6001 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.88e-05/0.191, allocations: 39.73 kB / 0.6001 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.191, allocations: 7.938 kB / 0.6001 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.1911, allocations: 15.94 kB / 0.6001 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.818e-05/0.1911, allocations: 15.92 kB / 0.6001 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1911, allocations: 0 / 0.6001 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.1935, allocations: 1.427 MB / 0.6015 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.1935, allocations: 3.938 kB / 0.6015 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.1936, allocations: 23.86 kB / 0.6015 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.1953, allocations: 1.072 MB / 0.6026 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1953, allocations: 0 / 0.6026 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1953, allocations: 0 / 0.6026 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1953, allocations: 0 / 0.6026 GB, free: 1.055 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.000696/0.196, allocations: 0.5145 MB / 0.6031 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1961, allocations: 12.03 kB / 0.6031 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.1961, allocations: 80.22 kB / 0.6032 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1963, allocations: 257.8 kB / 0.6034 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2645/0.4608, allocations: 154.9 kB / 0.6036 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.4609, allocations: 150.9 kB / 0.6037 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.746e-05/0.461, allocations: 105.8 kB / 0.6038 GB, free: 43.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.461, allocations: 75.28 kB / 0.6039 GB, free: 43.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.461, allocations: 150.6 kB / 0.604 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.4611, allocations: 151.5 kB / 0.6042 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.4611, allocations: 153.2 kB / 0.6043 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.4613, allocations: 466.3 kB / 0.6048 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.569e-05/0.4614, allocations: 170.3 kB / 0.6049 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.4614, allocations: 80.14 kB / 0.605 GB, free: 42.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.4614, allocations: 81.72 kB / 0.6051 GB, free: 42.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.4615, allocations: 113.9 kB / 0.6052 GB, free: 42.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.4615, allocations: 1.438 kB / 0.6052 GB, free: 42.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.737e-05/0.4616, allocations: 28.05 kB / 0.6052 GB, free: 42.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.4616, allocations: 130.9 kB / 0.6054 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.4618, allocations: 131.2 kB / 0.6055 GB, free: 42.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.4618, allocations: 26.2 kB / 0.6055 GB, free: 42.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.4618, allocations: 89.73 kB / 0.6056 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.4618, allocations: 1.688 kB / 0.6056 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.4619, allocations: 18.64 kB / 0.6056 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.434e-05/0.4619, allocations: 322.4 kB / 0.6059 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.462, allocations: 4.125 kB / 0.6059 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.462, allocations: 2.906 kB / 0.6059 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.915e-05/0.462, allocations: 19.61 kB / 0.6059 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.462, allocations: 2.25 kB / 0.6059 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001279/0.4622, allocations: 50.34 kB / 0.606 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.4622, allocations: 6.844 kB / 0.606 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.4622, allocations: 4.297 kB / 0.606 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4622, allocations: 0 / 0.606 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.4623, allocations: 3.406 kB / 0.606 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4623, allocations: 4.484 kB / 0.606 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.4623, allocations: 4.297 kB / 0.606 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.4623, allocations: 0.6094 kB / 0.606 GB, free: 41.57 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 6.455e-05/0.4624, allocations: 189.7 kB / 0.6062 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.4624, allocations: 108.7 kB / 0.6063 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.4625, allocations: 112.4 kB / 0.6064 GB, free: 41.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.4625, allocations: 180.3 kB / 0.6066 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.841e-05/0.4625, allocations: 184.7 kB / 0.6068 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.62e-05/0.4626, allocations: 183.9 kB / 0.6069 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.4627, allocations: 412.3 kB / 0.6073 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.4627, allocations: 104.5 kB / 0.6074 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.4627, allocations: 105.5 kB / 0.6075 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.611e-05/0.4628, allocations: 183 kB / 0.6077 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.4628, allocations: 186.6 kB / 0.6079 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.694e-05/0.4628, allocations: 180.9 kB / 0.608 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.566e-05/0.4629, allocations: 180.2 kB / 0.6082 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.916e-05/0.4629, allocations: 317.7 kB / 0.6085 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.463, allocations: 187.2 kB / 0.6087 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.463, allocations: 182.2 kB / 0.6089 GB, free: 38.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.852e-05/0.4631, allocations: 105 kB / 0.609 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.4631, allocations: 185.5 kB / 0.6092 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.4631, allocations: 103.9 kB / 0.6093 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.623e-05/0.4632, allocations: 97.97 kB / 0.6093 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/0.4632, allocations: 0 / 0.6093 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007801/0.464, allocations: 278.6 kB / 0.6096 GB, free: 38.09 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.0008711/0.4648, allocations: 0.5233 MB / 0.6101 GB, free: 37.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.943e-05/0.4649, allocations: 37.55 kB / 0.6102 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.465, allocations: 0 / 0.6102 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.465, allocations: 2.75 kB / 0.6102 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.4653, allocations: 465.9 kB / 0.6106 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.4655, allocations: 234.2 kB / 0.6108 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.4657, allocations: 0.6855 MB / 0.6115 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.382e-05/0.4657, allocations: 4.531 kB / 0.6115 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.043e-05/0.4657, allocations: 7.438 kB / 0.6115 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.4657, allocations: 0 / 0.6115 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.00775/0.4734, allocations: 5.519 MB / 0.6169 GB, free: 36.18 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)