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-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.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.001348/0.001348, allocations: 103.3 kB / 16.27 MB, free: 6.016 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.0013/0.001301, allocations: 189 kB / 17.19 MB, free: 5.652 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.9 MB, free: 15.03 MB / 206.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 0.9516/0.9516, allocations: 143.3 MB / 434.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002503/0.002503, allocations: 67.89 kB / 0.5151 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3868, allocations: 82.04 MB / 0.5953 GB, free: 16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002875/0.3898, allocations: 1.424 MB / 0.5967 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003642/0.3934, allocations: 2.899 MB / 0.5995 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.3935, allocations: 0 / 0.5995 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.3936, allocations: 7.922 kB / 0.5995 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.465e-05/0.3936, allocations: 15.86 kB / 0.5995 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.3968, allocations: 1.577 MB / 0.601 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.433e-05/0.3968, allocations: 45.14 kB / 0.6011 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.3969, allocations: 4 kB / 0.6011 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.37e-05/0.3969, allocations: 15.88 kB / 0.6011 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.762e-05/0.397, allocations: 23.91 kB / 0.6011 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.397, allocations: 1 kB / 0.6011 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.3985, allocations: 1.46 MB / 0.6026 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.3985, allocations: 3.938 kB / 0.6026 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.3986, allocations: 17.38 kB / 0.6026 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.3996, allocations: 1.107 MB / 0.6037 GB, free: 7.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3996, allocations: 0 / 0.6037 GB, free: 7.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3996, allocations: 0 / 0.6037 GB, free: 7.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3996, allocations: 0 / 0.6037 GB, free: 7.426 MB / 446.1 MB 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.0004791/0.4001, allocations: 0.5207 MB / 0.6042 GB, free: 6.859 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.4002, allocations: 8.031 kB / 0.6042 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.4002, allocations: 80.22 kB / 0.6043 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.4003, allocations: 260.9 kB / 0.6045 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.4004, allocations: 154.9 kB / 0.6046 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.4004, allocations: 151.6 kB / 0.6048 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.084e-05/0.4005, allocations: 114 kB / 0.6049 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.4005, allocations: 75.28 kB / 0.605 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.4005, allocations: 153.6 kB / 0.6051 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.4005, allocations: 150.6 kB / 0.6053 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.498e-05/0.4006, allocations: 150.6 kB / 0.6054 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.4008, allocations: 467.2 kB / 0.6059 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.106e-05/0.4008, allocations: 178.4 kB / 0.606 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.4009, allocations: 80.14 kB / 0.6061 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.4009, allocations: 76.56 kB / 0.6062 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.4009, allocations: 113.8 kB / 0.6063 GB, free: 4.578 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.4009, allocations: 4.844 kB / 0.6063 GB, free: 4.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.848e-05/0.401, allocations: 25.7 kB / 0.6063 GB, free: 4.543 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.401, allocations: 132.1 kB / 0.6064 GB, free: 4.402 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.4012, allocations: 136.1 kB / 0.6066 GB, free: 4.262 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.4012, allocations: 27.05 kB / 0.6066 GB, free: 4.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.4012, allocations: 92.12 kB / 0.6067 GB, free: 4.137 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.4012, allocations: 0 / 0.6067 GB, free: 4.137 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.4012, allocations: 19 kB / 0.6067 GB, free: 4.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.535e-05/0.4013, allocations: 326.8 kB / 0.607 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.4013, allocations: 1.469 kB / 0.607 GB, free: 3.785 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.5e-05/0.4013, allocations: 4 kB / 0.607 GB, free: 3.781 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.558e-05/0.4014, allocations: 16.86 kB / 0.607 GB, free: 3.762 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4014, allocations: 1.281 kB / 0.607 GB, free: 3.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001161/0.4015, allocations: 53.61 kB / 0.6071 GB, free: 3.703 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.4015, allocations: 11.98 kB / 0.6071 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.4016, allocations: 0 / 0.6071 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4016, allocations: 4.656 kB / 0.6071 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.4016, allocations: 1.375 kB / 0.6071 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4016, allocations: 0 / 0.6071 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.4016, allocations: 3.938 kB / 0.6071 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.4016, allocations: 3.938 kB / 0.6071 GB, free: 3.68 MB / 446.1 MB 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.972e-05/0.4017, allocations: 190.5 kB / 0.6073 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.4018, allocations: 114.4 kB / 0.6074 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.4018, allocations: 108.9 kB / 0.6075 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/0.4018, allocations: 185.6 kB / 0.6077 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.798e-05/0.4018, allocations: 184.3 kB / 0.6079 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/0.4019, allocations: 185.5 kB / 0.608 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.402, allocations: 413.2 kB / 0.6084 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.4021, allocations: 106.3 kB / 0.6085 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.514e-05/0.4021, allocations: 108.9 kB / 0.6086 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.739e-05/0.4021, allocations: 177.2 kB / 0.6088 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.4021, allocations: 189.4 kB / 0.609 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-05/0.4022, allocations: 176.3 kB / 0.6091 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.522e-05/0.4022, allocations: 181.8 kB / 0.6093 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.83e-05/0.4023, allocations: 309 kB / 0.6096 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.4023, allocations: 190 kB / 0.6098 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.4024, allocations: 185.6 kB / 0.61 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.671e-05/0.4024, allocations: 101 kB / 0.6101 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.4025, allocations: 184.9 kB / 0.6102 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.4025, allocations: 103.4 kB / 0.6103 GB, free: 156 kB / 446.1 MB Notification: Performance of sorting global known variables: time 3.65e-05/0.4025, allocations: 105.6 kB / 0.6104 GB, free: 52 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4025, allocations: 0 / 0.6104 GB, free: 52 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007064/0.4032, allocations: 279.8 kB / 0.6107 GB, free: 15.78 MB / 462.1 MB 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.001063/0.4043, allocations: 0.5261 MB / 0.6112 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.4044, allocations: 47.36 kB / 0.6113 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4045, allocations: 3.938 kB / 0.6113 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4045, allocations: 0 / 0.6113 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.4049, allocations: 478.3 kB / 0.6117 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.4053, allocations: 268.6 kB / 0.612 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.4056, allocations: 0.6822 MB / 0.6127 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.003e-05/0.4056, allocations: 7.438 kB / 0.6127 GB, free: 13.72 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4056, allocations: 0 / 0.6127 GB, free: 13.72 MB / 462.1 MB Notification: Performance of Templates: time 0.008226/0.4139, allocations: 4.832 MB / 0.6174 GB, free: 8.926 MB / 462.1 MB 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)