Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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/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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 116.9 kB / 16.37 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.001153/0.001153, allocations: 194.4 kB / 17.31 MB, free: 5.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.244/1.244, allocations: 222.9 MB / 241 MB, free: 15.17 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.81/0.81, allocations: 143 MB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.89 kB / 0.5156 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2961, allocations: 82.05 MB / 0.5958 GB, free: 16.1 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003872/0.3, allocations: 4.122 MB / 0.5998 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.302, allocations: 2.418 MB / 0.6021 GB, free: 9.562 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.3023, allocations: 8 kB / 0.6021 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.3033, allocations: 0.5441 MB / 0.6027 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.3036, allocations: 245.7 kB / 0.6029 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.3038, allocations: 135.9 kB / 0.603 GB, free: 8.641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.3043, allocations: 0.8184 MB / 0.6038 GB, free: 7.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.3046, allocations: 335.6 kB / 0.6042 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.3048, allocations: 287 kB / 0.6044 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.3051, allocations: 324.1 kB / 0.6047 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.3051, allocations: 76 kB / 0.6048 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.526e-05/0.3052, allocations: 72 kB / 0.6049 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3053, allocations: 179.4 kB / 0.6051 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.3055, allocations: 383 kB / 0.6054 GB, free: 6.195 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.306, allocations: 1.028 MB / 0.6064 GB, free: 5.164 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.306, allocations: 1.281 kB / 0.6064 GB, free: 5.164 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3061, allocations: 0 / 0.6064 GB, free: 5.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3061, allocations: 0 / 0.6064 GB, free: 5.164 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001055/0.3071, allocations: 0.9477 MB / 0.6074 GB, free: 4.172 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.3072, allocations: 12.03 kB / 0.6074 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.449e-05/0.3073, allocations: 77.34 kB / 0.6074 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.3077, allocations: 454.6 kB / 0.6079 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.3078, allocations: 37.38 kB / 0.6079 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.3078, allocations: 52.36 kB / 0.608 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.3084, allocations: 427.9 kB / 0.6084 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.3084, allocations: 1.406 kB / 0.6084 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.3085, allocations: 19.94 kB / 0.6084 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.3085, allocations: 12 kB / 0.6084 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/0.3091, allocations: 373.2 kB / 0.6088 GB, free: 2.699 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.3106, allocations: 1.513 MB / 0.6102 GB, free: 1.117 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.311, allocations: 338.6 kB / 0.6106 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.3114, allocations: 325.9 kB / 0.6109 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3114, allocations: 4 kB / 0.6109 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.3114, allocations: 39.91 kB / 0.6109 GB, free: 416 kB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.442e-06/0.3114, allocations: 0 / 0.6109 GB, free: 416 kB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007866/0.3122, allocations: 0.4944 MB / 0.6114 GB, free: 15.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.3123, allocations: 55.41 kB / 0.6114 GB, free: 15.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/0.3128, allocations: 488 kB / 0.6119 GB, free: 15.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.3129, allocations: 37.64 kB / 0.6119 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.313, allocations: 276.4 kB / 0.6122 GB, free: 15.03 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.3131, allocations: 146.7 kB / 0.6123 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.3132, allocations: 62.08 kB / 0.6124 GB, free: 14.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3134, allocations: 364.1 kB / 0.6128 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.3136, allocations: 120.7 kB / 0.6129 GB, free: 14.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.3139, allocations: 134.5 kB / 0.613 GB, free: 14.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/0.3143, allocations: 298.7 kB / 0.6133 GB, free: 13.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3144, allocations: 1 kB / 0.6133 GB, free: 13.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005929/0.3149, allocations: 389.4 kB / 0.6137 GB, free: 13.53 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.315, allocations: 8 kB / 0.6137 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.315, allocations: 0 / 0.6137 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.315, allocations: 1.438 kB / 0.6137 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.3155, allocations: 127.8 kB / 0.6138 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3155, allocations: 5.875 kB / 0.6138 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.3157, allocations: 39.58 kB / 0.6138 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.3157, allocations: 15.98 kB / 0.6138 GB, free: 13.34 MB / 462.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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001904/0.3159, allocations: 190.5 kB / 0.614 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.316, allocations: 57.84 kB / 0.6141 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.609e-05/0.3161, allocations: 65.08 kB / 0.6141 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3161, allocations: 4 kB / 0.6141 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3161, allocations: 0 / 0.6141 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3161, allocations: 3.984 kB / 0.6141 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.3167, allocations: 0.5713 MB / 0.6147 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3168, allocations: 0 / 0.6147 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.3173, allocations: 134.5 kB / 0.6148 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3173, allocations: 4 kB / 0.6148 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.3173, allocations: 8 kB / 0.6148 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3173, allocations: 8 kB / 0.6149 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3173, allocations: 0 / 0.6149 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009042/0.3182, allocations: 0.6469 MB / 0.6155 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.3183, allocations: 140.3 kB / 0.6156 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.3184, allocations: 11.94 kB / 0.6156 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.3186, allocations: 13.72 kB / 0.6156 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.3187, allocations: 23.95 kB / 0.6157 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.3187, allocations: 12 kB / 0.6157 GB, free: 11.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003515/0.3191, allocations: 347.9 kB / 0.616 GB, free: 11.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3191, allocations: 0 / 0.616 GB, free: 11.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.3194, allocations: 144.9 kB / 0.6161 GB, free: 10.89 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001308/0.3196, allocations: 119.9 kB / 0.6163 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.3201, allocations: 320.5 kB / 0.6166 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3202, allocations: 0.9062 kB / 0.6166 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.3204, allocations: 184.8 kB / 0.6167 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.321, allocations: 127.1 kB / 0.6169 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.3227, allocations: 1.192 MB / 0.618 GB, free: 8.969 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.3231, allocations: 0.8704 MB / 0.6189 GB, free: 8.074 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.3233, allocations: 44.41 kB / 0.6189 GB, free: 8.027 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.3234, allocations: 39.42 kB / 0.619 GB, free: 7.988 MB / 462.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3234, allocations: 3.938 kB / 0.619 GB, free: 7.984 MB / 462.1 MB Notification: Performance of Templates: time 0.009724/0.3331, allocations: 5.94 MB / 0.6248 GB, free: 2.207 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)