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.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.001138/0.001138, allocations: 108 kB / 15.6 MB, free: 132 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.001153/0.001152, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.387 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 0.928/0.928, allocations: 143 MB / 433.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 71.89 kB / 0.5143 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1507, allocations: 82.03 MB / 0.5945 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002595/0.1533, allocations: 1.384 MB / 0.5958 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.156, allocations: 1.775 MB / 0.5975 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.1561, allocations: 0 / 0.5975 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.67e-05/0.1562, allocations: 11.92 kB / 0.5975 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.1564, allocations: 23.83 kB / 0.5976 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.1592, allocations: 1.139 MB / 0.5987 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.1593, allocations: 51.72 kB / 0.5987 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.1593, allocations: 0 / 0.5987 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/0.1594, allocations: 23.91 kB / 0.5988 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.1595, allocations: 27.84 kB / 0.5988 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1595, allocations: 0 / 0.5988 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.1606, allocations: 0.8501 MB / 0.5996 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.1607, allocations: 31.91 kB / 0.5996 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.1607, allocations: 23.81 kB / 0.5997 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.1619, allocations: 0.7955 MB / 0.6004 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1619, allocations: 3.938 kB / 0.6004 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.162, allocations: 0 / 0.6004 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.162, allocations: 4 kB / 0.6005 GB, free: 3.25 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.000657/0.1626, allocations: 474.8 kB / 0.6009 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1627, allocations: 12.03 kB / 0.6009 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.1627, allocations: 34.73 kB / 0.6009 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.1627, allocations: 8.844 kB / 0.601 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.1629, allocations: 195.7 kB / 0.6011 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1629, allocations: 8.125 kB / 0.6012 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-06/0.1629, allocations: 0 / 0.6012 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.651e-05/0.163, allocations: 57.62 kB / 0.6012 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.163, allocations: 0 / 0.6012 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.1631, allocations: 0 / 0.6012 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1631, allocations: 0 / 0.6012 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.1631, allocations: 23.98 kB / 0.6012 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.1633, allocations: 193.6 kB / 0.6014 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.249e-05/0.1634, allocations: 54.5 kB / 0.6015 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.1634, allocations: 36.88 kB / 0.6015 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1634, allocations: 3.938 kB / 0.6015 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1635, allocations: 30.56 kB / 0.6015 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1635, allocations: 0 / 0.6015 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0001968/0.1637, allocations: 113.6 kB / 0.6016 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1637, allocations: 55.39 kB / 0.6017 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1639, allocations: 158.4 kB / 0.6018 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.1639, allocations: 25.7 kB / 0.6019 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.1639, allocations: 96.14 kB / 0.602 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.164, allocations: 31.55 kB / 0.602 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.164, allocations: 13.72 kB / 0.602 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.1641, allocations: 326.8 kB / 0.6023 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/0.1642, allocations: 27.98 kB / 0.6023 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.1642, allocations: 23.94 kB / 0.6024 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.042e-05/0.1643, allocations: 69.31 kB / 0.6024 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.1643, allocations: 8 kB / 0.6024 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001024/0.1644, allocations: 93.56 kB / 0.6025 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1644, allocations: 4 kB / 0.6025 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.1644, allocations: 0 / 0.6025 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1644, allocations: 0 / 0.6025 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-07/0.1644, allocations: 0 / 0.6025 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1645, allocations: 4 kB / 0.6025 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.1645, allocations: 0 / 0.6025 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1645, allocations: 0 / 0.6025 GB, free: 0.875 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 8.188e-05/0.1646, allocations: 133.8 kB / 0.6027 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.1646, allocations: 15.75 kB / 0.6027 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.1648, allocations: 106.3 kB / 0.6028 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1648, allocations: 0 / 0.6028 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1648, allocations: 0 / 0.6028 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1648, allocations: 0 / 0.6028 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.1649, allocations: 193.5 kB / 0.603 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.1649, allocations: 7.984 kB / 0.603 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1649, allocations: 0 / 0.603 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1649, allocations: 32 / 0.603 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.1649, allocations: 4 kB / 0.603 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1649, allocations: 0 / 0.603 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.165, allocations: 0 / 0.603 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.1651, allocations: 128.8 kB / 0.6031 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.1651, allocations: 81.02 kB / 0.6032 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1651, allocations: 0 / 0.6032 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/0.1652, allocations: 0 / 0.6032 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.1652, allocations: 7.938 kB / 0.6032 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.1652, allocations: 4.031 kB / 0.6032 GB, free: 104 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2253/0.3905, allocations: 123.1 kB / 0.6033 GB, free: 43.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.31e-07/0.3905, allocations: 0 / 0.6033 GB, free: 43.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006322/0.3911, allocations: 200.3 kB / 0.6035 GB, free: 43.83 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 (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.000854/0.392, allocations: 0.877 MB / 0.6044 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.3922, allocations: 101.9 kB / 0.6045 GB, free: 43.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3922, allocations: 0.5625 kB / 0.6045 GB, free: 43.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.853e-05/0.3922, allocations: 65.38 kB / 0.6045 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3924, allocations: 18.77 kB / 0.6045 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.3935, allocations: 1.585 MB / 0.6061 GB, free: 42.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.728e-05/0.3936, allocations: 0.7047 MB / 0.6068 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.788e-05/0.3936, allocations: 4.406 kB / 0.6068 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.3937, allocations: 23.83 kB / 0.6068 GB, free: 41.37 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.3937, allocations: 2 kB / 0.6068 GB, free: 41.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.4143, allocations: 5.998 MB / 0.6127 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/7.746, allocations: 11.55 kB / 0.6127 GB, free: 40.82 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)