Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.001123/0.001128, 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.001417/0.001417, allocations: 193.2 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002151/0.002151, allocations: 282.7 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9518/0.9518, allocations: 169.3 MB / 0.4982 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 98.19 kB / 0.5954 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1585, allocations: 86.98 MB / 0.6803 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002485/0.161, allocations: 1.425 MB / 0.6817 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003773/0.1648, allocations: 2.845 MB / 0.6845 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.1648, allocations: 4 kB / 0.6845 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.1649, allocations: 0 / 0.6845 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.1649, allocations: 15.84 kB / 0.6845 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.1682, allocations: 1.551 MB / 0.686 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.598e-05/0.1683, allocations: 35.8 kB / 0.6861 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.1683, allocations: 8 kB / 0.6861 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.1683, allocations: 19.91 kB / 0.6861 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.056e-05/0.1684, allocations: 11.88 kB / 0.6861 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1684, allocations: 7.938 kB / 0.6861 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.1703, allocations: 1.42 MB / 0.6875 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.1704, allocations: 3.984 kB / 0.6875 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.1704, allocations: 23.86 kB / 0.6875 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.1717, allocations: 1.068 MB / 0.6886 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1717, allocations: 0 / 0.6886 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1717, allocations: 0 / 0.6886 GB, free: 8.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1717, allocations: 4 kB / 0.6886 GB, free: 8.066 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005245/0.1722, allocations: 0.5107 MB / 0.6891 GB, free: 7.508 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1723, allocations: 12.03 kB / 0.6891 GB, free: 7.496 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.1723, allocations: 118 kB / 0.6892 GB, free: 7.371 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.656e-05/0.1724, allocations: 80.12 kB / 0.6893 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1726, allocations: 243.6 kB / 0.6895 GB, free: 7.016 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.1726, allocations: 158.9 kB / 0.6897 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.1727, allocations: 154.9 kB / 0.6898 GB, free: 6.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.164e-05/0.1727, allocations: 108.9 kB / 0.6899 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.1728, allocations: 79.22 kB / 0.69 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.1728, allocations: 154.5 kB / 0.6901 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-05/0.1729, allocations: 150.6 kB / 0.6903 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.279e-05/0.1729, allocations: 154.6 kB / 0.6904 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.1732, allocations: 465.9 kB / 0.6909 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.608e-05/0.1733, allocations: 177.2 kB / 0.691 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.1733, allocations: 88.06 kB / 0.6911 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.1734, allocations: 87.16 kB / 0.6912 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.1734, allocations: 105.8 kB / 0.6913 GB, free: 5.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1734, allocations: 0 / 0.6913 GB, free: 5.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.635e-05/0.1735, allocations: 33.61 kB / 0.6913 GB, free: 5.047 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.1736, allocations: 126.7 kB / 0.6915 GB, free: 4.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1737, allocations: 132.2 kB / 0.6916 GB, free: 4.773 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.1737, allocations: 25.7 kB / 0.6916 GB, free: 4.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.1738, allocations: 100 kB / 0.6917 GB, free: 4.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.1738, allocations: 0 / 0.6917 GB, free: 4.641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.1738, allocations: 21.7 kB / 0.6917 GB, free: 4.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1739, allocations: 310.8 kB / 0.692 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.174, allocations: 11.94 kB / 0.692 GB, free: 4.289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.174, allocations: 7.984 kB / 0.6921 GB, free: 4.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.174, allocations: 12.86 kB / 0.6921 GB, free: 4.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.174, allocations: 0 / 0.6921 GB, free: 4.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001206/0.1741, allocations: 45.7 kB / 0.6921 GB, free: 4.215 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1742, allocations: 8 kB / 0.6921 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.1742, allocations: 3.984 kB / 0.6921 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1742, allocations: 4 kB / 0.6921 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.1742, allocations: 0 / 0.6921 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1742, allocations: 0 / 0.6921 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.1742, allocations: 3.906 kB / 0.6921 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1743, allocations: 0 / 0.6921 GB, free: 4.195 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 8.71e-05/0.1743, allocations: 193.7 kB / 0.6923 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.1744, allocations: 108.9 kB / 0.6924 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.1745, allocations: 112.8 kB / 0.6925 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.299e-05/0.1745, allocations: 180.2 kB / 0.6927 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.775e-05/0.1746, allocations: 176.3 kB / 0.6929 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.942e-05/0.1747, allocations: 188.2 kB / 0.693 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.1749, allocations: 413.2 kB / 0.6934 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.512e-05/0.175, allocations: 109 kB / 0.6935 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.175, allocations: 104.9 kB / 0.6936 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.335e-05/0.1751, allocations: 180.2 kB / 0.6938 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.08e-05/0.1752, allocations: 184.2 kB / 0.694 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.408e-05/0.1752, allocations: 184.3 kB / 0.6942 GB, free: 1.965 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.316e-05/0.1753, allocations: 180.3 kB / 0.6943 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.1754, allocations: 323.6 kB / 0.6946 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.199e-05/0.1755, allocations: 189.9 kB / 0.6948 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.1756, allocations: 176.3 kB / 0.695 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.1757, allocations: 105 kB / 0.6951 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.1758, allocations: 184.2 kB / 0.6953 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.1758, allocations: 105 kB / 0.6954 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.1759, allocations: 101.6 kB / 0.6955 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1759, allocations: 0 / 0.6955 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005973/0.1765, allocations: 271.8 kB / 0.6957 GB, free: 288 kB / 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 (0): * Single equations (assignments): 0 * 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.001218/0.1777, allocations: 1.165 MB / 0.6969 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.407e-05/0.1778, allocations: 37.69 kB / 0.6969 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1778, allocations: 0 / 0.6969 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-06/0.1778, allocations: 4 kB / 0.6969 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.1782, allocations: 459.8 kB / 0.6973 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1795, allocations: 1.568 MB / 0.6989 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.1797, allocations: 0.6884 MB / 0.6995 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.145e-05/0.1797, allocations: 0 / 0.6995 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.1798, allocations: 19.42 kB / 0.6996 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1798, allocations: 3.938 kB / 0.6996 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.2041, allocations: 6.876 MB / 0.7063 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/7.672, allocations: 11.08 kB / 0.7063 GB, free: 5.531 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)