Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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.00138/0.00138, allocations: 108 kB / 15.61 MB, free: 148 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.001542/0.001542, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 275.2 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9588/0.9588, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 91.42 kB / 0.5954 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1407, allocations: 86.98 MB / 0.6803 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002398/0.1431, allocations: 1.355 MB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002596/0.1458, allocations: 1.787 MB / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.1458, allocations: 0 / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.811e-05/0.1459, allocations: 11.92 kB / 0.6834 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.1461, allocations: 24.56 kB / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.1486, allocations: 1.155 MB / 0.6846 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.823e-05/0.1487, allocations: 47.78 kB / 0.6846 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.1488, allocations: 288 / 0.6846 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.1488, allocations: 23.86 kB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.1489, allocations: 31.91 kB / 0.6847 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1489, allocations: 3.938 kB / 0.6847 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.15, allocations: 0.8501 MB / 0.6855 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.1501, allocations: 27.91 kB / 0.6855 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.1501, allocations: 27.81 kB / 0.6856 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000839/0.1509, allocations: 0.7951 MB / 0.6863 GB, free: 10.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.151, allocations: 0 / 0.6863 GB, free: 10.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.151, allocations: 0 / 0.6863 GB, free: 10.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.151, allocations: 0 / 0.6863 GB, free: 10.41 MB / 494.1 MB 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.0004762/0.1515, allocations: 482.9 kB / 0.6868 GB, free: 9.895 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1515, allocations: 12.03 kB / 0.6868 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.1515, allocations: 34.75 kB / 0.6868 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.1516, allocations: 8.844 kB / 0.6869 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.1517, allocations: 189.8 kB / 0.687 GB, free: 9.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1517, allocations: 8.062 kB / 0.687 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.1518, allocations: 0 / 0.687 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.637e-05/0.1519, allocations: 53.69 kB / 0.6871 GB, free: 9.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1519, allocations: 0 / 0.6871 GB, free: 9.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.1519, allocations: 0 / 0.6871 GB, free: 9.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1519, allocations: 4 kB / 0.6871 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/0.1519, allocations: 27.98 kB / 0.6871 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.1521, allocations: 181.7 kB / 0.6873 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.727e-05/0.1522, allocations: 54.44 kB / 0.6874 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.1522, allocations: 32.88 kB / 0.6874 GB, free: 9.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1522, allocations: 4 kB / 0.6874 GB, free: 9.184 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.1523, allocations: 30.56 kB / 0.6874 GB, free: 9.145 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.1523, allocations: 4 kB / 0.6874 GB, free: 9.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001836/0.1525, allocations: 117.7 kB / 0.6875 GB, free: 9.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.1525, allocations: 51.41 kB / 0.6876 GB, free: 8.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.1526, allocations: 157.6 kB / 0.6877 GB, free: 8.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.1526, allocations: 25.7 kB / 0.6878 GB, free: 8.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.1527, allocations: 96.12 kB / 0.6878 GB, free: 8.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.1527, allocations: 35.48 kB / 0.6879 GB, free: 8.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.1528, allocations: 13.72 kB / 0.6879 GB, free: 8.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.1529, allocations: 330.8 kB / 0.6882 GB, free: 8.273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.1529, allocations: 27.98 kB / 0.6882 GB, free: 8.246 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.1529, allocations: 20 kB / 0.6883 GB, free: 8.227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.153, allocations: 65.14 kB / 0.6883 GB, free: 8.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.153, allocations: 0 / 0.6883 GB, free: 8.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001032/0.1531, allocations: 97.56 kB / 0.6884 GB, free: 8.059 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.1531, allocations: 4 kB / 0.6884 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1531, allocations: 0 / 0.6884 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1532, allocations: 0 / 0.6884 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1532, allocations: 4 kB / 0.6884 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1532, allocations: 7.938 kB / 0.6884 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.1532, allocations: 4 kB / 0.6884 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1532, allocations: 0 / 0.6884 GB, free: 8.039 MB / 494.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 7.616e-05/0.1533, allocations: 126.4 kB / 0.6885 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.1533, allocations: 7.906 kB / 0.6886 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.1535, allocations: 118.1 kB / 0.6887 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1535, allocations: 0 / 0.6887 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1535, allocations: 0 / 0.6887 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1535, allocations: 4.031 kB / 0.6887 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.1536, allocations: 189.6 kB / 0.6889 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1536, allocations: 0 / 0.6889 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-06/0.1536, allocations: 7.984 kB / 0.6889 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1536, allocations: 0 / 0.6889 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.1536, allocations: 4 kB / 0.6889 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1537, allocations: 0 / 0.6889 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1537, allocations: 3.984 kB / 0.6889 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.1538, allocations: 124.9 kB / 0.689 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.1538, allocations: 89.02 kB / 0.6891 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1538, allocations: 0 / 0.6891 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.1539, allocations: 0 / 0.6891 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.1539, allocations: 4 kB / 0.6891 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.1539, allocations: 0 / 0.6891 GB, free: 7.273 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.432e-05/0.154, allocations: 119.2 kB / 0.6892 GB, free: 7.156 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.154, allocations: 0 / 0.6892 GB, free: 7.156 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004585/0.1544, allocations: 199.9 kB / 0.6894 GB, free: 6.961 MB / 494.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 (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.0008959/0.1553, allocations: 0.901 MB / 0.6903 GB, free: 6.031 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.1555, allocations: 89.67 kB / 0.6903 GB, free: 5.938 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1555, allocations: 4 kB / 0.6904 GB, free: 5.934 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.336e-05/0.1556, allocations: 65.69 kB / 0.6904 GB, free: 5.863 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.1558, allocations: 10.78 kB / 0.6904 GB, free: 5.855 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1571, allocations: 1.599 MB / 0.692 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.1574, allocations: 0.7041 MB / 0.6927 GB, free: 3.449 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.788e-05/0.1574, allocations: 3.984 kB / 0.6927 GB, free: 3.445 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.1574, allocations: 18.06 kB / 0.6927 GB, free: 3.43 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1574, allocations: 8 kB / 0.6927 GB, free: 3.422 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.1798, allocations: 5.962 MB / 0.6985 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.333/7.512, allocations: 15.55 kB / 0.6985 GB, free: 13.66 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)