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_TwoUTube.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001736/0.001735, allocations: 172.7 kB / 15.95 MB, free: 208 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.51/1.51, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.061/1.061, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 12 kB / 0.5162 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1881, allocations: 83.41 MB / 0.5976 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001682/0.1898, allocations: 1.084 MB / 0.5987 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002786/0.1926, allocations: 1.644 MB / 0.6003 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.1927, allocations: 0 / 0.6003 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.1928, allocations: 7.922 kB / 0.6003 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.193, allocations: 27.89 kB / 0.6003 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.1957, allocations: 0.9242 MB / 0.6012 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1959, allocations: 67.75 kB / 0.6013 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.1959, allocations: 3.938 kB / 0.6013 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.196, allocations: 43.89 kB / 0.6013 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.1961, allocations: 31.92 kB / 0.6013 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1961, allocations: 3.938 kB / 0.6014 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.1975, allocations: 0.6747 MB / 0.602 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.742e-05/0.1977, allocations: 67.8 kB / 0.6021 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.778e-05/0.1977, allocations: 53.52 kB / 0.6021 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009221/0.1986, allocations: 0.5461 MB / 0.6027 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1987, allocations: 4 kB / 0.6027 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1987, allocations: 0 / 0.6027 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1987, allocations: 0 / 0.6027 GB, free: 2.449 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007575/0.1994, allocations: 0.576 MB / 0.6032 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1995, allocations: 8.031 kB / 0.6032 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.1995, allocations: 42.55 kB / 0.6033 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.1996, allocations: 23.67 kB / 0.6033 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.1998, allocations: 213.7 kB / 0.6035 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1998, allocations: 3.984 kB / 0.6035 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.1999, allocations: 0 / 0.6035 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.2, allocations: 105.7 kB / 0.6036 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2, allocations: 0 / 0.6036 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.2001, allocations: 4 kB / 0.6036 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2001, allocations: 0 / 0.6036 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.175e-05/0.2002, allocations: 83.86 kB / 0.6037 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.2005, allocations: 273.8 kB / 0.604 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.2006, allocations: 122.5 kB / 0.6041 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.759e-05/0.2007, allocations: 116.8 kB / 0.6042 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2007, allocations: 0 / 0.6042 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.2007, allocations: 30.56 kB / 0.6042 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 9.02e-07/0.2008, allocations: 0 / 0.6042 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0003766/0.2011, allocations: 337.8 kB / 0.6045 GB, free: 360 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.2012, allocations: 51.41 kB / 0.6046 GB, free: 296 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.2014, allocations: 260.9 kB / 0.6048 GB, free: 28 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.3904/0.5918, allocations: 25.7 kB / 0.6049 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/0.592, allocations: 120.6 kB / 0.605 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/0.5921, allocations: 101.7 kB / 0.6051 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.5921, allocations: 1.812 kB / 0.6051 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.5922, allocations: 342.6 kB / 0.6054 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.5922, allocations: 72.3 kB / 0.6055 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-05/0.5923, allocations: 79.06 kB / 0.6055 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.5925, allocations: 100.2 kB / 0.6056 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5925, allocations: 0.7812 kB / 0.6056 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002445/0.5927, allocations: 234.1 kB / 0.6059 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5927, allocations: 3.688 kB / 0.6059 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.5928, allocations: 2.969 kB / 0.6059 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5928, allocations: 1.156 kB / 0.6059 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.5928, allocations: 0 / 0.6059 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.5928, allocations: 0 / 0.6059 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.5929, allocations: 16.81 kB / 0.6059 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.5929, allocations: 0 / 0.6059 GB, free: 40.43 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 0.000103/0.593, allocations: 156.3 kB / 0.606 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.593, allocations: 26.17 kB / 0.6061 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.5933, allocations: 253.2 kB / 0.6063 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5933, allocations: 0.9375 kB / 0.6063 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.5933, allocations: 0 / 0.6063 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.5933, allocations: 0 / 0.6063 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.5935, allocations: 281.4 kB / 0.6066 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5935, allocations: 3.938 kB / 0.6066 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.5935, allocations: 3.656 kB / 0.6066 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5935, allocations: 0.5 kB / 0.6066 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.5935, allocations: 3.469 kB / 0.6066 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5935, allocations: 1.031 kB / 0.6066 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5935, allocations: 1.531 kB / 0.6066 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.5937, allocations: 263.7 kB / 0.6068 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.5937, allocations: 98.58 kB / 0.6069 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.5938, allocations: 7.547 kB / 0.6069 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.49e-05/0.5938, allocations: 0 / 0.6069 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.5938, allocations: 0 / 0.6069 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.5938, allocations: 4.922 kB / 0.6069 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001199/0.594, allocations: 189.6 kB / 0.6071 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.594, allocations: 0 / 0.6071 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005552/0.5945, allocations: 208.4 kB / 0.6073 GB, free: 39.79 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.0009606/0.5955, allocations: 1.023 MB / 0.6083 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002659/0.5958, allocations: 259.6 kB / 0.6086 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5958, allocations: 2.625 kB / 0.6086 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.5959, allocations: 183 kB / 0.6087 GB, free: 39.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.5962, allocations: 18.28 kB / 0.6088 GB, free: 39.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.5977, allocations: 1.58 MB / 0.6103 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.5978, allocations: 0.7671 MB / 0.611 GB, free: 37.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.5979, allocations: 0.6094 kB / 0.611 GB, free: 37.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.5979, allocations: 62.61 kB / 0.6111 GB, free: 37.85 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.5979, allocations: 0 / 0.6111 GB, free: 37.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.615, allocations: 7.45 MB / 0.6184 GB, free: 37.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.6152, allocations: 285.5 kB / 0.6187 GB, free: 37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.625, allocations: 3.75 kB / 0.6187 GB, free: 37 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) Environment - environmentSimulation: