Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001704/0.00171, allocations: 108 kB / 15.61 MB, free: 152 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.001902/0.001902, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.477/1.477, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002583/0.002584, allocations: 282.8 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.175/1.175, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00274/0.00274, allocations: 99.72 kB / 0.6066 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1668, allocations: 89.14 MB / 0.6937 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002896/0.1697, allocations: 1.43 MB / 0.6951 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004702/0.1744, allocations: 2.895 MB / 0.6979 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.1745, allocations: 0 / 0.6979 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.1746, allocations: 3.984 kB / 0.6979 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.1746, allocations: 19.8 kB / 0.6979 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00407/0.1787, allocations: 1.601 MB / 0.6995 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.154e-05/0.1788, allocations: 43.73 kB / 0.6995 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.1789, allocations: 0 / 0.6995 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.792e-05/0.1789, allocations: 11.94 kB / 0.6995 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.236e-05/0.1789, allocations: 19.86 kB / 0.6995 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.179, allocations: 4 kB / 0.6995 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.1812, allocations: 1.462 MB / 0.701 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.1812, allocations: 4 kB / 0.701 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.1812, allocations: 23.88 kB / 0.701 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.1827, allocations: 1.111 MB / 0.7021 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.1827, allocations: 4 kB / 0.7021 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1827, allocations: 3.938 kB / 0.7021 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.1827, allocations: 0 / 0.7021 GB, free: 11.54 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006293/0.1834, allocations: 0.5223 MB / 0.7026 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1834, allocations: 8.031 kB / 0.7026 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.1835, allocations: 106 kB / 0.7027 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.1836, allocations: 80.22 kB / 0.7028 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.1838, allocations: 255.4 kB / 0.703 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/0.1838, allocations: 150.9 kB / 0.7032 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.952e-05/0.1839, allocations: 150.9 kB / 0.7033 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.462e-05/0.184, allocations: 112.9 kB / 0.7034 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.184, allocations: 75.28 kB / 0.7035 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.1841, allocations: 162.5 kB / 0.7037 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.1841, allocations: 154.5 kB / 0.7038 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.912e-05/0.1842, allocations: 150.6 kB / 0.7039 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.1845, allocations: 465.9 kB / 0.7044 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.859e-05/0.1846, allocations: 169.1 kB / 0.7046 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.1847, allocations: 80.14 kB / 0.7046 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.1847, allocations: 83.16 kB / 0.7047 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.1848, allocations: 113.8 kB / 0.7048 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1848, allocations: 0 / 0.7048 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.771e-05/0.1849, allocations: 33.61 kB / 0.7048 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.1849, allocations: 130.7 kB / 0.705 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1851, allocations: 131.4 kB / 0.7051 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1851, allocations: 25.7 kB / 0.7051 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.1852, allocations: 96.12 kB / 0.7052 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.1852, allocations: 0 / 0.7052 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.1852, allocations: 17.72 kB / 0.7052 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1853, allocations: 314.8 kB / 0.7055 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.1854, allocations: 8 kB / 0.7055 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.1854, allocations: 11.94 kB / 0.7056 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.344e-05/0.1854, allocations: 16.86 kB / 0.7056 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1855, allocations: 0 / 0.7056 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000132/0.1856, allocations: 53.53 kB / 0.7056 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1856, allocations: 11.94 kB / 0.7056 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.1856, allocations: 64 / 0.7056 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1857, allocations: 8 kB / 0.7056 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.1857, allocations: 0 / 0.7056 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1857, allocations: 0 / 0.7056 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.1857, allocations: 0 / 0.7056 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1857, allocations: 64 / 0.7056 GB, free: 7.66 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 0.0001033/0.1858, allocations: 189.1 kB / 0.7058 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.1859, allocations: 116.8 kB / 0.7059 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.186, allocations: 112.9 kB / 0.706 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-05/0.186, allocations: 184.2 kB / 0.7062 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.472e-05/0.1861, allocations: 180.3 kB / 0.7064 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.856e-05/0.1862, allocations: 180.3 kB / 0.7066 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.1864, allocations: 421.1 kB / 0.707 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/0.1865, allocations: 105 kB / 0.7071 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.1865, allocations: 104.9 kB / 0.7072 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.851e-05/0.1866, allocations: 176.3 kB / 0.7073 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/0.1867, allocations: 180.3 kB / 0.7075 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.105e-05/0.1868, allocations: 188.2 kB / 0.7077 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.189e-05/0.1868, allocations: 184.3 kB / 0.7079 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.187, allocations: 307.6 kB / 0.7081 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.1871, allocations: 186.1 kB / 0.7083 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/0.1872, allocations: 188.2 kB / 0.7085 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.1873, allocations: 101 kB / 0.7086 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/0.1874, allocations: 184.2 kB / 0.7088 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.1874, allocations: 101 kB / 0.7089 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.455e-05/0.1875, allocations: 101.3 kB / 0.709 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1875, allocations: 3.938 kB / 0.709 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007565/0.1882, allocations: 283.8 kB / 0.7092 GB, free: 3.742 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 (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.001367/0.1896, allocations: 1.19 MB / 0.7104 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.1897, allocations: 45.69 kB / 0.7104 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1898, allocations: 0 / 0.7104 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.1898, allocations: 0 / 0.7104 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.1902, allocations: 455.7 kB / 0.7109 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1916, allocations: 1.601 MB / 0.7124 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.192, allocations: 0.6846 MB / 0.7131 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.457e-05/0.192, allocations: 4 kB / 0.7131 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.192, allocations: 12 kB / 0.7131 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.192, allocations: 0 / 0.7131 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.2217, allocations: 7.106 MB / 0.7201 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.338, allocations: 7.891 kB / 0.7201 GB, free: 8.719 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)