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.MultipoleThermalResistances_OneUTube.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001564/0.001564, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.026/1.026, allocations: 143.3 MB / 434.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 11.98 kB / 0.5159 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2033, allocations: 83.41 MB / 0.5973 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001371/0.2047, allocations: 1.068 MB / 0.5984 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002271/0.207, allocations: 1.621 MB / 0.6 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.207, allocations: 0 / 0.6 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.023e-05/0.2071, allocations: 7.984 kB / 0.6 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.6e-05/0.2072, allocations: 27.89 kB / 0.6 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.2091, allocations: 0.9029 MB / 0.6009 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.454e-05/0.2092, allocations: 35.89 kB / 0.6009 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.2092, allocations: 3.984 kB / 0.6009 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.602e-05/0.2093, allocations: 27.84 kB / 0.601 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.072e-05/0.2093, allocations: 15.94 kB / 0.601 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.2094, allocations: 0 / 0.601 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008548/0.2102, allocations: 0.6357 MB / 0.6016 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.2103, allocations: 23.98 kB / 0.6016 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.2103, allocations: 37.64 kB / 0.6016 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.2109, allocations: 0.4955 MB / 0.6021 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2109, allocations: 3.938 kB / 0.6021 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2109, allocations: 4 kB / 0.6021 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.2109, allocations: 0 / 0.6021 GB, free: 2.863 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005471/0.2115, allocations: 466.8 kB / 0.6026 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2115, allocations: 12.03 kB / 0.6026 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.2116, allocations: 11.86 kB / 0.6026 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.2118, allocations: 187.4 kB / 0.6028 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.2118, allocations: 4 kB / 0.6028 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.2118, allocations: 0 / 0.6028 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.2119, allocations: 53.67 kB / 0.6028 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2119, allocations: 0 / 0.6028 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.2119, allocations: 3.938 kB / 0.6028 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.212, allocations: 0 / 0.6028 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.405e-05/0.212, allocations: 27.95 kB / 0.6029 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.2122, allocations: 193.6 kB / 0.6031 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.251e-05/0.2123, allocations: 50.5 kB / 0.6031 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.2123, allocations: 4.031 kB / 0.6031 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.2123, allocations: 30.56 kB / 0.6031 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.2123, allocations: 0 / 0.6031 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002394/0.2126, allocations: 202.6 kB / 0.6033 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.2126, allocations: 55.41 kB / 0.6034 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.2127, allocations: 160.4 kB / 0.6035 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.2128, allocations: 29.73 kB / 0.6036 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.2128, allocations: 92.14 kB / 0.6037 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.2128, allocations: 31.58 kB / 0.6037 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.2129, allocations: 0 / 0.6037 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.213, allocations: 322.8 kB / 0.604 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-05/0.213, allocations: 27.98 kB / 0.604 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-05/0.213, allocations: 16 kB / 0.604 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.888e-05/0.2131, allocations: 31.98 kB / 0.6041 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2131, allocations: 0 / 0.6041 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001037/0.2132, allocations: 97.75 kB / 0.6042 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2132, allocations: 4 kB / 0.6042 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.2132, allocations: 4 kB / 0.6042 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2132, allocations: 0 / 0.6042 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.2133, allocations: 0 / 0.6042 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2133, allocations: 0 / 0.6042 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.109e-05/0.2133, allocations: 7.906 kB / 0.6042 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.2133, allocations: 3.953 kB / 0.6042 GB, free: 0.5391 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.721e-05/0.2134, allocations: 125.8 kB / 0.6043 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.2134, allocations: 15.92 kB / 0.6043 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.2136, allocations: 98.39 kB / 0.6044 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2136, allocations: 4 kB / 0.6044 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2136, allocations: 0 / 0.6044 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2136, allocations: 3.984 kB / 0.6044 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.2138, allocations: 197.5 kB / 0.6046 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2138, allocations: 0 / 0.6046 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-07/0.2138, allocations: 0 / 0.6046 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2138, allocations: 0 / 0.6046 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.2138, allocations: 0 / 0.6046 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2138, allocations: 4.031 kB / 0.6046 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2138, allocations: 4 kB / 0.6046 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3468/0.5606, allocations: 118.9 kB / 0.6047 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.5607, allocations: 87.34 kB / 0.6048 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.5607, allocations: 0.5625 kB / 0.6048 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-05/0.5608, allocations: 3.625 kB / 0.6048 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.5608, allocations: 1.125 kB / 0.6048 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.5608, allocations: 1.375 kB / 0.6048 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.166e-05/0.5609, allocations: 122.1 kB / 0.6049 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5609, allocations: 0 / 0.6049 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007132/0.5616, allocations: 200.5 kB / 0.6051 GB, free: 40.52 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000615/0.5623, allocations: 322.2 kB / 0.6054 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.5624, allocations: 97.92 kB / 0.6055 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5624, allocations: 0 / 0.6055 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.553e-05/0.5625, allocations: 68.12 kB / 0.6056 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.5627, allocations: 18.91 kB / 0.6056 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.563, allocations: 247.6 kB / 0.6058 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.5631, allocations: 0.7039 MB / 0.6065 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.918e-05/0.5632, allocations: 4.281 kB / 0.6065 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.105e-05/0.5632, allocations: 7.438 kB / 0.6065 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.5632, allocations: 1.219 kB / 0.6065 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.007033/0.5702, allocations: 4.269 MB / 0.6107 GB, free: 39.28 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) Environment - environmentSimulation: