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.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.006681/0.00668, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001481/0.001481, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9123/0.9123, allocations: 143.3 MB / 433.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 64.16 kB / 0.5954 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1635, allocations: 82.04 MB / 0.6755 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002693/0.1663, allocations: 1.43 MB / 0.6769 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004635/0.1709, allocations: 2.888 MB / 0.6797 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.171, allocations: 0 / 0.6797 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.1711, allocations: 3.938 kB / 0.6797 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.1711, allocations: 19.84 kB / 0.6797 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.1752, allocations: 1.602 MB / 0.6813 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.1753, allocations: 47.66 kB / 0.6814 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.1754, allocations: 4 kB / 0.6814 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.34e-05/0.1754, allocations: 19.92 kB / 0.6814 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.865e-05/0.1754, allocations: 11.94 kB / 0.6814 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1755, allocations: 0 / 0.6814 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.1778, allocations: 1.529 MB / 0.6829 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.1779, allocations: 15.92 kB / 0.6829 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.1779, allocations: 19.88 kB / 0.6829 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.1794, allocations: 1.107 MB / 0.684 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1794, allocations: 0 / 0.684 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1794, allocations: 0 / 0.684 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.1794, allocations: 0 / 0.684 GB, free: 1.91 MB / 0.5137 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.0006695/0.1801, allocations: 0.5246 MB / 0.6845 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1801, allocations: 12.03 kB / 0.6845 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.1802, allocations: 106 kB / 0.6846 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.1803, allocations: 88.16 kB / 0.6847 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.1805, allocations: 254.3 kB / 0.685 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/0.1806, allocations: 154.9 kB / 0.6851 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.1806, allocations: 150.9 kB / 0.6852 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.405e-05/0.1807, allocations: 108.9 kB / 0.6853 GB, free: 436 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.479e-05/0.1808, allocations: 75.28 kB / 0.6854 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/0.1809, allocations: 150.6 kB / 0.6856 GB, free: 208 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.188e-05/0.1809, allocations: 154.6 kB / 0.6857 GB, free: 52 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.819e-05/0.181, allocations: 154.6 kB / 0.6859 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.1814, allocations: 465.9 kB / 0.6863 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.1815, allocations: 169.1 kB / 0.6865 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.1815, allocations: 84.14 kB / 0.6865 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.598e-05/0.1816, allocations: 83.22 kB / 0.6866 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/0.1817, allocations: 109.8 kB / 0.6867 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.1817, allocations: 0 / 0.6867 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.346e-05/0.1818, allocations: 33.66 kB / 0.6868 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.1818, allocations: 130.6 kB / 0.6869 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.182, allocations: 141.8 kB / 0.687 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.182, allocations: 29.64 kB / 0.687 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.1821, allocations: 88.09 kB / 0.6871 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-06/0.1821, allocations: 0 / 0.6871 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.1821, allocations: 29.75 kB / 0.6872 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.1823, allocations: 310.8 kB / 0.6875 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.1823, allocations: 8 kB / 0.6875 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.1823, allocations: 7.984 kB / 0.6875 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.039e-05/0.1824, allocations: 16.89 kB / 0.6875 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1824, allocations: 0 / 0.6875 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001363/0.1825, allocations: 49.7 kB / 0.6875 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1825, allocations: 7.938 kB / 0.6875 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.1826, allocations: 8 kB / 0.6875 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1826, allocations: 0 / 0.6875 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.856e-06/0.1826, allocations: 3.984 kB / 0.6876 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1826, allocations: 0 / 0.6876 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.1826, allocations: 7.953 kB / 0.6876 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.1827, allocations: 0 / 0.6876 GB, free: 14.02 MB / 0.5294 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.0001084/0.1828, allocations: 189.2 kB / 0.6877 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.1828, allocations: 112.9 kB / 0.6878 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.1829, allocations: 112.8 kB / 0.688 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.49e-05/0.183, allocations: 180.2 kB / 0.6881 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.85e-05/0.1831, allocations: 176.3 kB / 0.6883 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.838e-05/0.1832, allocations: 184.2 kB / 0.6885 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.1834, allocations: 417.2 kB / 0.6889 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.648e-05/0.1835, allocations: 108.9 kB / 0.689 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.1836, allocations: 105 kB / 0.6891 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-05/0.1836, allocations: 176.3 kB / 0.6892 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/0.1837, allocations: 180.2 kB / 0.6894 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-05/0.1838, allocations: 184.3 kB / 0.6896 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-05/0.1839, allocations: 184.2 kB / 0.6898 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1841, allocations: 303.8 kB / 0.6901 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.892e-05/0.1842, allocations: 190 kB / 0.6902 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/0.1843, allocations: 188.3 kB / 0.6904 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.1844, allocations: 108.9 kB / 0.6905 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.1845, allocations: 176.3 kB / 0.6907 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.1845, allocations: 105 kB / 0.6908 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.1e-05/0.1846, allocations: 109.5 kB / 0.6909 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1846, allocations: 0 / 0.6909 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008117/0.1854, allocations: 287 kB / 0.6912 GB, free: 10.1 MB / 0.5294 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.001492/0.1869, allocations: 1.182 MB / 0.6923 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.1871, allocations: 38.06 kB / 0.6924 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1871, allocations: 0 / 0.6924 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-06/0.1871, allocations: 3.938 kB / 0.6924 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.1875, allocations: 469.2 kB / 0.6928 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.1891, allocations: 1.603 MB / 0.6944 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1894, allocations: 0.6884 MB / 0.695 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.604e-05/0.1894, allocations: 3.984 kB / 0.695 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.1895, allocations: 15.42 kB / 0.6951 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.1895, allocations: 0 / 0.6951 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.2208, allocations: 7.123 MB / 0.702 GB, free: 15.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.52, allocations: 14.31 kB / 0.702 GB, free: 15.06 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)