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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.006539/0.006539, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001552/0.001553, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.9209/0.9209, allocations: 143.3 MB / 433.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 78.86 kB / 0.5954 GB, free: 12.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1911, allocations: 82.03 MB / 0.6755 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00313/0.1942, allocations: 1.425 MB / 0.6769 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005816/0.2001, allocations: 2.856 MB / 0.6797 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.2002, allocations: 0 / 0.6797 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.2004, allocations: 3.938 kB / 0.6797 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.541e-05/0.2005, allocations: 15.84 kB / 0.6797 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004342/0.2048, allocations: 1.569 MB / 0.6812 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2049, allocations: 35.8 kB / 0.6813 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.205, allocations: 8 kB / 0.6813 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.205, allocations: 15.92 kB / 0.6813 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.512e-05/0.2051, allocations: 23.86 kB / 0.6813 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2051, allocations: 0 / 0.6813 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/0.2076, allocations: 1.482 MB / 0.6828 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.2076, allocations: 8 kB / 0.6828 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.2076, allocations: 15.88 kB / 0.6828 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.2092, allocations: 1.083 MB / 0.6838 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2093, allocations: 3.984 kB / 0.6838 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2093, allocations: 4 kB / 0.6839 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.2093, allocations: 0 / 0.6839 GB, free: 2.109 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.0006732/0.21, allocations: 0.5208 MB / 0.6844 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.21, allocations: 12.03 kB / 0.6844 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.402e-05/0.2101, allocations: 110 kB / 0.6845 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.2102, allocations: 80.17 kB / 0.6846 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.2104, allocations: 250.2 kB / 0.6848 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.2105, allocations: 154.9 kB / 0.6849 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.2106, allocations: 162.9 kB / 0.6851 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.176e-05/0.2107, allocations: 104.9 kB / 0.6852 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/0.2107, allocations: 75.28 kB / 0.6853 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.21e-05/0.2108, allocations: 154.5 kB / 0.6854 GB, free: 412 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.6e-05/0.2109, allocations: 150.6 kB / 0.6856 GB, free: 260 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.2109, allocations: 154.6 kB / 0.6857 GB, free: 104 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.2113, allocations: 461.9 kB / 0.6861 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.2114, allocations: 165.1 kB / 0.6863 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.2115, allocations: 88.08 kB / 0.6864 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.2115, allocations: 83.22 kB / 0.6865 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.366e-05/0.2116, allocations: 109.8 kB / 0.6866 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2116, allocations: 0 / 0.6866 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.654e-05/0.2117, allocations: 37.64 kB / 0.6866 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.2118, allocations: 126.7 kB / 0.6867 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.212, allocations: 125.8 kB / 0.6868 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.212, allocations: 25.7 kB / 0.6869 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.2121, allocations: 100.1 kB / 0.687 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.2121, allocations: 0 / 0.687 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.2121, allocations: 13.72 kB / 0.687 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2123, allocations: 318.8 kB / 0.6873 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.2123, allocations: 4 kB / 0.6873 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/0.2123, allocations: 11.88 kB / 0.6873 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/0.2124, allocations: 16.91 kB / 0.6873 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2124, allocations: 0 / 0.6873 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000128/0.2125, allocations: 57.61 kB / 0.6874 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2125, allocations: 8 kB / 0.6874 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.2126, allocations: 0 / 0.6874 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.2126, allocations: 4 kB / 0.6874 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.2126, allocations: 0 / 0.6874 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2126, allocations: 0 / 0.6874 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.2126, allocations: 0 / 0.6874 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.2127, allocations: 0 / 0.6874 GB, free: 14.25 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.0001257/0.2128, allocations: 196.3 kB / 0.6876 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.737e-05/0.2129, allocations: 116.9 kB / 0.6877 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.2129, allocations: 112.9 kB / 0.6878 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.953e-05/0.213, allocations: 180.2 kB / 0.688 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-05/0.2131, allocations: 176.3 kB / 0.6881 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.411e-05/0.2132, allocations: 180.3 kB / 0.6883 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.2135, allocations: 425.1 kB / 0.6887 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.551e-05/0.2136, allocations: 105 kB / 0.6888 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.2136, allocations: 104.9 kB / 0.6889 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.091e-05/0.2137, allocations: 176.3 kB / 0.6891 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.304e-05/0.2138, allocations: 184.2 kB / 0.6893 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.989e-05/0.2139, allocations: 184.2 kB / 0.6894 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.018e-05/0.214, allocations: 180.3 kB / 0.6896 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.2142, allocations: 311.7 kB / 0.6899 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.2143, allocations: 190 kB / 0.6901 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2144, allocations: 180.3 kB / 0.6902 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.2145, allocations: 109 kB / 0.6904 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.618e-05/0.2146, allocations: 180.2 kB / 0.6905 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.2146, allocations: 105 kB / 0.6906 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.991e-05/0.2147, allocations: 101.4 kB / 0.6907 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2147, allocations: 0 / 0.6907 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009014/0.2156, allocations: 279 kB / 0.691 GB, free: 10.33 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.001434/0.2171, allocations: 1.172 MB / 0.6921 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.2172, allocations: 37.7 kB / 0.6922 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2172, allocations: 0 / 0.6922 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.749e-06/0.2172, allocations: 4.359 kB / 0.6922 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.2176, allocations: 471.6 kB / 0.6926 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.2191, allocations: 1.575 MB / 0.6942 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.2195, allocations: 0.6807 MB / 0.6948 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.583e-05/0.2195, allocations: 32 / 0.6948 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.2195, allocations: 19.44 kB / 0.6948 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.2195, allocations: 0 / 0.6948 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.2518, allocations: 6.94 MB / 0.7016 GB, free: 15.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/8.68, allocations: 3.5 kB / 0.7016 GB, free: 15.52 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)