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.0009908/0.0009909, allocations: 97.78 kB / 16.02 MB, free: 76 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.0009216/0.0009216, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.457/1.457, allocations: 223.3 MB / 241 MB, free: 5.328 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.004/1.004, allocations: 143.2 MB / 435.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003925, allocations: 12.28 kB / 0.5171 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2034, allocations: 83.41 MB / 0.5986 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001728/0.2052, allocations: 1.161 MB / 0.5997 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004617/0.2098, allocations: 2.932 MB / 0.6026 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.2099, allocations: 0 / 0.6026 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.2099, allocations: 3.984 kB / 0.6026 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.21, allocations: 15.86 kB / 0.6026 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003325/0.2133, allocations: 1.38 MB / 0.6039 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.074e-05/0.2134, allocations: 47.67 kB / 0.604 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.2135, allocations: 8 kB / 0.604 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.931e-05/0.2135, allocations: 15.94 kB / 0.604 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.944e-05/0.2135, allocations: 11.92 kB / 0.604 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.2136, allocations: 4 kB / 0.604 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.2155, allocations: 1.462 MB / 0.6055 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.2156, allocations: 7.938 kB / 0.6055 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.2156, allocations: 41.58 kB / 0.6055 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.3883/0.6039, allocations: 0.7787 MB / 0.6063 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.604, allocations: 0 / 0.6063 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.604, allocations: 1.5 kB / 0.6063 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.604, allocations: 0 / 0.6063 GB, free: 36.54 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.000805/0.6048, allocations: 0.5136 MB / 0.6068 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.6049, allocations: 9.688 kB / 0.6068 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.6049, allocations: 86.28 kB / 0.6069 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.6051, allocations: 252.8 kB / 0.6071 GB, free: 35.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.6051, allocations: 151.9 kB / 0.6072 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.6051, allocations: 155 kB / 0.6074 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.073e-05/0.6052, allocations: 108 kB / 0.6075 GB, free: 35.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.6052, allocations: 76.44 kB / 0.6076 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.6053, allocations: 151.2 kB / 0.6077 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.6053, allocations: 151.5 kB / 0.6079 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.983e-05/0.6053, allocations: 158.8 kB / 0.608 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.6055, allocations: 464.7 kB / 0.6085 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.546e-05/0.6056, allocations: 171.6 kB / 0.6086 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.6056, allocations: 81.02 kB / 0.6087 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.6057, allocations: 75.91 kB / 0.6088 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.6057, allocations: 115.5 kB / 0.6089 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.6057, allocations: 3.719 kB / 0.6089 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.465e-05/0.6058, allocations: 33.78 kB / 0.6089 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.6058, allocations: 130.2 kB / 0.609 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.606, allocations: 131.8 kB / 0.6092 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.606, allocations: 25.7 kB / 0.6092 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.606, allocations: 93.83 kB / 0.6093 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.606, allocations: 0 / 0.6093 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.606, allocations: 15.91 kB / 0.6093 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.6061, allocations: 318.2 kB / 0.6096 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.6061, allocations: 6.469 kB / 0.6096 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.43e-05/0.6061, allocations: 7.094 kB / 0.6096 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.039e-05/0.6062, allocations: 22.2 kB / 0.6096 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6062, allocations: 0.6562 kB / 0.6096 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001233/0.6063, allocations: 51.55 kB / 0.6097 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.6063, allocations: 5.688 kB / 0.6097 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.6064, allocations: 2.625 kB / 0.6097 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.6064, allocations: 3.188 kB / 0.6097 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.095e-06/0.6064, allocations: 0 / 0.6097 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6064, allocations: 9.5 kB / 0.6097 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.6064, allocations: 3.844 kB / 0.6097 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.6065, allocations: 2.812 kB / 0.6097 GB, free: 33.15 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 7.545e-05/0.6065, allocations: 184.8 kB / 0.6099 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.6066, allocations: 118.9 kB / 0.61 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.6066, allocations: 110.8 kB / 0.6101 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.794e-05/0.6067, allocations: 178.3 kB / 0.6103 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.279e-05/0.6067, allocations: 185.1 kB / 0.6104 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/0.6067, allocations: 178.3 kB / 0.6106 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.6069, allocations: 417.4 kB / 0.611 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.6069, allocations: 105.4 kB / 0.6111 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.719e-05/0.6069, allocations: 109.7 kB / 0.6112 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.82e-05/0.6069, allocations: 179.6 kB / 0.6114 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.607, allocations: 178.5 kB / 0.6116 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-05/0.607, allocations: 182.9 kB / 0.6117 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.97e-05/0.607, allocations: 181.4 kB / 0.6119 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.576e-05/0.6071, allocations: 311.9 kB / 0.6122 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.6072, allocations: 189.1 kB / 0.6124 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.6072, allocations: 188.7 kB / 0.6126 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.414e-05/0.6073, allocations: 105.3 kB / 0.6127 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.6073, allocations: 178.4 kB / 0.6128 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.6074, allocations: 108.2 kB / 0.6129 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.6074, allocations: 99.69 kB / 0.613 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6074, allocations: 0 / 0.613 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008443/0.6083, allocations: 290.6 kB / 0.6133 GB, free: 29.61 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.001004/0.6093, allocations: 0.528 MB / 0.6138 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.481e-05/0.6094, allocations: 37.98 kB / 0.6139 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.6094, allocations: 7.75 kB / 0.6139 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.6094, allocations: 3.188 kB / 0.6139 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.6097, allocations: 0.5293 MB / 0.6144 GB, free: 28.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.61, allocations: 292.2 kB / 0.6147 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.6101, allocations: 0.6841 MB / 0.6153 GB, free: 27.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.022e-05/0.6102, allocations: 10.19 kB / 0.6154 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.6102, allocations: 0 / 0.6154 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.007027/0.6172, allocations: 4.805 MB / 0.62 GB, free: 27.47 MB / 0.4981 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)